Esempio n. 1
0
 private void إToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (addnewprinterform myform = new addnewprinterform())
     {
         myform.ShowDialog();
     }
 }
Esempio n. 2
0
 private void new_printer_btn_Click(object sender, EventArgs e)
 {
     this.Hide();
     using (addnewprinterform myform = new addnewprinterform())
     {
         myform.ShowDialog();
     }
     this.Close();
 }