private void إضافةمقاسجديدToolStripMenuItem1_Click(object sender, EventArgs e) { using (addnewtwistofsize myform = new addnewtwistofsize()) { myform.ShowDialog(); } }
private void add_new_size_btn_Click(object sender, EventArgs e) { if (twist_of_radio_btn.Checked) { addnewtwistofsize myform = new addnewtwistofsize(); myform.Show(); } else { addnewsizesform myfrom = new addnewsizesform(); myfrom.Show(); } }