private void repurchaseBtn_Click(object sender, EventArgs e) { Hide(); using ChooseClientForm chooseClientForm = new ChooseClientForm("TransportForm"); chooseClientForm.ShowDialog(this); Show(); }
private void repurchaseBtn_Click(object sender, EventArgs e) { Hide(); using ChooseClientForm chooseClientForm = new ChooseClientForm("InsertForm"); chooseClientForm.ShowDialog(this); if (!IsDisposed) { Show(); } }
private void repurchaseBtn_Click(object sender, EventArgs e) { ChooseClientForm chooseClientForm = new ChooseClientForm(); chooseClientForm.ShowDialog(this); }