Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/FrameworkVersionErrorDialog.Designer.cs @ 15194

Last change on this file since 15194 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
RevLine 
[5984]1#region License Information
2/* HeuristicLab
[12012]3* Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
[5984]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
[5997]21
[13338]22namespace HeuristicLab.PluginInfrastructure.UI {
[5997]23  partial class FrameworkVersionErrorDialog {
[5984]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();
[5997]48      this.closeButton = new System.Windows.Forms.Button();
[5984]49      this.linkLabel = new System.Windows.Forms.LinkLabel();
[5997]50      this.label = new System.Windows.Forms.Label();
[8632]51      this.linkLabelMono = new System.Windows.Forms.LinkLabel();
[5984]52      this.SuspendLayout();
53      //
54      // iconLabel
55      //
[8632]56      this.iconLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
57            | System.Windows.Forms.AnchorStyles.Left)));
[13338]58      this.iconLabel.Image = Resources.Error;
[5997]59      this.iconLabel.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
[5984]60      this.iconLabel.Location = new System.Drawing.Point(12, 9);
61      this.iconLabel.Name = "iconLabel";
[8632]62      this.iconLabel.Size = new System.Drawing.Size(50, 121);
[5997]63      this.iconLabel.TabIndex = 0;
[5984]64      //
[5997]65      // closeButton
[5984]66      //
[5997]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;
[8632]69      this.closeButton.Location = new System.Drawing.Point(294, 104);
[5997]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);
[5984]76      //
77      // linkLabel
78      //
[8632]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)));
[5997]82      this.linkLabel.Location = new System.Drawing.Point(68, 52);
[5984]83      this.linkLabel.Name = "linkLabel";
[8632]84      this.linkLabel.Size = new System.Drawing.Size(301, 49);
[5997]85      this.linkLabel.TabIndex = 2;
[5984]86      this.linkLabel.TabStop = true;
[11634]87      this.linkLabel.Text = "Download Microsoft .NET Framework 4.5";
[5984]88      this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked);
89      //
[5997]90      // label
[5984]91      //
[8632]92      this.label.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
93            | System.Windows.Forms.AnchorStyles.Right)));
[5997]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;
[11634]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.";
[5984]100      //
[8632]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      //
[5997]114      // FrameworkVersionErrorDialog
[5984]115      //
[5997]116      this.AcceptButton = this.closeButton;
[7967]117      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
[5997]118      this.CancelButton = this.closeButton;
[8632]119      this.ClientSize = new System.Drawing.Size(381, 139);
120      this.Controls.Add(this.linkLabelMono);
[5997]121      this.Controls.Add(this.label);
[5984]122      this.Controls.Add(this.linkLabel);
[5997]123      this.Controls.Add(this.closeButton);
[5984]124      this.Controls.Add(this.iconLabel);
125      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
[13338]126      this.Icon = Resources.HeuristicLab;
[5984]127      this.MaximizeBox = false;
128      this.MinimizeBox = false;
[5997]129      this.Name = "FrameworkVersionErrorDialog";
[5984]130      this.ShowInTaskbar = false;
131      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
[5997]132      this.Text = "Error";
[5984]133      this.ResumeLayout(false);
134
135    }
136
137    #endregion
138
139    private System.Windows.Forms.Label iconLabel;
[5997]140    private System.Windows.Forms.Button closeButton;
[5984]141    private System.Windows.Forms.LinkLabel linkLabel;
[5997]142    private System.Windows.Forms.Label label;
[8632]143    private System.Windows.Forms.LinkLabel linkLabelMono;
[5984]144  }
145}
Note: See TracBrowser for help on using the repository browser.