private void label4_Click(object sender, EventArgs e) { DialogResult myResult = MessageBox.Show("您初次使用嗎?", "使用者登入確認", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (myResult == DialogResult.Yes) { Form3 frm = new Form3(this); frm.ShowDialog(); } else if (myResult == DialogResult.No) { //按了否 } /*Thread collectThread = new Thread(new ThreadStart(ThreadMethod_collect)); collectThread.Name = "蒐集工作執行緒"; collectThread.Start(); while (collectThread.ThreadState != ThreadState.Stopped) { }*/ }
//public int VersionNum = 1; public Form2(Form3 f3,string Name) { InitializeComponent(); F3 = f3; }