public static NewUserRegistrationPg GetInstance() { if (instance == null) { instance = new NewUserRegistrationPg(); } instance.Show(); return(instance); }
private void btnRegister_Click(object sender, EventArgs e) { this.Hide(); NewUserRegistrationPg.GetInstance(); }