diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/AboutWindow.Designer.cs
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/About Window.Designer.cs
rename to Advanced Software Engineering/Advanced Software Engineering/AboutWindow.Designer.cs
diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.cs b/Advanced Software Engineering/Advanced Software Engineering/AboutWindow.cs
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/About Window.cs
rename to Advanced Software Engineering/Advanced Software Engineering/AboutWindow.cs
diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.resx b/Advanced Software Engineering/Advanced Software Engineering/AboutWindow.resx
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/About Window.resx
rename to Advanced Software Engineering/Advanced Software Engineering/AboutWindow.resx
diff --git a/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj b/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj
index 3f4b2be..84f9125 100644
--- a/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj
+++ b/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj
@@ -66,11 +66,11 @@
-
+
Form
-
- About Window.cs
+
+ AboutWindow.cs
@@ -80,11 +80,17 @@
DrawPreview.cs
-
+
Form
-
- Text Editor.cs
+
+ ErrorWindow.cs
+
+
+ Form
+
+
+ TextEditor.cs
@@ -95,14 +101,17 @@
-
- About Window.cs
+
+ AboutWindow.cs
DrawPreview.cs
-
- Text Editor.cs
+
+ ErrorWindow.cs
+
+
+ TextEditor.cs
Menu.cs
diff --git a/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.Designer.cs
new file mode 100644
index 0000000..afd1cea
--- /dev/null
+++ b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.Designer.cs
@@ -0,0 +1,110 @@
+namespace Advanced_Software_Engineering {
+ partial class ErrorWindow {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing) {
+ if (disposing && (components != null)) {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent() {
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.button1 = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Location = new System.Drawing.Point(6, 19);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(56, 60);
+ this.pictureBox1.TabIndex = 0;
+ this.pictureBox1.TabStop = false;
+ //
+ // button1
+ //
+ this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.button1.Location = new System.Drawing.Point(0, 430);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(330, 23);
+ this.button1.TabIndex = 1;
+ this.button1.Text = "button1";
+ this.button1.UseVisualStyleBackColor = true;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(68, 19);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(35, 13);
+ this.label1.TabIndex = 2;
+ this.label1.Text = "label1";
+ //
+ // textBox1
+ //
+ this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.textBox1.Enabled = false;
+ this.textBox1.Location = new System.Drawing.Point(0, 106);
+ this.textBox1.Multiline = true;
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(330, 324);
+ this.textBox1.TabIndex = 3;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.pictureBox1);
+ this.groupBox1.Controls.Add(this.label1);
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupBox1.Location = new System.Drawing.Point(0, 0);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(330, 100);
+ this.groupBox1.TabIndex = 4;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "groupBox1";
+ //
+ // ErrorWindow
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(330, 453);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.button1);
+ this.Name = "ErrorWindow";
+ this.Text = "ErrorWindow";
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.GroupBox groupBox1;
+ }
+}
\ No newline at end of file
diff --git a/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.cs b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.cs
new file mode 100644
index 0000000..bd66798
--- /dev/null
+++ b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Advanced_Software_Engineering {
+ public partial class ErrorWindow : Form {
+ public ErrorWindow() {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.resx b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Advanced Software Engineering/Advanced Software Engineering/ErrorWindow.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Advanced Software Engineering/Advanced Software Engineering/Menu.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/Menu.Designer.cs
index 19e1eb8..482909f 100644
--- a/Advanced Software Engineering/Advanced Software Engineering/Menu.Designer.cs
+++ b/Advanced Software Engineering/Advanced Software Engineering/Menu.Designer.cs
@@ -37,13 +37,15 @@
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
+ this.button5 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
- this.button1.Location = new System.Drawing.Point(12, 56);
+ this.button1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button1.Location = new System.Drawing.Point(0, 26);
this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(195, 23);
+ this.button1.Size = new System.Drawing.Size(172, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Interactive Preview";
this.button1.UseVisualStyleBackColor = true;
@@ -51,9 +53,10 @@
//
// button2
//
- this.button2.Location = new System.Drawing.Point(12, 85);
+ this.button2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button2.Location = new System.Drawing.Point(0, 49);
this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(195, 23);
+ this.button2.Size = new System.Drawing.Size(172, 23);
this.button2.TabIndex = 0;
this.button2.Text = "Text Editor";
this.button2.UseVisualStyleBackColor = true;
@@ -61,9 +64,10 @@
//
// button3
//
- this.button3.Location = new System.Drawing.Point(12, 114);
+ this.button3.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button3.Location = new System.Drawing.Point(0, 72);
this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(195, 23);
+ this.button3.Size = new System.Drawing.Size(172, 23);
this.button3.TabIndex = 0;
this.button3.Text = "About";
this.button3.UseVisualStyleBackColor = true;
@@ -72,7 +76,8 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(13, 13);
+ this.label1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(160, 13);
this.label1.TabIndex = 1;
@@ -81,7 +86,8 @@
// label2
//
this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(13, 30);
+ this.label2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.label2.Location = new System.Drawing.Point(0, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(88, 13);
this.label2.TabIndex = 2;
@@ -89,25 +95,37 @@
//
// button4
//
- this.button4.Location = new System.Drawing.Point(12, 143);
+ this.button4.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button4.Location = new System.Drawing.Point(0, 95);
this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(195, 23);
+ this.button4.Size = new System.Drawing.Size(172, 23);
this.button4.TabIndex = 0;
this.button4.Text = "Exit";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
+ // button5
+ //
+ this.button5.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button5.Location = new System.Drawing.Point(0, 118);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(172, 23);
+ this.button5.TabIndex = 3;
+ this.button5.Text = "Simple Error Box Test";
+ this.button5.UseVisualStyleBackColor = true;
+ //
// Menu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(219, 176);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
+ this.ClientSize = new System.Drawing.Size(172, 142);
+ this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
@@ -128,6 +146,7 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button5;
}
}
diff --git a/Advanced Software Engineering/Advanced Software Engineering/Text Editor.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/TextEditor.Designer.cs
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/Text Editor.Designer.cs
rename to Advanced Software Engineering/Advanced Software Engineering/TextEditor.Designer.cs
diff --git a/Advanced Software Engineering/Advanced Software Engineering/Text Editor.cs b/Advanced Software Engineering/Advanced Software Engineering/TextEditor.cs
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/Text Editor.cs
rename to Advanced Software Engineering/Advanced Software Engineering/TextEditor.cs
diff --git a/Advanced Software Engineering/Advanced Software Engineering/Text Editor.resx b/Advanced Software Engineering/Advanced Software Engineering/TextEditor.resx
similarity index 100%
rename from Advanced Software Engineering/Advanced Software Engineering/Text Editor.resx
rename to Advanced Software Engineering/Advanced Software Engineering/TextEditor.resx