예제 #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DialogResult dialogResult = System.Windows.Forms.MessageBox.Show("Do you have any doubts/query?", "Reactions", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
         if (dialogResult == System.Windows.Forms.DialogResult.Yes)
         {
             //this.Hide();
             QueryWindow.SetTan(tanNumber, tanId);
             QueryWindow.ShowWindow();
         }
         else
         {
             AddReviewedUserId();
             DialogResult = DialogStatus = true;
         }
     }
     catch (Exception ex)
     {
         Log.This(ex);
     }
 }
예제 #2
0
 private void QueryBtn_Click(object sender, RoutedEventArgs e)
 {
     QueryWindow.ShowWindow();
 }