0:   //  LoadingError.cs
1:   //  Copyright (C) 2001 Mike Krueger
2:   //
3:   //  This program is free software; you can redistribute it and/or modify
4:   //  it under the terms of the GNU General Public License as published by
5:   //  the Free Software Foundation; either version 2 of the License, or
6:   //  (at your option) any later version.
7:   //
8:   //  This program is distributed in the hope that it will be useful,
9:   //  but WITHOUT ANY WARRANTY; without even the implied warranty of
10:   //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11:   //  GNU General Public License for more details.
12:   //
13:   //  You should have received a copy of the GNU General Public License
14:   //  along with this program; if not, write to the Free Software
15:   //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16:  
17:   using System;
18:   using System.Windows.Forms;
19:  
20:   namespace SharpDevelop.Gui.ErrorDialogs {
21:       
22:       public class LoadingError : System.Windows.Forms.Form 
23:       {
24:           private System.ComponentModel.Container components;
25:           private System.Windows.Forms.Button button1;
26:           private System.Windows.Forms.TextBox textBox1;
27:           private System.Windows.Forms.Label label3;
28:           
29:           private System.Windows.Forms.Label label1;
30:           
31:           public LoadingError(Exception e)
32:           {
33:               InitializeComponent();
34:               textBox1.Text e.ToString();
35:               TopMost        true;
36:               StartPosition  FormStartPosition.CenterScreen;
37:               FormBorderStyle    FormBorderStyle.FixedDialog;
38:               MaximizeBox  MinimizeBox ControlBox  false;
39:               Icon null;
40:           }
41:           
42:           /// <summary>
43:           /// Clean up any resources being used.
44:           /// </summary>
45:           protected override void Dispose(bool disposing)
46:           {
47:               if (disposing) {
48:                   if (components != null){
49:                       components.Dispose();
50:                   }
51:               }
52:               base.Dispose(disposing);
53:           }
54:           
55:           private void InitializeComponent()
56:           {
57:               this.components new System.ComponentModel.Container();
58:               this.button1 new System.Windows.Forms.Button();
59:               this.label1 new System.Windows.Forms.Label();
60:               this.textBox1 new System.Windows.Forms.TextBox();
61:               this.label3 new System.Windows.Forms.Label();
62:               
63:               button1.Location new System.Drawing.Point(152184);
64:               button1.DialogResult System.Windows.Forms.DialogResult.OK;
65:               button1.Size new System.Drawing.Size(7523);
66:               button1.TabIndex 4;
67:               button1.Text "OK";
68:               
69:               label1.Location new System.Drawing.Point(88);
70:               label1.Text "An error occured while loading Sharp Develop, the execution " 
71:                   "can\'t be continued, please reinstall";
72:               label1.Size new System.Drawing.Size(34432);
73:               label1.TabIndex 0;
74:               
75:               textBox1.Location new System.Drawing.Point(864);
76:               textBox1.ReadOnly true;
77:               textBox1.Multiline true;
78:               textBox1.TabIndex 3;
79:               textBox1.Size new System.Drawing.Size(344112);
80:               
81:               label3.Location new System.Drawing.Point(848);
82:               label3.Text "Description:";
83:               label3.Size new System.Drawing.Size(7216);
84:               label3.TabIndex 2;
85:               this.Text "Loading Error";
86:               this.AutoScaleBaseSize new System.Drawing.Size(513);
87:               this.ClientSize new System.Drawing.Size(360213);
88:               
89:               this.Controls.Add(button1);
90:               this.Controls.Add(textBox1);
91:               this.Controls.Add(label3);
92:               this.Controls.Add(label1);
93:           }
94:       }
95:   }

This page was automatically generated by SharpDevelop.