摘要:
还在为用户控件中调用主窗体方法而头疼吗?用户控件:UserControl 定义事件ChartClickEvent,并重写EventArgs 看需要 用来传递参数View Code #region 自定义事件 Click /// <summary> /// 事件 /// </summary> public event EventHandler ChartClickEvent; public class ChartEventArgs : EventArgs { public string... 阅读全文
posted @ 2012-02-16 11:43
笨笨哒
阅读(524)
评论(0)
推荐(0)
摘要:
SourceGrid 开源控件,引用SourceGrid.dll 拖动控件即可。SourceGrid 公共类库 View Code Class SourceGridBase public static void BuildStandardSourceGrid(SourceGrid.Grid grid, string title, string[] headerCaption, int[] headerLengh) { DevAge.Drawing.BorderLine border = new DevAge.Drawing.BorderLine(Color... 阅读全文
posted @ 2012-02-16 00:46
笨笨哒
阅读(575)
评论(3)
推荐(0)
浙公网安备 33010602011771号