public static UpdateCustomer GetInstance() { if (instance == null) { instance = new UpdateCustomer(); } return(instance); }
private void btnUpdate_Click(object sender, EventArgs e) { Form UpdateCustomerformobj = UpdateCustomer.GetInstance(); UpdateCustomerformobj.Show(); }