Ejemplo n.º 1
0
 public ClickableCustomMessageBox(string title, string message, string firstLinkText, LinkLabelLinkClickedEventHandler LinkHandler, CustomMessageBoxStyle style)
     : base(title, message, style, false)
 {
     this._firstLinkText = firstLinkText;
       if (string.IsNullOrEmpty(this._firstLinkText))
     this._firstLinkText = string.Empty;
       this._linkHandler = LinkHandler;
 }
Ejemplo n.º 2
0
 protected CustomMessageBox(string message, CustomMessageBoxStyle style, bool scaleControls)
 {
     this.Text = DashboardStringHelper.GetString("ShortenedApplicationCaption");
       this._message = message;
       this._style = style;
       this.InitializeComponent();
       int num = scaleControls ? 1 : 0;
 }
Ejemplo n.º 3
0
 public ClickableCustomMessageBox(string message, string firstLinkText, LinkLabelLinkClickedEventHandler LinkHandler, CustomMessageBoxStyle style, DontShowThisMessageAgainOptions dontShowThisMessageAgainOption)
     : base(message, style, dontShowThisMessageAgainOption, false)
 {
     this._firstLinkText = firstLinkText;
       if (string.IsNullOrEmpty(this._firstLinkText))
     this._firstLinkText = string.Empty;
       this._linkHandler = LinkHandler;
 }
Ejemplo n.º 4
0
 public ClickableCustomMessageBox(string message, string firstLinkText, string secondLinkText, LinkLabelLinkClickedEventHandler LinkHandler, CustomMessageBoxStyle style, int toAvoidMethodSignatureClash)
     : base(message, style, false)
 {
     this._firstLinkText = firstLinkText;
       if (string.IsNullOrEmpty(this._firstLinkText))
     this._firstLinkText = string.Empty;
       this._secondLinkText = secondLinkText;
       if (string.IsNullOrEmpty(this._secondLinkText))
     this._secondLinkText = string.Empty;
       this._linkHandler = LinkHandler;
 }
Ejemplo n.º 5
0
 protected CustomMessageBox(string title, string message, CustomMessageBoxStyle style, bool scaleControls)
 {
     this.Text = title;
       this._message = message;
       this._style = style;
       this.InitializeComponent();
       int num = scaleControls ? 1 : 0;
 }
Ejemplo n.º 6
0
 public CustomMessageBox(string title, string message, CustomMessageBoxStyle style)
     : this(title, message, style, true)
 {
 }
Ejemplo n.º 7
0
 public CustomMessageBox(string message, CustomMessageBoxStyle style, DontShowThisMessageAgainOptions dontShowThisMessageAgainOption)
     : this(message, style, dontShowThisMessageAgainOption, true)
 {
 }
Ejemplo n.º 8
0
 private DialogResult ShowPromptDialog(string promptText, string clickableText, LinkLabelLinkClickedEventHandler linkClickedEventHandler, CustomMessageBoxStyle promptStyle)
 {
     if (this._fumoPromptCMB != null && this._fumoPromptCMB.Visible)
     return DialogResult.Ignore;
       this._fumoPromptCMB = new ClickableCustomMessageBox(promptText, clickableText, linkClickedEventHandler, promptStyle);
       this._fumoPromptCMB.AccessibleName = "FUMODownloadMB";
       this._fumoPromptCMB.LocationOfMessageBox = CustomMessageBoxLocation.AlwaysInTaskTrayBottom;
       return this._fumoPromptCMB.CustomShowDialog((IWin32Window) AppFramework.Dashboard, true);
 }