private void customerToolStripMenuItem_Click(object sender, EventArgs e) { CustomerPortalScreen cp = new CustomerPortalScreen(); cp.MdiParent = this; cp.Show(); }
private void btnBack_Click(object sender, EventArgs e) { CustomerPortalScreen cp = new CustomerPortalScreen(); cp.MdiParent = this.MdiParent; cp.Show(); this.Close(); }
private void btnDeleteCustomer_Click(object sender, EventArgs e) { //Globals.companies.RemoveAt(companyId); Company.deleteCompany(companyId); MessageBox.Show("Company Deleted"); CustomerPortalScreen cp = new CustomerPortalScreen(); cp.MdiParent = this.MdiParent; cp.Show(); this.Close(); }