摘要:
New a TreeView tV1 private void tV1_AfterSelect(object sender, TreeViewEventArgs e) { TreeNode tvNode=new TreeNode(); tvNode=tV1.SelectedNode; button1.Text = tvNode.Text; } private void btnRoot_Clic... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { progressBar1.Maximum = 100; progressBar1.Value = 0; progressBar1.Step = 5; for (int i = 0; i < 20; i++) { System.Threading.Thread.Sleep(1000... 阅读全文
摘要:
aa = System.Text.RegularExpressions.Regex.Replace(aa, @"\s+", "+"); 阅读全文
摘要:
System.Diagnostics.Process.Start(@"C:\AAA.pdf"); 阅读全文
摘要:
new int[] {23, 22} == new int[]{23, 22} 阅读全文
摘要:
new Object[] {23, "34"}{object[2]} [0]: 23 [1]: "34"new string[] {"ab", "34"}{string[2]} [0]: "ab" [1]: "34" 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { this.listView1.View = View.Details; this.listView1.Scrollable = true; this.listView1.MultiSelect = false; this.listView1.HeaderStyle = ColumnH... 阅读全文
摘要:
MWArray kkk = (MWArray)stdown.stdownload(e1.ToString(), pathstr); -------- dll ------------ Class in dll ------------------------ Input infromation, can be string ----------Convert Final out to MWA... 阅读全文
摘要:
Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;Data Source="Northwind.mdb";Password=;Jet OLEDB:Engine Type=5;Jet OLEDB:Glob... 阅读全文
摘要:
Thread myThread; // New a thread// make the thread to work.private void button2_Click(object sender, EventArgs e){ myThread = new Thread(new ThreadStart(Add)); myThread.Start();}// When close the prog... 阅读全文