private void إضافةالصفيحالمقصوصالمورنشToolStripMenuItem_Click(object sender, EventArgs e) { using (addnewcutmuranmaterial myform = new addnewcutmuranmaterial()) { myform.ShowDialog(); } }
private void new_btn_Click(object sender, EventArgs e) { this.Hide(); using (addnewcutmuranmaterial myform = new addnewcutmuranmaterial()) { myform.ShowDialog(); } this.Close(); }