登录
首页 » C# » 仿QQ的Menu菜单效果示例源码下载

仿QQ的Menu菜单效果示例源码下载

于 2013-10-02 发布
0 136
下载积分: 1 下载次数: 0

代码说明:

仿QQ的Menu菜单效果示例源码下载

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • NS3仿真软件与外部通信(code.cc)
    NS3仿真软件与外部通信
    2021-05-06下载
    积分:1
  • C# 加密解密例子源码下载( DES、3DES、TDEA、Blowfish、RC2、RC4、RC5、IDEA、SKIPJACK、AES )
    C# 加密解密例子源码下载( DES、3DES、TDEA、Blowfish、RC2、RC4、RC5、IDEA、SKIPJACK、AES )
    2015-06-01下载
    积分:1
  • 创建Excel文件并保存-例1(Excel入门级源码).zip
    创建Excel文件并保存-例1(Excel入门级源码).zip
    2019-08-07下载
    积分:1
  • C#程序设计经典案例设计与实现
    《Visual C# 2008程序设计经典案例设计与实现》源码下载 第1章 Visual C#2008与窗体界面案例1 飘动动画窗体案例2 透明动画窗体案例3 利用API函数实现动画窗体案例4 闪烁动画窗体案例5 滚动字幕动画窗体案例6 超女卡通窗体案例7 总在最前的登录窗体案例8 在屏幕中央的圓形窗体案例9 半透明的T形窗体案例10 多文档MDI窗体案例11 渐变色窗体案例12 笑脸窗体案例13 八边形图形窗体本章小结第2章 Visual C# 2008与图形图像案例1 动态绘制直线和曲线案例2 动态绘制验证码案例3 椭圓及椭圆弧的绘制案例4 移动鼠标复制坐标区域图像案例5 动态获取当前程序的图标案例6 动态获取系统图标案例7 动态打开、显示和缩放图像案例8 在图像上动态加载文字案例9 水平和垂直遮罩图像动画效果案例10 图像拉伸动画效果案例11 百叶窗图像动画效果案例12 翻转和扩展图像动画效果案例13 图像的纹理和浮雕效果案例14 图像的马赛克效果本章小结第3章 Visual C#2008与多媒体案例1 抛物线动画效果案例2 图像滚动动画效果案例3 飞舞的雪花案例4 电子时钟案例5 Flash动画播放器案例6 AvI动画播放器案例7 GⅣ动画播放器案例8 MP3音乐播放器案例9 肥皂泡泡屏幕保护程序案例1O 图像随机显示屏幕保护程序案例11 滚动字幕屏幕保护程序案例12 带有背景音乐的随机字幕屏幕保护程序案例13 托盘动画图标程序本章小结第4章 Visual C#2006与数据库案例1 利用DataGridView控件显示数据库信息案例2 数据库数据记录单案例3 利用下拉列表框动态查询数据库信息案例4 利用ListView控件导航数据库信息案例5 带有数据库的会员登录系统案例6 动态添加数据库数据信息案例7 动态修改数据库数据信息案例8 动态删除数据库数据信息案例9 带有图像信息的数据库数据记录单案例10 分页显示数据库中的记录数据信息案例11 连接Excel 2008表格案例12 连接SQL Server数据库本章小结第5章 Visual C#2008的SQL查询与图表技朮案例1 多表连接条件查询案例2 分组条件查询案例3 排序查询案例4 嵌套查询案例5 视图在Select查询语句中的应用案例6 存储过程在Select查询语句中的应用案例7 动态获取数据库中所有视图和存储过程案例8 柱状图表分析图案例9 柱状图表的升序和降序案例10 折线图表分析图案例11 多折线图表分析图案例12 饼形图表分析图本章小结第6章 Visualc#2008的打印与水晶报表技术案例1 利用Windows组件打印数据库中的数据案例2 利用Windows组件打印数据库数据柱状图表案例3 利用Windows组件打印输出图像案例4 调用Word软件打印数据库中的数据案例5 调用Excel软件打印数据库中的数据案例6 利用水晶报表打印数据库中的数据案例7 利用水晶报表分组统计数据库中的数据案例8 利用水晶报表筛选数据库中的数据案例9 图表在水晶报表中的应用本章小结第7章 VisualC#2008与Windows系统设置案例1 任务栏的显示与隐藏案例2 开始按钮的显示与隐藏案例3 动态设置系统输入法案例4 动态设置桌面颜色案例5 动态设置鼠标的属性案例6 动态获取鼠标位置案例7 声卡的检测及声音,音频设备属性的设置案例8 只能运行一次的托盘程序案例9 动态设置程序是否为开机运行案例10 动态设置注册表是否可运行案例11 禁止修改IE浏览器的主页案例12 动态锁定计算机案例13 计算机的注销、关闭和重新启动案例14 动态获取计算机系统基本信息本章小结第8章 VisualC#2008与文件案例1 动态创建文件并输入文件内容案例2 动态打开和保存文件案例3 动态删除文件及清空回收站案例4 动态创建和删除文件夹及显示其是否存在案例5 动态获取文件夹中的文件案例6 动态搜索文件或文件夹案例7 动态显示磁盘容量图表案例8 动态移动文件案例9 动态复制文件案例1O 动态调用可执行EXE文件案例11 动态查看和修改文件属性案例12 动态比较文件本章小结第9章 VisualC#2008算法及控件的应用案例1 利用冒泡算法实现从小到大排序案例2 利用希尔算法实现从大到小排序案例3 判断主机IP合法性算法案例4 欧几里德最大公因子算法案例5 字符串的加密算法案例6 随机生成新身份证算法案例7 利用ListBox控件实现数据源字段的选择案例8 利用LislNiew控件实现图标的管理案例9 利用TreeView控件浏览图像案例10 利用ProgressBar控件实现进度控制案例11 利用Timel控件显示当前时间本章小结第10章 VisualC#2008与网络开发案例1 动态获取本机MAC地址案例2 动态获取本机IP地址案例3 动态网络Ping操作案例4 定时访问互联网案例5 定制网络浏览器程序案例6 动态发送电子邮件案例7 动态读取XMI文件本章小结第11章 VisualC#2008与Web应用程序案例1 利用AdRotator控件随机显示广告图像案例2 利用Calendar控件动态查询系统日期案例3 会员登录系统案例4 利用Application对象实现网站计数器案例5 利用Session对象实现留言板本章小结
    2016-09-02下载
    积分:1
  • c#Winform自定义控件
    c#Winform自定义控件-基类控件,按钮,有图标的按钮,选择按钮组,复选框,单选框,进度条,分割线,树,横向列表,列表,分页控件,导航菜单,键盘,文本框,表格,日期控件,Tab页,下拉框,步骤控件,有标题的面板,圆形进度条,面包屑导航,开关等等。using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;namespace HZH_Controls.Controls{    ///     /// Class UCBtnsGroup.    /// Implements the     ///     ///     public partial class UCBtnsGroup : UserControl    {        ///         /// 选中改变事件        ///         [Description("选中改变事件"), Category("自定义")]        public event EventHandler SelectedItemChanged;        ///         /// The m data source        ///         private Dictionary m_dataSource = new Dictionary();        ///         /// 数据源        ///         /// The data source.        [Description("数据源"), Category("自定义")]        public Dictionary DataSource        {            get { return m_dataSource; }            set            {                m_dataSource = value;                Reload();            }        }        ///         /// The m select item        ///         private List m_selectItem = new List();        ///         /// 选中项        ///         /// The select item.        [Description("选中项"), Category("自定义")]        public List SelectItem        {            get { return m_selectItem; }            set            {                m_selectItem = value;                if (m_selectItem == null)                    m_selectItem = new List();                SetSelected();            }        }        ///         /// The m is multiple        ///         private bool m_isMultiple = false;        ///         /// 是否多选        ///         /// true if this instance is multiple; otherwise, false.        [Description("是否多选"), Category("自定义")]        public bool IsMultiple        {            get { return m_isMultiple; }            set { m_isMultiple = value; }        }        ///         /// Initializes a new instance of the class.        ///         public UCBtnsGroup()        {            InitializeComponent();        }        ///         /// Reloads this instance.        ///         private void Reload()        {            try            {                ControlHelper.FreezeControl(flowLayoutPanel1, true);                this.flowLayoutPanel1.Controls.Clear();                if (DataSource != null)                {                    foreach (var item in DataSource)                    {                        UCBtnExt btn = new UCBtnExt();                        btn.BackColor = System.Drawing.Color.Transparent;                        btn.BtnBackColor = System.Drawing.Color.White;                        btn.BtnFont = new System.Drawing.Font("微软雅黑", 10F);                        btn.BtnForeColor = System.Drawing.Color.Gray;                        btn.BtnText = item.Value;                        btn.ConerRadius = 5;                        btn.Cursor = System.Windows.Forms.Cursors.Hand;                        btn.FillColor = System.Drawing.Color.White;                        btn.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);                        btn.IsRadius = true;                        btn.IsShowRect = true;                        btn.IsShowTips = false;                        btn.Location = new System.Drawing.Point(5, 5);                        btn.Margin = new System.Windows.Forms.Padding(5);                        btn.Name = item.Key;                        btn.RectColor = System.Drawing.Color.FromArgb(224, 224, 224);                        btn.RectWidth = 1;                        btn.Size = new System.Drawing.Size(72, 38);                        btn.TabStop = false;                        btn.BtnClick = btn_BtnClick;                        this.flowLayoutPanel1.Controls.Add(btn);                    }                }            }            finally            {                ControlHelper.FreezeControl(flowLayoutPanel1, false);            }            SetSelected();        }        ///         /// Handles the BtnClick event of the btn control.        ///         /// The source of the event.        /// The instance containing the event data.        void btn_BtnClick(object sender, EventArgs e)        {            var btn = sender as UCBtnExt;            if (m_selectItem.Contains(btn.Name))            {                btn.RectColor = System.Drawing.Color.FromArgb(224, 224, 224);                m_selectItem.Remove(btn.Name);            }            else            {                if (!m_isMultiple)                {                    foreach (var item in m_selectItem)                    {                        var lst = this.flowLayoutPanel1.Controls.Find(item, false);                        if (lst.Length == 1)                        {                            var _btn = lst[0] as UCBtnExt;                            _btn.RectColor = System.Drawing.Color.FromArgb(224, 224, 224);                        }                    }                    m_selectItem.Clear();                }                btn.RectColor = System.Drawing.Color.FromArgb(255, 77, 59);                m_selectItem.Add(btn.Name);            }            if (SelectedItemChanged != null)                SelectedItemChanged(this, e);        }        ///         /// Sets the selected.        ///         private void SetSelected()        {            if (m_selectItem != null && m_selectItem.Count > 0 && DataSource != null && DataSource.Count > 0)            {                try                {                    ControlHelper.FreezeControl(flowLayoutPanel1, true);                    if (m_isMultiple)                    {                        foreach (var item in m_selectItem)                        {                            var lst = this.flowLayoutPanel1.Controls.Find(item, false);                            if (lst.Length == 1)                            {                                var btn = lst[0] as UCBtnExt;                                btn.RectColor = System.Drawing.Color.FromArgb(255, 77, 59);                            }                        }                    }                    else                    {                        UCBtnExt btn = null;                        foreach (var item in m_selectItem)                        {                            var lst = this.flowLayoutPanel1.Controls.Find(item, false);                            if (lst.Length == 1)                            {                                btn = lst[0] as UCBtnExt;                                break;                            }                        }                        if (btn != null)                        {                            m_selectItem = new List() { btn.Name };                            btn.RectColor = System.Drawing.Color.FromArgb(255, 77, 59);                        }                    }                }                finally                {                    ControlHelper.FreezeControl(flowLayoutPanel1, false);                }            }        }    }}using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;namespace HZH_Controls.Controls{    ///     /// Class UCStep.    /// Implements the     ///     ///     [DefaultEvent("IndexChecked")]    public partial class UCStep : UserControl    {        ///         /// Occurs when [index checked].        ///         [Description("步骤更改事件"), Category("自定义")]        public event EventHandler IndexChecked;        ///         /// The m step back color        ///         private Color m_stepBackColor = Color.FromArgb(189, 189, 189);        ///         /// 步骤背景色        ///         /// The color of the step back.        [Description("步骤背景色"), Category("自定义")]        public Color StepBackColor        {            get { return m_stepBackColor; }            set            {                m_stepBackColor = value;                Refresh();            }        }        ///         /// The m step fore color        ///         private Color m_stepForeColor = Color.FromArgb(255, 77, 59);        ///         /// 步骤前景色        ///         /// The color of the step fore.        [Description("步骤前景色"), Category("自定义")]        public Color StepForeColor        {            get { return m_stepForeColor; }            set            {                m_stepForeColor = value;                Refresh();            }        }        ///         /// The m step font color        ///         private Color m_stepFontColor = Color.White;        ///         /// 步骤文字颜色        ///         /// The color of the step font.        [Description("步骤文字景色"), Category("自定义")]        public Color StepFontColor        {            get { return m_stepFontColor; }            set            {                m_stepFontColor = value;                Refresh();            }        }        ///         /// The m step width        ///         private int m_stepWidth = 35;        ///         /// 步骤宽度        ///         /// The width of the step.        [Description("步骤宽度景色"), Category("自定义")]        public int StepWidth        {            get { return m_stepWidth; }            set            {                m_stepWidth = value;                Refresh();            }        }        ///         /// The m steps        ///         private string[] m_steps = new string[] { "step1", "step2", "step3" };        ///         /// Gets or sets the steps.        ///         /// The steps.        [Description("步骤"), Category("自定义")]        public string[] Steps        {            get { return m_steps; }            set            {                if (m_steps == null || m_steps.Length Steps.Length)                    return;                m_stepIndex = value;                Refresh();                if (IndexChecked != null)                {                    IndexChecked(this, null);                }            }        }        ///         /// The m line width        ///         private int m_lineWidth = 2;        ///         /// Gets or sets the width of the line.        ///         /// The width of the line.        [Description("连接线宽度,最小2"), Category("自定义")]        public int LineWidth        {            get { return m_lineWidth; }            set            {                if (value < 2)                    return;                m_lineWidth = value;                Refresh();            }        }        ///         /// The m img completed        ///         private Image m_imgCompleted = null;        ///         /// Gets or sets the img completed.        ///         /// The img completed.        [Description("已完成步骤图片,当不为空时,已完成步骤将不再显示数字,建议24*24大小"), Category("自定义")]        public Image ImgCompleted        {            get { return m_imgCompleted; }            set            {                m_imgCompleted = value;                Refresh();            }        }        ///         /// The m LST cache rect        ///         List m_lstCacheRect = new List();        ///         /// Initializes a new instance of the class.        ///         public UCStep()        {            InitializeComponent();            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);            this.SetStyle(ControlStyles.DoubleBuffer, true);            this.SetStyle(ControlStyles.ResizeRedraw, true);            this.SetStyle(ControlStyles.Selectable, true);            this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);            this.SetStyle(ControlStyles.UserPaint, true);            this.MouseDown = UCStep_MouseDown;        }        ///         /// Handles the MouseDown event of the UCStep control.        ///         /// The source of the event.        /// The instance containing the event data.        void UCStep_MouseDown(object sender, MouseEventArgs e)        {            var index = m_lstCacheRect.FindIndex(p => p.Contains(e.Location));            if (index >= 0)            {                StepIndex = index 1;            }        }        ///         /// 引发 事件。        ///         /// 包含事件数据的 。        protected override void OnPaint(PaintEventArgs e)        {            base.OnPaint(e);            var g = e.Graphics;            g.SetGDIHigh();            if (m_steps != null && m_steps.Length > 0)            {                System.Drawing.SizeF sizeFirst = g.MeasureString(m_steps[0], this.Font);                int y = (this.Height - m_stepWidth - 10 - (int)sizeFirst.Height) / 2;                if (y < 0)                    y = 0;                int intTxtY = y m_stepWidth 10;                int intLeft = 0;                if (sizeFirst.Width > m_stepWidth)                {                    intLeft = (int)(sizeFirst.Width - m_stepWidth) / 2 1;                }                int intRight = 0;                System.Drawing.SizeF sizeEnd = g.MeasureString(m_steps[m_steps.Length - 1], this.Font);                if (sizeEnd.Width > m_stepWidth)                {                    intRight = (int)(sizeEnd.Width - m_stepWidth) / 2 1;                }                int intSplitWidth = 20;                intSplitWidth = (this.Width - m_steps.Length - (m_steps.Length * m_stepWidth) - intRight - intLeft) / (m_steps.Length - 1);                if (intSplitWidth < 20)                    intSplitWidth = 20;                m_lstCacheRect = new List();                for (int i = 0; i < m_steps.Length; i )                {                    #region 画圆,横线                    Rectangle rectEllipse = new Rectangle(new Point(intLeft i * (m_stepWidth intSplitWidth), y), new Size(m_stepWidth, m_stepWidth));                    m_lstCacheRect.Add(rectEllipse);                    g.FillEllipse(new SolidBrush(m_stepBackColor), rectEllipse);                    if (m_stepIndex > i)                    {                        g.FillEllipse(new SolidBrush(m_stepForeColor), new Rectangle(new Point(intLeft i * (m_stepWidth intSplitWidth) 2, y 2), new Size(m_stepWidth - 4, m_stepWidth - 4)));                    }                    if (m_stepIndex > i && m_imgCompleted != null)                    {                        g.DrawImage(m_imgCompleted, new Rectangle(new Point((intLeft i * (m_stepWidth intSplitWidth) (m_stepWidth - 24) / 2), y (m_stepWidth - 24) / 2), new Size(24, 24)), 0, 0, m_imgCompleted.Width, m_imgCompleted.Height, GraphicsUnit.Pixel, null);                    }                    else                    {                        System.Drawing.SizeF _numSize = g.MeasureString((i 1).ToString(), this.Font);                        g.DrawString((i 1).ToString(), Font, new SolidBrush(m_stepFontColor), new Point(intLeft i * (m_stepWidth intSplitWidth) (m_stepWidth - (int)_numSize.Width) / 2 1, y (m_stepWidth - (int)_numSize.Height) / 2 1));                    }                    #endregion                    System.Drawing.SizeF sizeTxt = g.MeasureString(m_steps[i], this.Font);                    g.DrawString(m_steps[i], Font, new SolidBrush(m_stepIndex > i ? m_stepForeColor : m_stepBackColor), new Point(intLeft i * (m_stepWidth intSplitWidth) (m_stepWidth - (int)sizeTxt.Width) / 2 1, intTxtY));                }                for (int i = 0; i < m_steps.Length; i )                {                    if (m_stepIndex > i)                    {                        if (i != m_steps.Length - 1)                        {                            if (m_stepIndex == i 1)                            {                                g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft i * (m_stepWidth intSplitWidth) m_stepWidth - 3, y ((m_stepWidth) / 2)), new Point(intLeft i * (m_stepWidth intSplitWidth) m_stepWidth intSplitWidth / 2, y ((m_stepWidth) / 2)));                                g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft i * (m_stepWidth intSplitWidth) m_stepWidth intSplitWidth / 2, y ((m_stepWidth) / 2)), new Point(intLeft (i 1) * (m_stepWidth intSplitWidth) 10, y ((m_stepWidth) / 2)));                            }                            else                            {                                g.DrawLine(new Pen(m_stepForeColor, m_lineWidth), new Point(intLeft i * (m_stepWidth intSplitWidth) m_stepWidth - 3, y ((m_stepWidth) / 2)), new Point(intLeft (i 1) * (m_stepWidth intSplitWidth) 10, y ((m_stepWidth) / 2)));                            }                        }                    }                    else                    {                        if (i != m_steps.Length - 1)                        {                            g.DrawLine(new Pen(m_stepBackColor, m_lineWidth), new Point(intLeft i * (m_stepWidth intSplitWidth) m_stepWidth - 3, y ((m_stepWidth) / 2)), new Point(intLeft (i 1) * (m_stepWidth intSplitWidth) 10, y ((m_stepWidth) / 2)));                        }                    }                }            }        }    }}
    2020-12-11下载
    积分:1
  • 函数指针
    资源描述包含了指针排序,指针作为函数的参数,函数返回指针,指针与结构体。是一个学习C语言指针的好代码,十分适合初学者学习。
    2022-02-20 02:49:17下载
    积分:1
  • C入门至精通(全集).pdf【共533页】
    【实例简介】基础课程
    2021-06-10 00:31:03下载
    积分:1
  • c#+access新生管理信息系统全代码​
    c# access新生管理信息系统全代码
    2020-08-31 00:28:12下载
    积分:1
  • winform中使用 Jquery 读取网页内容 源码下载,(思路可借鉴)
    winform中使用 Jquery 读取网页内容 源码下载,(思路可借鉴)
    2014-06-07下载
    积分:1
  • C# 设计模式示例大全(源码下载)
    C# 设计模式示例大全(源码下载)
    2016-06-07下载
    积分:1
  • 696516资源总数
  • 106571会员总数
  • 2今日下载