Form 4 created

This commit is contained in:
2020-03-19 23:59:49 +01:00
parent 4f4629d988
commit dcd64398e9
4 changed files with 390 additions and 0 deletions

200
TrackerUI/CreatePrizeForm.Designer.cs generated Normal file
View File

@ -0,0 +1,200 @@
namespace TrackerUI
{
partial class CreatePrizeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
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;
}
}

View File

@ -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();
}
}
}

View File

@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAAAAAAAEAIAA+CAAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFz
UkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAH00lEQVR4Xu3dQahl
dQHH8fM/joORwiwMlIQmaJFhODpjFAgmERS4aNFCwahQe5PMQhctpGSICIoCF2nzxgKNAl0EbQoMCkeY
heA83UQNJGRgOAsXkgPpOHP/nfvmvxjGCJx7351z7u/z2dz//7wHc+Hd8z3/e+fcc0rHWrv5qbpn15nu
88NwX9fVj9Xa7RnG15bS3bD9C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AQDABgGACAMEEAIIJAARzPQBY
ItcDACZDACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgA
QDABgGACAMEEAIIJAAQTAAgmABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQA
ggkABCvtcWX2H621DYGLbG2Ule6TVgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGAC
AMEEAIIJAMTquv8C67rqXjdBWeYAAAAASUVORK5CYII=
</value>
</data>
</root>

View File

@ -46,6 +46,12 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CreatePrizeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CreatePrizeForm.Designer.cs">
<DependentUpon>CreatePrizeForm.cs</DependentUpon>
</Compile>
<Compile Include="CreateTeamForm.cs">
<SubType>Form</SubType>
</Compile>
@ -66,6 +72,9 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="CreatePrizeForm.resx">
<DependentUpon>CreatePrizeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="CreateTeamForm.resx">
<DependentUpon>CreateTeamForm.cs</DependentUpon>
</EmbeddedResource>