public MessageBox(RequestEventArgs e, AViewWindow owner, IEmailSource email_source)
     : this(e.title, e.message, e.suppressable, owner, email_source) {
     this.e = e;
     switch (e.info_type) {
         case RequestType.Question:
             yesButton.Visibility = System.Windows.Visibility.Visible;
             noButton.Visibility = System.Windows.Visibility.Visible;
             questionIcon.Visibility = System.Windows.Visibility.Visible;
             break;
         default:
             this.DialogResult = false;
             throw new NotImplementedException();
     }
     this.Suppress.Content = Strings.GetLabelString("SuppressFurtherRequests");
 }
 protected static void waitForResponse(RespondableEventArg e) {
     while (e.response == ResponseType.None)
         Thread.Sleep(100);
 }
 public MessageBox(MessageEventArgs e, AViewWindow owner, IEmailSource email_source)
     : this(e.type, e.title, e.message, e.exception, e.Suppressable, owner, email_source) {
     this.e = e;
 }