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();
        }