コード例 #1
0
ファイル: Form1.cs プロジェクト: rushingfox/DotNetCourse
        private void button3_Click(object sender, EventArgs e)
        {
            Form_pop form_Pop = new Form_pop();

            form_Pop.Show();
            form_Pop.radioButton2.Checked = true;
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: rushingfox/DotNetCourse
        private void button2_Click(object sender, EventArgs e)
        {
            Form_pop form_Pop = new Form_pop();

            form_Pop.Show();
            //https://www.cnblogs.com/tommy-huang/p/4539999.html
            //at the beginning, I use showdialogue but failed to execute the next sentence; actually the next sentence will not run untill the window was closed
            //button3_click is the same
            form_Pop.radioButton1.Checked = true;
        }