Ejemplo n.º 1
0
        private void Btn3_5_Click(object sender, EventArgs e)
        {
            frm35 frm = new frm35();

            this.Hide();
            frm.ShowDialog();
            this.Show();
            this.BringToFront();
        }
Ejemplo 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();
     }
 }