C#获得程序集
//获得程序集
System.Reflection.Assembly assem = System.Reflection.Assembly.GetExecutingAssembly();
//获得程序集
System.Reflection.Assembly assem = System.Reflection.Assembly.GetExecutingAssembly();
//Cbo控件数据源绑定DataTable DtType = noteType.GetTypeList("");  …
首先,要想遍历,就必须找到你想找的表单里面的所有控件,然后一个个的逐一比对,当找到了你需要的控件的时候,再做你需要的操作。1、foreach方法foreach (Control control in …
private List<News> GetNews(string html) &n…
private void Form1_Load(object sender, System.EventArgs e){RegistryKey RootKey,RegKey; //项名为:HKEY_CURRENT_USER\Software…
//c#中分页显示数据 public partial class Form1 : Form { …
//获取Color的几种方式Color.FromKnownColor(KnownColor.ControlLight);Color.FromArgb(int r,int g,int b);Color.FromArgb(int a,int r…