Пример #1
0
        private void toolStripMenuItem2_Click(object sender, EventArgs e)
        {
            ImpNewBF frm_impNewbf = new ImpNewBF(this);

            frm_impNewbf.ShowDialog(this);
            button_SAVE_Click(null, null);
        }
Пример #2
0
 private void button_OK_Click(object sender, EventArgs e)
 {
     if (this.radioButton_ImpOldBF.Checked == true)
     {
         ImpOldBF frm_impoldbf = new ImpOldBF();
         frm_impoldbf.Show();
         this.Close();
     }
     else if (this.radioButton_ImpNewBF.Checked == true)
     {
         ImpNewBF frm_impnewbf = new ImpNewBF(frm1);
         frm_impnewbf.Show();
         this.Close();
     }
     else if (this.radioButton_NOImp.Checked == true)
     {
         this.Close();
     }
     else
     {
         // do nothing
         this.Close();
     }
 }