Пример #1
0
        private void GoToLogin_Click(object sender, MouseEventArgs e)
        {
            User_Login Form = new User_Login();

            Form.Tag = this;
            Form.Show(this);
            Hide();
        }
        private void Logout_Click(object sender, EventArgs e)
        {
            Account.AccountId   = -1;
            Account.AccountType = -1;
            User_Login user = new User_Login();

            user.Tag = this;
            user.Show(this);
            Hide();
        }