コード例 #1
0
        private void Btn3_5_Click(object sender, EventArgs e)
        {
            frm35 frm = new frm35();

            this.Hide();
            frm.ShowDialog();
            this.Show();
            this.BringToFront();
        }
コード例 #2
0
ファイル: frm34.cs プロジェクト: TheinHtay362/NS-test-Project
 private void openAnotherForm(string form)
 {
     if (form == "3-5")
     {
         this.Hide();
         frm35 frm = new frm35(txtFromDate.Text, txtToDate.Text);
         frm.ShowDialog();
         this.Show();
         btnCheckTheResult.PerformClick();
         this.BringToFront();
     }
     else
     {
         this.Hide();
         frm36 frm = new frm36(txtFromDate.Text, txtToDate.Text);
         frm.ShowDialog();
         this.Show();
         btnCheckTheResult.PerformClick();
         this.BringToFront();
     }
 }