diff options
Diffstat (limited to 'Project Ports/Crash.Designer.cs')
| -rw-r--r-- | Project Ports/Crash.Designer.cs | 49 |
1 files changed, 19 insertions, 30 deletions
diff --git a/Project Ports/Crash.Designer.cs b/Project Ports/Crash.Designer.cs index 2be9530..3a81699 100644 --- a/Project Ports/Crash.Designer.cs +++ b/Project Ports/Crash.Designer.cs @@ -28,34 +28,25 @@ /// </summary> private void InitializeComponent() { - this.lbCrash = new System.Windows.Forms.Label(); - this.btnStartOver = new System.Windows.Forms.Button(); + this.txtCrash = new System.Windows.Forms.RichTextBox(); this.SuspendLayout(); // - // lbCrash + // txtCrash // - this.lbCrash.AutoSize = true; - this.lbCrash.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbCrash.ForeColor = System.Drawing.Color.Red; - this.lbCrash.Location = new System.Drawing.Point(12, 9); - this.lbCrash.Name = "lbCrash"; - this.lbCrash.Size = new System.Drawing.Size(406, 168); - this.lbCrash.TabIndex = 0; - this.lbCrash.Text = "PortOS.GUI has crashed....\r\n\r\nSYSTEM ERROR: CRASHED\r\n\r\nYou just lost the game :(\r" + - "\n\r\nPress the button to start over..."; - // - // btnStartOver - // - this.btnStartOver.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnStartOver.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnStartOver.ForeColor = System.Drawing.Color.White; - this.btnStartOver.Location = new System.Drawing.Point(619, 430); - this.btnStartOver.Name = "btnStartOver"; - this.btnStartOver.Size = new System.Drawing.Size(75, 23); - this.btnStartOver.TabIndex = 1; - this.btnStartOver.Text = "Start Over"; - this.btnStartOver.UseVisualStyleBackColor = true; - this.btnStartOver.Click += new System.EventHandler(this.btnStartOver_Click); + this.txtCrash.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtCrash.BackColor = System.Drawing.Color.Black; + this.txtCrash.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtCrash.Cursor = System.Windows.Forms.Cursors.IBeam; + 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.Name = "txtCrash"; + this.txtCrash.ReadOnly = true; + this.txtCrash.Size = new System.Drawing.Size(693, 441); + this.txtCrash.TabIndex = 0; + this.txtCrash.Text = ""; // // Crash // @@ -63,20 +54,18 @@ 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.btnStartOver); - this.Controls.Add(this.lbCrash); + this.Controls.Add(this.txtCrash); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Crash"; this.Text = "Crash"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.Load += new System.EventHandler(this.Crash_Load); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - private System.Windows.Forms.Label lbCrash; - private System.Windows.Forms.Button btnStartOver; + private System.Windows.Forms.RichTextBox txtCrash; } }
\ No newline at end of file |
