private void ChangeTestOutput(object sender, DialogCloseRequestedEventArgs e)
 {
     if ((bool)e.DialogResult)
     {
         TEST_OUTPUT += "Y";
     }
     else
     {
         TEST_OUTPUT += "N";
     }
 }
 public void TestEventHandler(object sender, DialogCloseRequestedEventArgs e)
 {
     testEventArgs = e;
 }
Example #3
0
 /// <summary>
 /// Ends a dialog session with the resulting arguments.
 /// </summary>
 /// <param name="args">contains the dialog result.</param>
 protected void RequestClose(DialogCloseRequestedEventArgs args)
 {
     CloseRequested?.Invoke(this, args);
 }