摘要: 1、调出 TreeView控件 或 ListBox控件 private void deductGrid1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex < 0 || e.RowIndex < 0) 阅读全文
posted @ 2019-07-12 17:32 一叶孤城 阅读(787) 评论(0) 推荐(0)
摘要: //通过访问目录下的DLL Assembly ass = Assembly.LoadFile(Application.StartupPath + "\\Design.dll"); Type tp = ass.GetType("Design.Form1",false); Form frm = (For 阅读全文
posted @ 2019-07-12 16:49 一叶孤城 阅读(887) 评论(0) 推荐(0)
摘要: 1、控件效果图 此效果图中的标题颜色、字号及字体可以在控件属性中设置。标题背景的渐变色及布局内容的背景色也可以在属性中设置。 2、实现的代码(用户控件) 1 public partial class UcPanel : UserControl 2 { 3 public UcPanel() 4 { 5 阅读全文
posted @ 2019-07-12 10:52 一叶孤城 阅读(914) 评论(0) 推荐(0)