Exemplo n.º 1
0
 private void RespondToSwagGood(object o, ThingGoodEventArgs e)
 {
     if (e.IsGood)
     {
         DialogResult = e.IsGood;
         Close();
     }
     else
     {
         MessageBox.Show("Please enter a valid swag Company and Thing", "Company and Thing is required", MessageBoxButton.OK, MessageBoxImage.Information);
     }
 }
Exemplo n.º 2
0
 private void RespondToAttendeeGood(object o, ThingGoodEventArgs e)
 {
     if (e.IsGood)
     {
         DialogResult = e.IsGood;
         Close();
     }
     else
     {
         MessageBox.Show("Please enter a valid attendee Name", "Name is required", MessageBoxButton.OK, MessageBoxImage.Information);
     }
 }