From dcd64398e9144d18856bac7a9dc5ced2d62b0956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20=C3=96man?= Date: Thu, 19 Mar 2020 23:59:49 +0100 Subject: [PATCH] Form 4 created --- TrackerUI/CreatePrizeForm.Designer.cs | 200 ++++++++++++++++++++++++++ TrackerUI/CreatePrizeForm.cs | 20 +++ TrackerUI/CreatePrizeForm.resx | 161 +++++++++++++++++++++ TrackerUI/TrackerUI.csproj | 9 ++ 4 files changed, 390 insertions(+) create mode 100644 TrackerUI/CreatePrizeForm.Designer.cs create mode 100644 TrackerUI/CreatePrizeForm.cs create mode 100644 TrackerUI/CreatePrizeForm.resx diff --git a/TrackerUI/CreatePrizeForm.Designer.cs b/TrackerUI/CreatePrizeForm.Designer.cs new file mode 100644 index 0000000..186c496 --- /dev/null +++ b/TrackerUI/CreatePrizeForm.Designer.cs @@ -0,0 +1,200 @@ +namespace TrackerUI +{ + partial class CreatePrizeForm + { + /// + /// 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() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreatePrizeForm)); + this.headerLabel = new System.Windows.Forms.Label(); + this.placeNumberValue = new System.Windows.Forms.TextBox(); + this.placeNumberLabel = new System.Windows.Forms.Label(); + this.prizePercentageValue = new System.Windows.Forms.TextBox(); + this.prizePercentageLabel = new System.Windows.Forms.Label(); + this.prizeAmountValue = new System.Windows.Forms.TextBox(); + this.prizeAmountLabel = new System.Windows.Forms.Label(); + this.placeNameValue = new System.Windows.Forms.TextBox(); + this.placeNameLabel = new System.Windows.Forms.Label(); + this.orLabel = new System.Windows.Forms.Label(); + this.createPrizeButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // headerLabel + // + this.headerLabel.AutoSize = true; + this.headerLabel.Font = new System.Drawing.Font("Segoe UI Light", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.headerLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.headerLabel.Location = new System.Drawing.Point(12, 9); + this.headerLabel.Name = "headerLabel"; + this.headerLabel.Size = new System.Drawing.Size(209, 50); + this.headerLabel.TabIndex = 12; + this.headerLabel.Text = "Create Prize"; + // + // placeNumberValue + // + this.placeNumberValue.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.placeNumberValue.Location = new System.Drawing.Point(183, 83); + this.placeNumberValue.Name = "placeNumberValue"; + this.placeNumberValue.Size = new System.Drawing.Size(234, 35); + this.placeNumberValue.TabIndex = 14; + // + // placeNumberLabel + // + this.placeNumberLabel.AutoSize = true; + this.placeNumberLabel.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.placeNumberLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.placeNumberLabel.Location = new System.Drawing.Point(16, 88); + this.placeNumberLabel.Name = "placeNumberLabel"; + this.placeNumberLabel.Size = new System.Drawing.Size(144, 30); + this.placeNumberLabel.TabIndex = 13; + this.placeNumberLabel.Text = "Place Number"; + // + // prizePercentageValue + // + this.prizePercentageValue.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prizePercentageValue.Location = new System.Drawing.Point(183, 296); + this.prizePercentageValue.Name = "prizePercentageValue"; + this.prizePercentageValue.Size = new System.Drawing.Size(234, 35); + this.prizePercentageValue.TabIndex = 16; + // + // prizePercentageLabel + // + this.prizePercentageLabel.AutoSize = true; + this.prizePercentageLabel.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prizePercentageLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.prizePercentageLabel.Location = new System.Drawing.Point(16, 301); + this.prizePercentageLabel.Name = "prizePercentageLabel"; + this.prizePercentageLabel.Size = new System.Drawing.Size(167, 30); + this.prizePercentageLabel.TabIndex = 15; + this.prizePercentageLabel.Text = "Prize Percentage"; + // + // prizeAmountValue + // + this.prizeAmountValue.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prizeAmountValue.Location = new System.Drawing.Point(183, 185); + this.prizeAmountValue.Name = "prizeAmountValue"; + this.prizeAmountValue.Size = new System.Drawing.Size(234, 35); + this.prizeAmountValue.TabIndex = 18; + // + // prizeAmountLabel + // + this.prizeAmountLabel.AutoSize = true; + this.prizeAmountLabel.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prizeAmountLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.prizeAmountLabel.Location = new System.Drawing.Point(16, 190); + this.prizeAmountLabel.Name = "prizeAmountLabel"; + this.prizeAmountLabel.Size = new System.Drawing.Size(139, 30); + this.prizeAmountLabel.TabIndex = 17; + this.prizeAmountLabel.Text = "Prize Amount"; + // + // placeNameValue + // + this.placeNameValue.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.placeNameValue.Location = new System.Drawing.Point(183, 134); + this.placeNameValue.Name = "placeNameValue"; + this.placeNameValue.Size = new System.Drawing.Size(234, 35); + this.placeNameValue.TabIndex = 20; + // + // placeNameLabel + // + this.placeNameLabel.AutoSize = true; + this.placeNameLabel.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.placeNameLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.placeNameLabel.Location = new System.Drawing.Point(16, 139); + this.placeNameLabel.Name = "placeNameLabel"; + this.placeNameLabel.Size = new System.Drawing.Size(124, 30); + this.placeNameLabel.TabIndex = 19; + this.placeNameLabel.Text = "Place Name"; + // + // orLabel + // + this.orLabel.AutoSize = true; + this.orLabel.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.orLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.orLabel.Location = new System.Drawing.Point(161, 241); + this.orLabel.Name = "orLabel"; + this.orLabel.Size = new System.Drawing.Size(60, 30); + this.orLabel.TabIndex = 21; + this.orLabel.Text = "- or -"; + // + // createPrizeButton + // + this.createPrizeButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.createPrizeButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.createPrizeButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.createPrizeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.createPrizeButton.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.createPrizeButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.createPrizeButton.Location = new System.Drawing.Point(124, 389); + this.createPrizeButton.Name = "createPrizeButton"; + this.createPrizeButton.Size = new System.Drawing.Size(224, 54); + this.createPrizeButton.TabIndex = 24; + this.createPrizeButton.Text = "Create Prize"; + this.createPrizeButton.UseVisualStyleBackColor = true; + // + // CreatePrizeForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(471, 504); + this.Controls.Add(this.createPrizeButton); + this.Controls.Add(this.orLabel); + this.Controls.Add(this.placeNameValue); + this.Controls.Add(this.placeNameLabel); + this.Controls.Add(this.prizeAmountValue); + this.Controls.Add(this.prizeAmountLabel); + this.Controls.Add(this.prizePercentageValue); + this.Controls.Add(this.prizePercentageLabel); + this.Controls.Add(this.placeNumberValue); + this.Controls.Add(this.placeNumberLabel); + this.Controls.Add(this.headerLabel); + this.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ForeColor = System.Drawing.Color.DodgerBlue; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); + this.Name = "CreatePrizeForm"; + this.Text = "Create Prize"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label headerLabel; + private System.Windows.Forms.TextBox placeNumberValue; + private System.Windows.Forms.Label placeNumberLabel; + private System.Windows.Forms.TextBox prizePercentageValue; + private System.Windows.Forms.Label prizePercentageLabel; + private System.Windows.Forms.TextBox prizeAmountValue; + private System.Windows.Forms.Label prizeAmountLabel; + private System.Windows.Forms.TextBox placeNameValue; + private System.Windows.Forms.Label placeNameLabel; + private System.Windows.Forms.Label orLabel; + private System.Windows.Forms.Button createPrizeButton; + } +} \ No newline at end of file diff --git a/TrackerUI/CreatePrizeForm.cs b/TrackerUI/CreatePrizeForm.cs new file mode 100644 index 0000000..ae534b6 --- /dev/null +++ b/TrackerUI/CreatePrizeForm.cs @@ -0,0 +1,20 @@ +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 TrackerUI +{ + public partial class CreatePrizeForm : Form + { + public CreatePrizeForm() + { + InitializeComponent(); + } + } +} diff --git a/TrackerUI/CreatePrizeForm.resx b/TrackerUI/CreatePrizeForm.resx new file mode 100644 index 0000000..7171e5e --- /dev/null +++ b/TrackerUI/CreatePrizeForm.resx @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + AAABAAEAAAAAAAEAIAA+CAAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFz + UkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAH00lEQVR4Xu3dQahl + dQHH8fM/joORwiwMlIQmaJFhODpjFAgmERS4aNFCwahQe5PMQhctpGSICIoCF2nzxgKNAl0EbQoMCkeY + heA83UQNJGRgOAsXkgPpOHP/nfvmvxjGCJx7351z7u/z2dz//7wHc+Hd8z3/e+fcc0rHWrv5qbpn15nu + 88NwX9fVj9Xa7RnG15bS3bD9C7U7W0v3+jB6cxi/Nbwg/jnruhPvni3H/3qonN7+HdaWAKyZO56qV51+ + p95V++4Lw/T20pWbzv/kg6ldPTu8OE4MwTjWl/LnExvlT+1HrBEBWBOfeXJ2w9nabQzD+4ed/rrzW5en + 1npyWDU88Z/3ytNWButDACbuwM9nN82u6A4Pw68MO/6u81t3UK1vDa+ap/v3yo9fOlROta1MlABM1Kce + r1d/aHc9PCzRH1rJjn+xeQi67pGtg/3m+Q1MkQBM0C2bsy/1pTsy/Pn2tk2XUX2xnOseOPFg/5e2gQkR + gAm543Dd9fb19bFSyqG2aRTaB4YPb230j7dNTIQATMT2kv/K+szwJ7urbRqfUn+69a3+O23GBAjABNz2 + eL1udmX93fDn+mzbNFrDauC31+wuX3vhm+WdtokRE4CRm+/853bV54dl/y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gDBBACCCQAEEwAIJgAQTAAgmABAMAGAYK4HcIGFb1s263b0u+bpaqn7SimPtekH + 5noA7ycAF1g4AIyaALyftwAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGACAMEEAIL5 + OjAska8DA5MhABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYA + EEwAIJgAQDABgGACAMEEAIK5L8BFFn1+XF6X+74R7gsATIYAQDABgGACAMEEAIIJAAQTAAgmABBMACCY + AEAwAYBgAgDBBACCCQAEEwAI5noAsESuBwBMhgBAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGAC + AMEEAIIJAAQTAAgmABBMACCYAEAwAYBgAgDBBACCCQAEEwAI5r4AF1n0+XF5Xe77RrgvADAZAgDBBACC + CQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJjrAcASuR4AMBkCAMEEAIIJAAQTAAgm + ABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJj7Alxk + 0ec3de67sBj3BQAmQwAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGACAMEEAIIJAARzPQBY + ItcDACZDACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgA + QDABgGACAMEEAIIJAAQTAAgmABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQA + ggkABCvtcWX2H621DYGLbG2Ule6TVgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGAC + AMEEAIIJAMTquv8C67rqXjdBWeYAAAAASUVORK5CYII= + + + \ No newline at end of file diff --git a/TrackerUI/TrackerUI.csproj b/TrackerUI/TrackerUI.csproj index 49602e4..6b3315e 100644 --- a/TrackerUI/TrackerUI.csproj +++ b/TrackerUI/TrackerUI.csproj @@ -46,6 +46,12 @@ + + Form + + + CreatePrizeForm.cs + Form @@ -66,6 +72,9 @@ + + CreatePrizeForm.cs + CreateTeamForm.cs