public static frmRecovery GetInstancia() { if (instancia == null) { instancia = new frmRecovery(); } return(instancia); }
private void BtnMudar_Password_Click(object sender, EventArgs e) { this.Hide(); using (var f = new frmRecovery()) { if (f.ShowDialog() == DialogResult.OK) { this.Visible = true; } } }