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