摘要:1,创建委托: private delegate void CustomPropertyLoad1(List<CustomProperty> properties, FlowLayoutPanel container); 2个参数用来传递方法中用到的界面控件。2. Thread LoadCustomPropertyThread; private Thread LoadCustomProperties(List<CustomProperty> properties) { if (properties != null) { var thread = new Thread(n
阅读全文
摘要:1,Excel数据导入 将Excel作为类似access的数据源 using System.Data.OleDb; using System.IO;OpenFileDialog of = new OpenFileDialog();of.Title = "Excel文件"; of.FileName = ""; of.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); of.Filter = "Excel文件(*.xls;*.xls
阅读全文
摘要:1,C#怎样 做出Visual Studio的工具箱侧边栏 a,DX控件 b,http://sourceforge.net/projects/dockpanelsuite/ WeifenLuo.WinFormsUI.Docking是一个很强大的界面布局控件,可以保存自定义的布局为XML文件,可以加载XML配置文件.!界面布局控件-WeifenLuo.WinFormsUI.Docking C#窗体自动停靠—如何使用weifenluo.dll http://blog.sina.com.cn/s/blog_4c8bb86b0100j3ge.htmlC# WinForm开发系列 - 介绍一些开源的第三
阅读全文