示例#1
0
        private void ToLogin(object sender, MouseButtonEventArgs e)
        {
            Hide();
            var logInWindow = new LogInWindow()
            {
                Top = Top, Left = Left
            };

            logInWindow.Show();
        }
示例#2
0
        private void ButtonLogOut_OnClick(object sender, RoutedEventArgs e)
        {
            Users.GetInstance().Find(TbAccountName.Text).IsActive = false;
            Hide();
            var logInWindow = new LogInWindow()
            {
                Top = Top, Left = Left
            };

            logInWindow.Show();
        }