Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure.UI/FrameworkVersionErrorDialog.Designer.cs @ 17120

Last change on this file since 17120 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: 6.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
22namespace HeuristicLab.PluginInfrastructure.UI {
23  partial class FrameworkVersionErrorDialog {
24    /// <summary>
25    /// Required designer variable.
26    /// </summary>
27    private System.ComponentModel.IContainer components = null;
28
29    /// <summary>
30    /// Clean up any resources being used.
31    /// </summary>
32    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33    protected override void Dispose(bool disposing) {
34      if (disposing && (components != null)) {
35        components.Dispose();
36      }
37      base.Dispose(disposing);
38    }
39
40    #region Windows Form Designer generated code
41
42    /// <summary>
43    /// Required method for Designer support - do not modify
44    /// the contents of this method with the code editor.
45    /// </summary>
46    private void InitializeComponent() {
47      this.iconLabel = new System.Windows.Forms.Label();
48      this.closeButton = new System.Windows.Forms.Button();
49      this.linkLabel = new System.Windows.Forms.LinkLabel();
50      this.label = new System.Windows.Forms.Label();
51      this.linkLabelMono = new System.Windows.Forms.LinkLabel();
52      this.SuspendLayout();
53      //
54      // iconLabel
55      //
56      this.iconLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
57            | System.Windows.Forms.AnchorStyles.Left)));
58      this.iconLabel.Image = Resources.Error;
59      this.iconLabel.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
60      this.iconLabel.Location = new System.Drawing.Point(12, 9);
61      this.iconLabel.Name = "iconLabel";
62      this.iconLabel.Size = new System.Drawing.Size(50, 121);
63      this.iconLabel.TabIndex = 0;
64      //
65      // closeButton
66      //
67      this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
68      this.closeButton.DialogResult = System.Windows.Forms.DialogResult.OK;
69      this.closeButton.Location = new System.Drawing.Point(294, 104);
70      this.closeButton.Name = "closeButton";
71      this.closeButton.Size = new System.Drawing.Size(75, 23);
72      this.closeButton.TabIndex = 3;
73      this.closeButton.Text = "&Close";
74      this.closeButton.UseVisualStyleBackColor = true;
75      this.closeButton.Click += new System.EventHandler(this.cancelButton_Click);
76      //
77      // linkLabel
78      //
79      this.linkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
80            | System.Windows.Forms.AnchorStyles.Left)
81            | System.Windows.Forms.AnchorStyles.Right)));
82      this.linkLabel.Location = new System.Drawing.Point(68, 52);
83      this.linkLabel.Name = "linkLabel";
84      this.linkLabel.Size = new System.Drawing.Size(301, 49);
85      this.linkLabel.TabIndex = 2;
86      this.linkLabel.TabStop = true;
87      this.linkLabel.Text = "Download Microsoft .NET Framework 4.5";
88      this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
89      //
90      // label
91      //
92      this.label.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
93            | System.Windows.Forms.AnchorStyles.Right)));
94      this.label.Location = new System.Drawing.Point(68, 9);
95      this.label.Name = "label";
96      this.label.Size = new System.Drawing.Size(301, 43);
97      this.label.TabIndex = 1;
98      this.label.Text = "To run HeuristicLab you need at least the Microsoft .NET Framework 4.5 or Mono ve" +
99    "rsion 3.6.0 or higher. Please download and install it.";
100      //
101      // linkLabelMono
102      //
103      this.linkLabelMono.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
104            | System.Windows.Forms.AnchorStyles.Left)
105            | System.Windows.Forms.AnchorStyles.Right)));
106      this.linkLabelMono.Location = new System.Drawing.Point(68, 72);
107      this.linkLabelMono.Name = "linkLabelMono";
108      this.linkLabelMono.Size = new System.Drawing.Size(301, 16);
109      this.linkLabelMono.TabIndex = 4;
110      this.linkLabelMono.TabStop = true;
111      this.linkLabelMono.Text = "Download Mono";
112      this.linkLabelMono.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelMono_LinkClicked);
113      //
114      // FrameworkVersionErrorDialog
115      //
116      this.AcceptButton = this.closeButton;
117      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
118      this.CancelButton = this.closeButton;
119      this.ClientSize = new System.Drawing.Size(381, 139);
120      this.Controls.Add(this.linkLabelMono);
121      this.Controls.Add(this.label);
122      this.Controls.Add(this.linkLabel);
123      this.Controls.Add(this.closeButton);
124      this.Controls.Add(this.iconLabel);
125      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
126      this.Icon = Resources.HeuristicLab;
127      this.MaximizeBox = false;
128      this.MinimizeBox = false;
129      this.Name = "FrameworkVersionErrorDialog";
130      this.ShowInTaskbar = false;
131      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
132      this.Text = "Error";
133      this.ResumeLayout(false);
134
135    }
136
137    #endregion
138
139    private System.Windows.Forms.Label iconLabel;
140    private System.Windows.Forms.Button closeButton;
141    private System.Windows.Forms.LinkLabel linkLabel;
142    private System.Windows.Forms.Label label;
143    private System.Windows.Forms.LinkLabel linkLabelMono;
144  }
145}
Note: See TracBrowser for help on using the repository browser.