private void إضافةالصفيحالمقصوصالمطبوعToolStripMenuItem_Click(object sender, EventArgs e) { using (addnewcutprintedmaterial myform = new addnewcutprintedmaterial(mEmployee, mAccount, mPermission)) { myform.ShowDialog(); } }
private void add_new_cutprinted_btn_Click(object sender, EventArgs e) { this.Hide(); addnewcutprintedmaterial myform = new addnewcutprintedmaterial(mEmployee, mAccount, mPermission); myform.ShowDialog(); this.Close(); }