Exemplo n.º 1
0
        private void settings_btn_Click(object sender, RoutedEventArgs e)
        {
            PasswordWindow pw = new PasswordWindow("");

            pw.PasswordCorrect += new isPasswordCorrect(pw_PasswordCorrect);
            pw.Show();
        }
Exemplo n.º 2
0
        /// <summary>
        /// 修改密码。
        /// </summary>
        public override void ChangePassword()
        {
            PasswordWindow window = new PasswordWindow();

            window.LoginID = SLContext.Account.LoginID;
            window.Show();
        }
 /// <summary>
 /// Sing out
 /// </summary>
 private void OnSingOut(object param)
 {
     Window window = new PasswordWindow();
     window.Show();
     Logger.Log.InfoFormat("User {0} quitted the system", Settings.Default.Login);
     View.Close();
 }