Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.MainForm.WindowsForms/3.3/Dialogs/ErrorDialog.Designer.cs @ 16460

Last change on this file since 16460 was 13338, checked in by gkronber, 9 years ago

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File size: 8.5 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System.Drawing;
23
24namespace HeuristicLab.MainForm.WindowsForms {
25  partial class ErrorDialog {
26    /// <summary>
27    /// Required designer variable.
28    /// </summary>
29    private System.ComponentModel.IContainer components = null;
30
31    /// <summary>
32    /// Clean up any resources being used.
33    /// </summary>
34    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
35    protected override void Dispose(bool disposing) {
36      if (disposing && (components != null)) {
37        components.Dispose();
38      }
39      base.Dispose(disposing);
40    }
41
42    #region Windows Form Designer generated code
43
44    /// <summary>
45    /// Required method for Designer support - do not modify
46    /// the contents of this method with the code editor.
47    /// </summary>
48    private void InitializeComponent() {
49      this.okButton = new System.Windows.Forms.Button();
50      this.iconLabel = new System.Windows.Forms.Label();
51      this.messageTextBox = new System.Windows.Forms.TextBox();
52      this.detailsGroupBox = new System.Windows.Forms.GroupBox();
53      this.detailsTextBox = new System.Windows.Forms.TextBox();
54      this.supportLabel = new System.Windows.Forms.Label();
55      this.supportLinkLabel = new System.Windows.Forms.LinkLabel();
56      this.detailsGroupBox.SuspendLayout();
57      this.SuspendLayout();
58      //
59      // okButton
60      //
61      this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
62      this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
63      this.okButton.Location = new System.Drawing.Point(497, 327);
64      this.okButton.Name = "okButton";
65      this.okButton.Size = new System.Drawing.Size(75, 23);
66      this.okButton.TabIndex = 0;
67      this.okButton.Text = "&OK";
68      this.okButton.UseVisualStyleBackColor = true;
69      //
70      // iconLabel
71      //
72      this.iconLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Error;
73      this.iconLabel.Location = new System.Drawing.Point(12, 9);
74      this.iconLabel.Name = "iconLabel";
75      this.iconLabel.Size = new System.Drawing.Size(50, 60);
76      this.iconLabel.TabIndex = 1;
77      //
78      // messageTextBox
79      //
80      this.messageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
81                  | System.Windows.Forms.AnchorStyles.Right)));
82      this.messageTextBox.BackColor = System.Drawing.SystemColors.Control;
83      this.messageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
84      this.messageTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
85      this.messageTextBox.Location = new System.Drawing.Point(68, 12);
86      this.messageTextBox.Multiline = true;
87      this.messageTextBox.Name = "messageTextBox";
88      this.messageTextBox.ReadOnly = true;
89      this.messageTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
90      this.messageTextBox.Size = new System.Drawing.Size(504, 57);
91      this.messageTextBox.TabIndex = 2;
92      this.messageTextBox.Text = "Error Message";
93      //
94      // detailsGroupBox
95      //
96      this.detailsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
97                  | System.Windows.Forms.AnchorStyles.Left)
98                  | System.Windows.Forms.AnchorStyles.Right)));
99      this.detailsGroupBox.Controls.Add(this.detailsTextBox);
100      this.detailsGroupBox.Location = new System.Drawing.Point(12, 75);
101      this.detailsGroupBox.Name = "detailsGroupBox";
102      this.detailsGroupBox.Size = new System.Drawing.Size(560, 246);
103      this.detailsGroupBox.TabIndex = 3;
104      this.detailsGroupBox.TabStop = false;
105      this.detailsGroupBox.Text = "Details";
106      //
107      // detailsTextBox
108      //
109      this.detailsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
110                  | System.Windows.Forms.AnchorStyles.Left)
111                  | System.Windows.Forms.AnchorStyles.Right)));
112      this.detailsTextBox.BackColor = System.Drawing.SystemColors.Control;
113      this.detailsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
114      this.detailsTextBox.Location = new System.Drawing.Point(6, 19);
115      this.detailsTextBox.Multiline = true;
116      this.detailsTextBox.Name = "detailsTextBox";
117      this.detailsTextBox.ReadOnly = true;
118      this.detailsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
119      this.detailsTextBox.Size = new System.Drawing.Size(548, 221);
120      this.detailsTextBox.TabIndex = 0;
121      this.detailsTextBox.Text = "Stack Trace";
122      this.detailsTextBox.WordWrap = false;
123      //
124      // supportLabel
125      //
126      this.supportLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
127      this.supportLabel.AutoSize = true;
128      this.supportLabel.Location = new System.Drawing.Point(12, 332);
129      this.supportLabel.Name = "supportLabel";
130      this.supportLabel.Size = new System.Drawing.Size(264, 13);
131      this.supportLabel.TabIndex = 4;
132      this.supportLabel.Text = "If you have any problems or questions, please contact:";
133      //
134      // supportLinkLabel
135      //
136      this.supportLinkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
137      this.supportLinkLabel.AutoSize = true;
138      this.supportLinkLabel.Location = new System.Drawing.Point(298, 332);
139      this.supportLinkLabel.Name = "supportLinkLabel";
140      this.supportLinkLabel.Size = new System.Drawing.Size(129, 13);
141      this.supportLinkLabel.TabIndex = 5;
142      this.supportLinkLabel.TabStop = true;
143      this.supportLinkLabel.Text = "support@heuristiclab.com";
144      this.supportLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.supportLinkLabel_LinkClicked);
145      //
146      // ErrorDialog
147      //
148      this.AcceptButton = this.okButton;
149      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
150      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
151      this.CancelButton = this.okButton;
152      this.ClientSize = new System.Drawing.Size(584, 362);
153      this.Controls.Add(this.supportLinkLabel);
154      this.Controls.Add(this.supportLabel);
155      this.Controls.Add(this.detailsGroupBox);
156      this.Controls.Add(this.messageTextBox);
157      this.Controls.Add(this.iconLabel);
158      this.Controls.Add(this.okButton);
159      // this.Icon = HeuristicLab.Common.Resources.VSImageLibrary.Error; // TODO
160      this.MaximizeBox = false;
161      this.MinimizeBox = false;
162      this.Name = "ErrorDialog";
163      this.ShowInTaskbar = false;
164      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
165      this.Text = "Error";
166      this.TopMost = true;
167      this.detailsGroupBox.ResumeLayout(false);
168      this.detailsGroupBox.PerformLayout();
169      this.ResumeLayout(false);
170      this.PerformLayout();
171
172    }
173
174    #endregion
175
176    private System.Windows.Forms.Button okButton;
177    private System.Windows.Forms.Label iconLabel;
178    private System.Windows.Forms.TextBox messageTextBox;
179    private System.Windows.Forms.GroupBox detailsGroupBox;
180    private System.Windows.Forms.TextBox detailsTextBox;
181    private System.Windows.Forms.Label supportLabel;
182    private System.Windows.Forms.LinkLabel supportLinkLabel;
183  }
184}
Note: See TracBrowser for help on using the repository browser.