diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.Designer.cs b/Advanced Software Engineering/Advanced Software Engineering/About Window.Designer.cs new file mode 100644 index 0000000..f64c3a7 --- /dev/null +++ b/Advanced Software Engineering/Advanced Software Engineering/About Window.Designer.cs @@ -0,0 +1,110 @@ +namespace Advanced_Software_Engineering +{ + partial class About_Window + { + /// + /// 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.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(196, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Advanced Software Engineering Project"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(12, 26); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(235, 13); + this.label2.TabIndex = 1; + this.label2.Text = "Drawing Programming Language Implementation"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(253, 26); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(35, 13); + this.label3.TabIndex = 1; + this.label3.Text = "Part 1"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(13, 63); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(160, 13); + this.label4.TabIndex = 2; + this.label4.Text = "Programming by Lukasz Baldyga"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(15, 89); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(143, 13); + this.label5.TabIndex = 3; + this.label5.Text = "Icons by Sorana Ioana Marin"; + // + // About_Window + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(312, 206); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.Name = "About_Window"; + this.Text = "About"; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.About_Window_FormClosed); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + } +} \ No newline at end of file diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.cs b/Advanced Software Engineering/Advanced Software Engineering/About Window.cs new file mode 100644 index 0000000..fe508d0 --- /dev/null +++ b/Advanced Software Engineering/Advanced Software Engineering/About Window.cs @@ -0,0 +1,26 @@ +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 About_Window : Form + { + public About_Window() + { + InitializeComponent(); + SettingsAndHelperFunctions.NumberOfWindows++; + } + + private void About_Window_FormClosed(object sender, FormClosedEventArgs e) + { + SettingsAndHelperFunctions.WindowClosed(); + } + } +} diff --git a/Advanced Software Engineering/Advanced Software Engineering/About Window.resx b/Advanced Software Engineering/Advanced Software Engineering/About Window.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Advanced Software Engineering/Advanced Software Engineering/About Window.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/Advanced Software Engineering.csproj b/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj index 37042f1..c2ffc2f 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj +++ b/Advanced Software Engineering/Advanced Software Engineering/Advanced Software Engineering.csproj @@ -65,6 +65,12 @@ + + Form + + + About Window.cs + Form @@ -86,6 +92,9 @@ + + About Window.cs + DrawPreview.cs diff --git a/Advanced Software Engineering/Advanced Software Engineering/Menu.cs b/Advanced Software Engineering/Advanced Software Engineering/Menu.cs index 78c4163..8cca021 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Menu.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Menu.cs @@ -31,6 +31,7 @@ namespace Advanced_Software_Engineering private void button3_Click(object sender, EventArgs e) { + new About_Window().Show(); this.Hide(); }