private void OnUnloginCmdExecute(object o)
        {
            DataStreamUtils.writeData(AuthWindow.loginUsr, "", "False");
            MainMenuWindow.ThisWindow.Close();
            AuthWindow aw = new AuthWindow();

            aw.Show();
        }
 private void OnLoginCmdExecute(object o)
 {
     loginUsr = login_field.Text;
     passUsr  = password_field.Password;
     WebUtils.login(loginUsr, passUsr);
     if ((bool)keep.IsChecked)
     {
         DataStreamUtils.writeData(loginUsr, passUsr, keep.IsChecked.ToString());
     }
     else
     {
         DataStreamUtils.writeData(loginUsr, "", keep.IsChecked.ToString());
     }
     System.IO.FileInfo file = new System.IO.FileInfo(db_config_file);
     if (file.Length < 1)
     {
         VTManagerConfig.xml.Save(db_config_file);
     }
 }