01 2014 档案
摘要:使用ApplicationContextstatic class Program { internal static ApplicationContext context = new ApplicationContext(new Form1()); /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { Application.EnableVisualStyles(); ...
阅读全文
摘要://----------------线程传多个参数------------------- private void ShowName(object li){ List list= li as List; if (list != null) { foreach (string l in list) { MessageBox.Show(l); } } } private void button1_Click(object se...
阅读全文
摘要:in 和exists的用法差不多.但是in条件不能有外部条件,如:select *from rp_001 A where exists (select years from RepOrt B where A.repid=20)select *From rp_001 A join RepOrt on A.repid=20;exists 不会筛选出report的数据而join会与report自然连接。
阅读全文
摘要:加载解析xml文件:from xml.dom import minidomdoc=minidom.parse("Book.xml")
阅读全文
摘要:public delegate void MyInvoke( ); public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Thread th = new Thread(new ThreadStart(correctfunc)); t...
阅读全文