private void إضافةنوعيدToolStripMenuItem_Click(object sender, EventArgs e) { using (addnewhandtype myform = new addnewhandtype()) { myform.ShowDialog(); } }
private void new_btn_Click(object sender, EventArgs e) { this.Hide(); using (addnewhandtype myform = new addnewhandtype()) { myform.ShowDialog(); } this.Close(); }