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

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