模块主窗体的流程控制按钮图标设计参考
![](http://www.csframework.com/images/article-type5.gif)
![模块主窗体的流程控制按钮图标设计参考 模块主窗体的流程控制按钮图标设计参考](http://www.csframework.com/images/seo/SEO-cs%E6%A1%86%E6%9E%B6%E7%BD%91.jpg)
模块主窗体的流程控制按钮图标设计参考
![贴图图片](http://www.csframework.com/upload/image/flow.png)
![贴图图片](http://www.csframework.com/upload/image/flow-inventory.png)
![贴图图片](http://www.csframework.com/upload/image/flow-production.png)
![贴图图片](http://www.csframework.com/upload/image/flow-purchase.png)
![贴图图片](http://www.csframework.com/upload/image/flow-sales.png)
C# Code:
public class ucLabelButton : LabelControl
{
private BorderStyles _BorderStyleFocus = BorderStyles.Office2003;
public ucLabelButton()
{
this.Text = "";
this.AutoSizeMode = LabelAutoSizeMode.None;
this.MouseEnter = new EventHandler(ucLabelButton_MouseEnter);
this.MouseLeave = new EventHandler(ucLabelButton_MouseLeave);
this.Cursor = Cursors.Hand;
this.CreateToolTipController();
}
private void CreateToolTipController()
{
this.ToolTipController = new DevExpress.Utils.ToolTipController();
this.ToolTipController.AllowHtmlText = true;
this.ToolTipController.InitialDelay = 300;
this.ToolTipController.Rounded = true;
this.ToolTipController.ShowBeak = true;
this.ToolTipController.ToolTipType = DevExpress.Utils.ToolTipType.Standard;
this.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
}
void ucLabelButton_MouseLeave(object sender, EventArgs e)
{
this.BorderStyle = BorderStyles.NoBorder;
}
void ucLabelButton_MouseEnter(object sender, EventArgs e)
{
this.BorderStyle = _BorderStyleFocus;
}
[Browsable(false)]
public override BorderStyles BorderStyle
{
get
{
return base.BorderStyle;
}
set
{
base.BorderStyle = value;
}
}
[Category("Appearance")]
[Description("Gets or sets the control's border style.")]
public BorderStyles BorderStyleFocus
{
get { return _BorderStyleFocus; }
set { _BorderStyleFocus = value; }
}
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
public class ucLabelButton : LabelControl
{
private BorderStyles _BorderStyleFocus = BorderStyles.Office2003;
public ucLabelButton()
{
this.Text = "";
this.AutoSizeMode = LabelAutoSizeMode.None;
this.MouseEnter = new EventHandler(ucLabelButton_MouseEnter);
this.MouseLeave = new EventHandler(ucLabelButton_MouseLeave);
this.Cursor = Cursors.Hand;
this.CreateToolTipController();
}
private void CreateToolTipController()
{
this.ToolTipController = new DevExpress.Utils.ToolTipController();
this.ToolTipController.AllowHtmlText = true;
this.ToolTipController.InitialDelay = 300;
this.ToolTipController.Rounded = true;
this.ToolTipController.ShowBeak = true;
this.ToolTipController.ToolTipType = DevExpress.Utils.ToolTipType.Standard;
this.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
}
void ucLabelButton_MouseLeave(object sender, EventArgs e)
{
this.BorderStyle = BorderStyles.NoBorder;
}
void ucLabelButton_MouseEnter(object sender, EventArgs e)
{
this.BorderStyle = _BorderStyleFocus;
}
[Browsable(false)]
public override BorderStyles BorderStyle
{
get
{
return base.BorderStyle;
}
set
{
base.BorderStyle = value;
}
}
[Category("Appearance")]
[Description("Gets or sets the control's border style.")]
public BorderStyles BorderStyleFocus
{
get { return _BorderStyleFocus; }
set { _BorderStyleFocus = value; }
}
}
//来源:C/S框架网(www.csframework.com) QQ:1980854898
C# Code:
private void ucLabelButton2_Click(object sender, EventArgs e)
{
//打开窗体
}
private void ucLabelButton2_Click(object sender, EventArgs e)
{
//打开窗体
}
![C/S框架网|原创精神.创造价值.打造精品](http://www.csframework.com/images/our03.gif)
扫一扫加作者微信
![C/S框架网作者微信](http://www.csframework.com/images/wechatcode.jpg)
![C/S框架网|原创作品.质量保障.竭诚为您服务](http://www.csframework.com/images/CS框架网提供高效优质服务.jpg)
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网