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