aboutsummaryrefslogtreecommitdiff
path: root/Project Ports/Crash.Designer.cs
diff options
context:
space:
mode:
authorAndrew <alee14498@gmail.com>2018-08-28 18:41:25 -0400
committerAndrew <alee14498@gmail.com>2018-08-28 18:41:25 -0400
commitc4202ae2daf74e47c1327ccbf0113cc3a7512c7a (patch)
treec1e0ee04b34d68064bc1d9d48f07fc652e88314f /Project Ports/Crash.Designer.cs
parent0be5946ce559ea76df7301bcbea87f17f6487652 (diff)
downloadProject-Silicon-c4202ae2daf74e47c1327ccbf0113cc3a7512c7a.tar.gz
Project-Silicon-c4202ae2daf74e47c1327ccbf0113cc3a7512c7a.tar.bz2
Project-Silicon-c4202ae2daf74e47c1327ccbf0113cc3a7512c7a.zip
Changed the crashing
Diffstat (limited to 'Project Ports/Crash.Designer.cs')
-rw-r--r--Project Ports/Crash.Designer.cs19
1 files changed, 18 insertions, 1 deletions
diff --git a/Project Ports/Crash.Designer.cs b/Project Ports/Crash.Designer.cs
index 3a81699..5f3906a 100644
--- a/Project Ports/Crash.Designer.cs
+++ b/Project Ports/Crash.Designer.cs
@@ -29,6 +29,7 @@
private void InitializeComponent()
{
this.txtCrash = new System.Windows.Forms.RichTextBox();
+ this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// txtCrash
@@ -42,11 +43,25 @@
this.txtCrash.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCrash.ForeColor = System.Drawing.Color.Red;
this.txtCrash.Location = new System.Drawing.Point(12, 12);
+ this.txtCrash.MaxLength = 32767;
this.txtCrash.Name = "txtCrash";
this.txtCrash.ReadOnly = true;
+ this.txtCrash.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
this.txtCrash.Size = new System.Drawing.Size(693, 441);
this.txtCrash.TabIndex = 0;
- this.txtCrash.Text = "";
+ this.txtCrash.Text = "PortOS.GUI has crashed...\nSYSTEM ERROR: CRASHED\nRebooting PortOS....";
+ //
+ // button1
+ //
+ this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.ForeColor = System.Drawing.Color.White;
+ this.button1.Location = new System.Drawing.Point(553, 430);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(152, 23);
+ this.button1.TabIndex = 1;
+ this.button1.Text = "Close (This will be removed)";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Crash
//
@@ -54,6 +69,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(717, 465);
+ this.Controls.Add(this.button1);
this.Controls.Add(this.txtCrash);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Crash";
@@ -67,5 +83,6 @@
#endregion
private System.Windows.Forms.RichTextBox txtCrash;
+ private System.Windows.Forms.Button button1;
}
} \ No newline at end of file