diff --git a/TrackerUI/CreateTournamentForm.Designer.cs b/TrackerUI/CreateTournamentForm.Designer.cs new file mode 100644 index 0000000..b466085 --- /dev/null +++ b/TrackerUI/CreateTournamentForm.Designer.cs @@ -0,0 +1,293 @@ +namespace TrackerUI +{ + partial class CreateTournamentForm + { + /// + /// 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(CreateTournamentForm)); + this.headerLabel = new System.Windows.Forms.Label(); + this.tournamentNameValue = new System.Windows.Forms.TextBox(); + this.tournamentNameLabel = new System.Windows.Forms.Label(); + this.entryFeeValue = new System.Windows.Forms.TextBox(); + this.entryFeeLabel = new System.Windows.Forms.Label(); + this.selectTeamDropDown = new System.Windows.Forms.ComboBox(); + this.selectTeamLabel = new System.Windows.Forms.Label(); + this.createNewTeamLink = new System.Windows.Forms.LinkLabel(); + this.addTeamButton = new System.Windows.Forms.Button(); + this.cratePrizeButton = new System.Windows.Forms.Button(); + this.tournamentPlayersListBox = new System.Windows.Forms.ListBox(); + this.tournamentPlayersLabel = new System.Windows.Forms.Label(); + this.deleteSelectedPlayerButton = new System.Windows.Forms.Button(); + this.deleteSelectedPrizeButton = new System.Windows.Forms.Button(); + this.prizesLabel = new System.Windows.Forms.Label(); + this.prizesListBox = new System.Windows.Forms.ListBox(); + this.createTournamentButton = 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(325, 50); + this.headerLabel.TabIndex = 1; + this.headerLabel.Text = "Create Tournament:"; + // + // tournamentNameValue + // + this.tournamentNameValue.Location = new System.Drawing.Point(21, 119); + this.tournamentNameValue.Name = "tournamentNameValue"; + this.tournamentNameValue.Size = new System.Drawing.Size(331, 35); + this.tournamentNameValue.TabIndex = 10; + // + // tournamentNameLabel + // + this.tournamentNameLabel.AutoSize = true; + this.tournamentNameLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tournamentNameLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.tournamentNameLabel.Location = new System.Drawing.Point(14, 79); + this.tournamentNameLabel.Name = "tournamentNameLabel"; + this.tournamentNameLabel.Size = new System.Drawing.Size(236, 37); + this.tournamentNameLabel.TabIndex = 9; + this.tournamentNameLabel.Text = "Tournament Name"; + // + // entryFeeValue + // + this.entryFeeValue.Location = new System.Drawing.Point(145, 177); + this.entryFeeValue.Name = "entryFeeValue"; + this.entryFeeValue.Size = new System.Drawing.Size(100, 35); + this.entryFeeValue.TabIndex = 12; + this.entryFeeValue.Text = "0"; + // + // entryFeeLabel + // + this.entryFeeLabel.AutoSize = true; + this.entryFeeLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.entryFeeLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.entryFeeLabel.Location = new System.Drawing.Point(14, 175); + this.entryFeeLabel.Name = "entryFeeLabel"; + this.entryFeeLabel.Size = new System.Drawing.Size(125, 37); + this.entryFeeLabel.TabIndex = 11; + this.entryFeeLabel.Text = "Entry Fee"; + // + // selectTeamDropDown + // + this.selectTeamDropDown.FormattingEnabled = true; + this.selectTeamDropDown.Location = new System.Drawing.Point(21, 272); + this.selectTeamDropDown.Name = "selectTeamDropDown"; + this.selectTeamDropDown.Size = new System.Drawing.Size(331, 38); + this.selectTeamDropDown.TabIndex = 14; + // + // selectTeamLabel + // + this.selectTeamLabel.AutoSize = true; + this.selectTeamLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.selectTeamLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.selectTeamLabel.Location = new System.Drawing.Point(14, 232); + this.selectTeamLabel.Name = "selectTeamLabel"; + this.selectTeamLabel.Size = new System.Drawing.Size(156, 37); + this.selectTeamLabel.TabIndex = 13; + this.selectTeamLabel.Text = "Select Team"; + // + // createNewTeamLink + // + this.createNewTeamLink.AutoSize = true; + this.createNewTeamLink.Location = new System.Drawing.Point(176, 238); + this.createNewTeamLink.Name = "createNewTeamLink"; + this.createNewTeamLink.Size = new System.Drawing.Size(176, 30); + this.createNewTeamLink.TabIndex = 15; + this.createNewTeamLink.TabStop = true; + this.createNewTeamLink.Text = "Create New Team"; + // + // addTeamButton + // + this.addTeamButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.addTeamButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.addTeamButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.addTeamButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.addTeamButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.addTeamButton.Location = new System.Drawing.Point(81, 327); + this.addTeamButton.Name = "addTeamButton"; + this.addTeamButton.Size = new System.Drawing.Size(191, 54); + this.addTeamButton.TabIndex = 16; + this.addTeamButton.Text = "Add Team"; + this.addTeamButton.UseVisualStyleBackColor = true; + // + // cratePrizeButton + // + this.cratePrizeButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.cratePrizeButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.cratePrizeButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.cratePrizeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cratePrizeButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.cratePrizeButton.Location = new System.Drawing.Point(81, 406); + this.cratePrizeButton.Name = "cratePrizeButton"; + this.cratePrizeButton.Size = new System.Drawing.Size(191, 54); + this.cratePrizeButton.TabIndex = 17; + this.cratePrizeButton.Text = "Create Prize"; + this.cratePrizeButton.UseVisualStyleBackColor = true; + // + // tournamentPlayersListBox + // + this.tournamentPlayersListBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tournamentPlayersListBox.FormattingEnabled = true; + this.tournamentPlayersListBox.ItemHeight = 30; + this.tournamentPlayersListBox.Location = new System.Drawing.Point(431, 119); + this.tournamentPlayersListBox.Name = "tournamentPlayersListBox"; + this.tournamentPlayersListBox.Size = new System.Drawing.Size(338, 152); + this.tournamentPlayersListBox.TabIndex = 18; + // + // tournamentPlayersLabel + // + this.tournamentPlayersLabel.AutoSize = true; + this.tournamentPlayersLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tournamentPlayersLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.tournamentPlayersLabel.Location = new System.Drawing.Point(424, 79); + this.tournamentPlayersLabel.Name = "tournamentPlayersLabel"; + this.tournamentPlayersLabel.Size = new System.Drawing.Size(198, 37); + this.tournamentPlayersLabel.TabIndex = 19; + this.tournamentPlayersLabel.Text = "Teams / Players"; + // + // deleteSelectedPlayerButton + // + this.deleteSelectedPlayerButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.deleteSelectedPlayerButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.deleteSelectedPlayerButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.deleteSelectedPlayerButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.deleteSelectedPlayerButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.deleteSelectedPlayerButton.Location = new System.Drawing.Point(796, 159); + this.deleteSelectedPlayerButton.Name = "deleteSelectedPlayerButton"; + this.deleteSelectedPlayerButton.Size = new System.Drawing.Size(125, 73); + this.deleteSelectedPlayerButton.TabIndex = 20; + this.deleteSelectedPlayerButton.Text = "Delete Selected"; + this.deleteSelectedPlayerButton.UseVisualStyleBackColor = true; + // + // deleteSelectedPrizeButton + // + this.deleteSelectedPrizeButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.deleteSelectedPrizeButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.deleteSelectedPrizeButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.deleteSelectedPrizeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.deleteSelectedPrizeButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.deleteSelectedPrizeButton.Location = new System.Drawing.Point(796, 365); + this.deleteSelectedPrizeButton.Name = "deleteSelectedPrizeButton"; + this.deleteSelectedPrizeButton.Size = new System.Drawing.Size(125, 73); + this.deleteSelectedPrizeButton.TabIndex = 23; + this.deleteSelectedPrizeButton.Text = "Delete Selected"; + this.deleteSelectedPrizeButton.UseVisualStyleBackColor = true; + // + // prizesLabel + // + this.prizesLabel.AutoSize = true; + this.prizesLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.prizesLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.prizesLabel.Location = new System.Drawing.Point(424, 287); + this.prizesLabel.Name = "prizesLabel"; + this.prizesLabel.Size = new System.Drawing.Size(198, 37); + this.prizesLabel.TabIndex = 22; + this.prizesLabel.Text = "Teams / Players"; + // + // prizesListBox + // + this.prizesListBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.prizesListBox.FormattingEnabled = true; + this.prizesListBox.ItemHeight = 30; + this.prizesListBox.Location = new System.Drawing.Point(431, 327); + this.prizesListBox.Name = "prizesListBox"; + this.prizesListBox.Size = new System.Drawing.Size(338, 152); + this.prizesListBox.TabIndex = 21; + // + // createTournamentButton + // + this.createTournamentButton.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.createTournamentButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.createTournamentButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.createTournamentButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.createTournamentButton.ForeColor = System.Drawing.Color.DodgerBlue; + this.createTournamentButton.Location = new System.Drawing.Point(296, 512); + this.createTournamentButton.Name = "createTournamentButton"; + this.createTournamentButton.Size = new System.Drawing.Size(284, 54); + this.createTournamentButton.TabIndex = 24; + this.createTournamentButton.Text = "Create Tournament"; + this.createTournamentButton.UseVisualStyleBackColor = true; + // + // CreateTournamentForm + // + 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(945, 594); + this.Controls.Add(this.createTournamentButton); + this.Controls.Add(this.deleteSelectedPrizeButton); + this.Controls.Add(this.prizesLabel); + this.Controls.Add(this.prizesListBox); + this.Controls.Add(this.deleteSelectedPlayerButton); + this.Controls.Add(this.tournamentPlayersLabel); + this.Controls.Add(this.tournamentPlayersListBox); + this.Controls.Add(this.cratePrizeButton); + this.Controls.Add(this.addTeamButton); + this.Controls.Add(this.createNewTeamLink); + this.Controls.Add(this.selectTeamDropDown); + this.Controls.Add(this.selectTeamLabel); + this.Controls.Add(this.entryFeeValue); + this.Controls.Add(this.entryFeeLabel); + this.Controls.Add(this.tournamentNameValue); + this.Controls.Add(this.tournamentNameLabel); + 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); + this.Name = "CreateTournamentForm"; + this.Text = "CreateTournament"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label headerLabel; + private System.Windows.Forms.TextBox tournamentNameValue; + private System.Windows.Forms.Label tournamentNameLabel; + private System.Windows.Forms.TextBox entryFeeValue; + private System.Windows.Forms.Label entryFeeLabel; + private System.Windows.Forms.ComboBox selectTeamDropDown; + private System.Windows.Forms.Label selectTeamLabel; + private System.Windows.Forms.LinkLabel createNewTeamLink; + private System.Windows.Forms.Button addTeamButton; + private System.Windows.Forms.Button cratePrizeButton; + private System.Windows.Forms.ListBox tournamentPlayersListBox; + private System.Windows.Forms.Label tournamentPlayersLabel; + private System.Windows.Forms.Button deleteSelectedPlayerButton; + private System.Windows.Forms.Button deleteSelectedPrizeButton; + private System.Windows.Forms.Label prizesLabel; + private System.Windows.Forms.ListBox prizesListBox; + private System.Windows.Forms.Button createTournamentButton; + } +} \ No newline at end of file diff --git a/TrackerUI/CreateTournamentForm.cs b/TrackerUI/CreateTournamentForm.cs new file mode 100644 index 0000000..c834072 --- /dev/null +++ b/TrackerUI/CreateTournamentForm.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 CreateTournamentForm : Form + { + public CreateTournamentForm() + { + InitializeComponent(); + } + } +} diff --git a/TrackerUI/CreateTournamentForm.resx b/TrackerUI/CreateTournamentForm.resx new file mode 100644 index 0000000..7171e5e --- /dev/null +++ b/TrackerUI/CreateTournamentForm.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/yfbptGrtR6/5o1y5wvfL2fb + Jkaqb4+M0PyknvmRf0o7/9zwfG9/+/p6pE0ZMQEYsdNn6i+msOz/X4YI3L9/c3awTRkpARipYef53rAb + 3dumk1RL97P9R+r8ewiMlM8ARuiWzdmBvpSX2nTSaq2vv3O23Oj04XGyAhihocqPteHkDW8FbrhqV/1u + mzIyVgAjc+Do7O7alWfadMnq/Ch8rNbutWHH/FeddadK3+0djtIfHV4Jnxh+Nv/24NJPK56fKFT77sZX + HuhfbZsYCQEYke2v8p6pfxv+LEs7xbedpffssGP/6sO7u+P/7//n59cO6N+td5XS3Tf8/pLfu9fntjb6 + L7cJIyEAI3Lr5uyh4ci8tOX/cGR/tl7RPXopR975h3e11B/M/0uvbVpYPVc/9/KD/Yttygj4DGBcvt4e + F7K95K71gZcP9vdc6rJ769vl2PxknvnpvW3T4vruvjZiJKwARuK2J+u+We1eadMF1NP1XPfFZR5pb9mc + 3duX8us2XUA9ffXu8hGnCY+HFcBIzGpd+Oi/feQ/192z7GX2Kwf73wzvJx5t0wWUq//9bv1qmzACVgAX + uPVI/UYbrl6pPxneb1/bZpfqka2N8qM2XrpbN2fPDM/x7ja9RPVEnZUn2mSlaqmnhpg916YMBOAC+4/W + 2oaTM7znPzm8Z//0Tn4Bp30r8e/zI3nbNCnDCunYyxv9nW3KwFuANTGU6+Gd/vbd+WsAlh+2KWtAANZB + ra+ucGn7y/lnDW3MxAnAOijd79tox21tlDeHh+PnZ0ydAKyBWe3+2IarMev+0EZMnACsgVktJ9twJUrX + vdaGTJwArIE9p7bv7bcyta7232PnCMDE1a6eWvW1984VdwRaFwIwccNy3Gm1XDIBgGArPxNwymfbjVN9 + bWuj/3ibrMTNR+reXX33jzZlibY2ykr3SSsACCYAEEwAIJgAQDAfAi7Rqj/ASbN9k5G+e75N15IPAYGV + EQAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACDa5U4F38lTJMT83Fj8VeBV3Bpraa8gKAIIJAAQTAAgm + ABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYK4HcIGFb1s263b0u+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/TournamentViewerForm.Designer.cs b/TrackerUI/TournamentViewerForm.Designer.cs index b39419f..8d30546 100644 --- a/TrackerUI/TournamentViewerForm.Designer.cs +++ b/TrackerUI/TournamentViewerForm.Designer.cs @@ -32,6 +32,17 @@ this.headerLabel = new System.Windows.Forms.Label(); this.tournamentName = new System.Windows.Forms.Label(); this.roundLabel = new System.Windows.Forms.Label(); + this.roundDropDown = new System.Windows.Forms.ComboBox(); + this.unplayedOnlyCheckbox = new System.Windows.Forms.CheckBox(); + this.MatchUpListBox = new System.Windows.Forms.ListBox(); + this.teamOneName = new System.Windows.Forms.Label(); + this.teamOneScoreLabel = new System.Windows.Forms.Label(); + this.teamOneScoeValue = new System.Windows.Forms.TextBox(); + this.teamTwoScoeValue = new System.Windows.Forms.TextBox(); + this.teamTwoScoreLabel = new System.Windows.Forms.Label(); + this.teamTwoName = new System.Windows.Forms.Label(); + this.versusLabel = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // headerLabel @@ -60,18 +71,144 @@ // roundLabel // this.roundLabel.AutoSize = true; - this.roundLabel.Location = new System.Drawing.Point(33, 99); + this.roundLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.roundLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.roundLabel.Location = new System.Drawing.Point(26, 80); this.roundLabel.Name = "roundLabel"; - this.roundLabel.Size = new System.Drawing.Size(73, 30); + this.roundLabel.Size = new System.Drawing.Size(94, 37); this.roundLabel.TabIndex = 2; this.roundLabel.Text = "Round"; // + // roundDropDown + // + this.roundDropDown.FormattingEnabled = true; + this.roundDropDown.Location = new System.Drawing.Point(126, 79); + this.roundDropDown.Name = "roundDropDown"; + this.roundDropDown.Size = new System.Drawing.Size(245, 38); + this.roundDropDown.TabIndex = 3; + // + // unplayedOnlyCheckbox + // + this.unplayedOnlyCheckbox.AutoSize = true; + this.unplayedOnlyCheckbox.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.unplayedOnlyCheckbox.ForeColor = System.Drawing.Color.DodgerBlue; + this.unplayedOnlyCheckbox.Location = new System.Drawing.Point(126, 135); + this.unplayedOnlyCheckbox.Name = "unplayedOnlyCheckbox"; + this.unplayedOnlyCheckbox.Size = new System.Drawing.Size(212, 41); + this.unplayedOnlyCheckbox.TabIndex = 4; + this.unplayedOnlyCheckbox.Text = "Unplayed Only"; + this.unplayedOnlyCheckbox.UseVisualStyleBackColor = true; + // + // MatchUpListBox + // + this.MatchUpListBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.MatchUpListBox.FormattingEnabled = true; + this.MatchUpListBox.ItemHeight = 30; + this.MatchUpListBox.Location = new System.Drawing.Point(33, 193); + this.MatchUpListBox.Name = "MatchUpListBox"; + this.MatchUpListBox.Size = new System.Drawing.Size(338, 272); + this.MatchUpListBox.TabIndex = 5; + // + // teamOneName + // + this.teamOneName.AutoSize = true; + this.teamOneName.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.teamOneName.ForeColor = System.Drawing.Color.DodgerBlue; + this.teamOneName.Location = new System.Drawing.Point(410, 193); + this.teamOneName.Name = "teamOneName"; + this.teamOneName.Size = new System.Drawing.Size(165, 37); + this.teamOneName.TabIndex = 6; + this.teamOneName.Text = ""; + // + // teamOneScoreLabel + // + this.teamOneScoreLabel.AutoSize = true; + this.teamOneScoreLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.teamOneScoreLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.teamOneScoreLabel.Location = new System.Drawing.Point(410, 248); + this.teamOneScoreLabel.Name = "teamOneScoreLabel"; + this.teamOneScoreLabel.Size = new System.Drawing.Size(82, 37); + this.teamOneScoreLabel.TabIndex = 7; + this.teamOneScoreLabel.Text = "Score"; + // + // teamOneScoeValue + // + this.teamOneScoeValue.Location = new System.Drawing.Point(498, 250); + this.teamOneScoeValue.Name = "teamOneScoeValue"; + this.teamOneScoeValue.Size = new System.Drawing.Size(100, 35); + this.teamOneScoeValue.TabIndex = 8; + // + // teamTwoScoeValue + // + this.teamTwoScoeValue.Location = new System.Drawing.Point(498, 389); + this.teamTwoScoeValue.Name = "teamTwoScoeValue"; + this.teamTwoScoeValue.Size = new System.Drawing.Size(100, 35); + this.teamTwoScoeValue.TabIndex = 11; + // + // teamTwoScoreLabel + // + this.teamTwoScoreLabel.AutoSize = true; + this.teamTwoScoreLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.teamTwoScoreLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.teamTwoScoreLabel.Location = new System.Drawing.Point(410, 387); + this.teamTwoScoreLabel.Name = "teamTwoScoreLabel"; + this.teamTwoScoreLabel.Size = new System.Drawing.Size(82, 37); + this.teamTwoScoreLabel.TabIndex = 10; + this.teamTwoScoreLabel.Text = "Score"; + // + // teamTwoName + // + this.teamTwoName.AutoSize = true; + this.teamTwoName.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.teamTwoName.ForeColor = System.Drawing.Color.DodgerBlue; + this.teamTwoName.Location = new System.Drawing.Point(410, 332); + this.teamTwoName.Name = "teamTwoName"; + this.teamTwoName.Size = new System.Drawing.Size(165, 37); + this.teamTwoName.TabIndex = 9; + this.teamTwoName.Text = ""; + // + // versusLabel + // + this.versusLabel.AutoSize = true; + this.versusLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.versusLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.versusLabel.Location = new System.Drawing.Point(491, 295); + this.versusLabel.Name = "versusLabel"; + this.versusLabel.Size = new System.Drawing.Size(84, 37); + this.versusLabel.TabIndex = 12; + this.versusLabel.Text = "- VS -"; + // + // button1 + // + this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DimGray; + this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.ForeColor = System.Drawing.Color.DodgerBlue; + this.button1.Location = new System.Drawing.Point(616, 286); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(125, 58); + this.button1.TabIndex = 13; + this.button1.Text = "Score"; + this.button1.UseVisualStyleBackColor = true; + // // TournamentViewerForm // 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(697, 487); + this.ClientSize = new System.Drawing.Size(763, 487); + this.Controls.Add(this.button1); + this.Controls.Add(this.versusLabel); + this.Controls.Add(this.teamTwoScoeValue); + this.Controls.Add(this.teamTwoScoreLabel); + this.Controls.Add(this.teamTwoName); + this.Controls.Add(this.teamOneScoeValue); + this.Controls.Add(this.teamOneScoreLabel); + this.Controls.Add(this.teamOneName); + this.Controls.Add(this.MatchUpListBox); + this.Controls.Add(this.unplayedOnlyCheckbox); + this.Controls.Add(this.roundDropDown); this.Controls.Add(this.roundLabel); this.Controls.Add(this.tournamentName); this.Controls.Add(this.headerLabel); @@ -90,6 +227,17 @@ private System.Windows.Forms.Label headerLabel; private System.Windows.Forms.Label tournamentName; private System.Windows.Forms.Label roundLabel; + private System.Windows.Forms.ComboBox roundDropDown; + private System.Windows.Forms.CheckBox unplayedOnlyCheckbox; + private System.Windows.Forms.ListBox MatchUpListBox; + private System.Windows.Forms.Label teamOneName; + private System.Windows.Forms.Label teamOneScoreLabel; + private System.Windows.Forms.TextBox teamOneScoeValue; + private System.Windows.Forms.TextBox teamTwoScoeValue; + private System.Windows.Forms.Label teamTwoScoreLabel; + private System.Windows.Forms.Label teamTwoName; + private System.Windows.Forms.Label versusLabel; + private System.Windows.Forms.Button button1; } } diff --git a/TrackerUI/TrackerUI.csproj b/TrackerUI/TrackerUI.csproj index f5bae9e..78063fc 100644 --- a/TrackerUI/TrackerUI.csproj +++ b/TrackerUI/TrackerUI.csproj @@ -46,6 +46,12 @@ + + Form + + + CreateTournamentForm.cs + Form @@ -54,6 +60,9 @@ + + CreateTournamentForm.cs + ResXFileCodeGenerator Resources.Designer.cs