Exemplo n.º 1
0
        public static void SignOutUser(MainForm form)
        {
            form.Hide();
            PasswordLoginForm passwordLoginForm = new PasswordLoginForm();

            passwordLoginForm.Closed += (s, args) => form.Close();
            passwordLoginForm.Show();
        }
Exemplo n.º 2
0
        private void SignOut_Clicked(object sender, EventArgs e)
        {
            this.Hide();
            LoginForm loginForm = new PasswordLoginForm();

            loginForm.Closed += (s, args) => this.Close();
            loginForm.Show();
        }