Esempio n. 1
0
        private void Btn3_6_Click(object sender, EventArgs e)
        {
            frm36 frm = new frm36();

            this.Hide();
            frm.ShowDialog();
            this.Show();
            this.BringToFront();
        }
Esempio n. 2
0
 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();
     }
 }