//method to call view customer form private void VIEW_BTN_Click(object sender, EventArgs e) { ViewCustomer co = new ViewCustomer("admin"); this.Hide(); co.Show(); }
//method to call view customer data form private void VIEW_BTN_Click(object sender, EventArgs e) { ViewCustomer u = new ViewCustomer("customer"); this.Hide(); u.Show(); }