private void AuthorizeButton_Click(object sender, RoutedEventArgs e)
 {
     if (PasswordField.Password != "123placement")
         WrongPasswordLabel.Content = "Wrong Password!";
     else
     {
         this.Opacity = 0.10;
         ServerConnectionSettings serverSettingWindow = new ServerConnectionSettings();
         serverSettingWindow.ShowDialog();
         this.Close();
     }
 }
 private void AuthorizeButton_Click(object sender, RoutedEventArgs e)
 {
     if (PasswordField.Password != "123placement")
     {
         WrongPasswordLabel.Content = "Wrong Password!";
     }
     else
     {
         this.Opacity = 0.10;
         ServerConnectionSettings serverSettingWindow = new ServerConnectionSettings();
         serverSettingWindow.ShowDialog();
         this.Close();
     }
 }
 private void AuthorizeButton_Click(object sender, RoutedEventArgs e)
 {
     if (PasswordField.Password != "123placement")
     {
         WrongPasswordLabel.Content = "Wrong Password!";
     }
     else
     {
         this.Opacity = 0.01;
         if (targetWindow == targWin.ConnSettings)
         {
             ServerConnectionSettings serverSettingWindow = new ServerConnectionSettings();
             serverSettingWindow.ShowDialog();
             this.Close();
         }
         else if (targetWindow == targWin.DBMod)
         {
             DBModifyPage DBModder = new DBModifyPage(queryMaintain);
             DBModder.ShowDialog();
             this.Close();
         }
     }
 }