Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            PasswordForm form = new PasswordForm();

            form.FormClosed += (s, args) => this.Show();
            form.Show();
        }
Exemplo n.º 2
0
 public void Setup()
 {
     _passwordForm = new PasswordForm();
     _passwordForm.Show();
 }