05 2009 档案
摘要:在代码中添入 button1.PerformClick() 即可
阅读全文
摘要:using System.Diagnostics; static void Main(string[] args) { Process myProcess = Process.Start("c:\\test\\DIY.exe"); while (!myProcess.HasExited) { Console.WriteLine("still running"); Thread.Sleep(1000...
阅读全文
摘要:private void getridofspace() { string new_text = null; OpenFileDialog of = new OpenFileDialog(); of.Filter = "txt文件|*.txt|所有文件|*.*"; of.AddExtension = true; of.Title = "打开文件"; if (of.ShowDialog() == D...
阅读全文
摘要:public string ConvertString(string value, int fromBase, int toBase){int intValue = Convert.ToInt32(value, fromBase); return Convert.ToString(intValue, toBase);}
阅读全文
摘要:private System.Windows.Forms.ListView listView1 = new System.Windows.Forms.ListView();listView1.View = View.Details; listView1.FullRowSelect = true; listView1.HeaderStyle = ColumnHeaderStyle.Nonclicka...
阅读全文
摘要:public partial class Form1 :Form{ public Form1() { InitializeComponent(); this.KeyUp += new System.Windows.Forms.KeyEventHandler(deal_key); //register } private void deal_key(object sender, System.Win...
阅读全文


浙公网安备 33010602011771号