private void mitAddScan_Click(object sender, EventArgs e) { this.Hide(); FormScan dlg = new FormScan(); int id = int.Parse(csmID.Text); dlg.ShowDialog(); this.Show(); }
private void btnMDScan_Click(object sender, EventArgs e) { FormScan f = new FormScan(); showFormD(f); if (f.AddSlice) { btnMDSlice_Click(sender, e); } }