private void frmCustomersEdit_FormClosing(object sender, FormClosingEventArgs e) { frmMainForm mainForm = new frmMainForm(); mainForm.Show(); this.Hide(); }
private void ProductsAdd_FormClosing(object sender, FormClosingEventArgs e) { frmMainForm mainForm = new frmMainForm(); mainForm.Show(); this.Hide(); }
private void frmCustomerAdd_FormClosing(object sender, FormClosingEventArgs e) { //when closing, shows main form and hides add customer form frmMainForm mainForm = new frmMainForm(); mainForm.Show(); Hide(); }
private void frmCustomersEdit_FormClosing(object sender, FormClosingEventArgs e) { //closes form/displays main form frmMainForm mainForm = new frmMainForm(); mainForm.Show(); Hide(); }