コード例 #1
0
 private void ConnSettingsButton_Click(object sender, RoutedEventArgs e)
 {
     ServerConnectionSettingsAuthorization connSettingsAuthorizationWindow = new ServerConnectionSettingsAuthorization();
     this.Opacity = 0.5;
     connSettingsAuthorizationWindow.ShowDialog();
     this.Opacity = 1;
 }
コード例 #2
0
        private void ConnSettingsButton_Click(object sender, RoutedEventArgs e)
        {
            ServerConnectionSettingsAuthorization connSettingsAuthorizationWindow = new ServerConnectionSettingsAuthorization();

            this.Opacity = 0.5;
            connSettingsAuthorizationWindow.ShowDialog();
            this.Opacity = 1;
        }
コード例 #3
0
 private void ConnSettingsButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ServerConnectionSettingsAuthorization connSettingsAuthorizationWindow = new ServerConnectionSettingsAuthorization();
         this.Opacity = 0.5;
         connSettingsAuthorizationWindow.ShowDialog();
         this.Opacity = 1;
     }
     catch (Exception ex)
     {
         MessageBox.Show("Critical Error :(\nError Details -\n" + ex.ToString());
     }
 }
コード例 #4
0
 private void ModifyDBButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ServerConnectionSettingsAuthorization window = new ServerConnectionSettingsAuthorization();
         window.targetWindow = JKPlacementsDBManager.ServerConnectionSettingsAuthorization.targWin.DBMod;
         bool temp = false;
         if (QueryLogCheckBox.IsChecked == true)
         {
             temp = true;
         }
         window.queryMaintain = temp;
         this.Opacity         = 0.5;
         window.ShowDialog();
         this.Opacity = 1;
     }
     catch (Exception ex)
     {
         MessageBox.Show("ERROR 0XEFF0004574ABCEF : System.Windows.MicrosoftRulz.IllegalOperationException. \nYou have caused irreversible damage to the memory write mechanism.\nGod will punish you now.\n\n" + ex.ToString());
     }
 }