Пример #1
0
        private void switchUserBTN_Click(object sender, EventArgs e)
        {
            LocalUserSession.LogOut();
            LoginWindowLocal lwl = new LoginWindowLocal(cw);

            cw.ChangeUserFromLockScreen();
            lwl.Show();
            this.Hide();
        }
Пример #2
0
        /////////////// Profile menu buttons
        private void logoutToolStripItem_Click(object sender, EventArgs e)
        {
            profileVisible = false;
            initialBoot    = true;
            InitialSimDisplayLoad(null, null);
            LocalUserSession.LogOut();
            LoginWindowLocal lwl = new LoginWindowLocal(this);

            lwl.Show();
            this.Hide();
        }