public static SetPassword getInstance() { if (instance == null) { instance = new SetPassword(); } return(instance); }
private void InitLoad(object sender, EventArgs e) { if (Config.cookie == null && winopen == false) { SetPassword setpass = SetPassword.getInstance(); setpass.Owner = this; setpass.Show(); // setpass. } }