From 7f66ee41240df040e63d3c50fd20cc7cf5393601 Mon Sep 17 00:00:00 2001 From: cy1der <67352978+Cy1der@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:51:09 -0400 Subject: [PATCH] Small polishing changes --- .../forms/AudienceWindow.Designer.cs | 555 ++++---- .../forms/ControlPanel.Designer.cs | 267 +--- .../forms/ControlPanel.resx | 1139 +++++++++++++++++ Setup/Setup.vdproj | 10 +- 4 files changed, 1473 insertions(+), 498 deletions(-) diff --git a/Basketball Scoreboard System/forms/AudienceWindow.Designer.cs b/Basketball Scoreboard System/forms/AudienceWindow.Designer.cs index 4733d7d..3b7b86d 100644 --- a/Basketball Scoreboard System/forms/AudienceWindow.Designer.cs +++ b/Basketball Scoreboard System/forms/AudienceWindow.Designer.cs @@ -25,35 +25,266 @@ /// private void InitializeComponent() { - PanelParent = new Panel(); - LabelHomeTeamFouls = new Label(); - LabelHomeTeamFoulsTitle = new Label(); - LabelAwayTeamFouls = new Label(); - LabelAwayTeamFoulsTitle = new Label(); - LabelHomeTeamBonus = new Label(); - LabelAwayTeamBonus = new Label(); - LabelAwayTeamPossession = new Label(); - LabelHomeTeamPossession = new Label(); - LabelPeriod = new Label(); - LabelPeriodTitle = new Label(); - LabelAwayScore = new Label(); - LabelHomeScore = new Label(); - LabelShotClockTitle = new Label(); - LabelShotClock = new Label(); - PanelScoreAway = new Panel(); - LabelAwayTeamName = new Label(); - PanelScoreHome = new Panel(); - LabelHomeTeamName = new Label(); - LabelClock = new Label(); MainClockTimer = new System.Timers.Timer(); ShotClockTimer = new System.Timers.Timer(); - PanelParent.SuspendLayout(); - PanelScoreAway.SuspendLayout(); - PanelScoreHome.SuspendLayout(); + LabelClock = new Label(); + PanelScoreHome = new Panel(); + LabelHomeTeamName = new Label(); + PanelScoreAway = new Panel(); + LabelAwayTeamName = new Label(); + LabelShotClock = new Label(); + LabelShotClockTitle = new Label(); + LabelHomeScore = new Label(); + LabelAwayScore = new Label(); + LabelPeriodTitle = new Label(); + LabelPeriod = new Label(); + LabelHomeTeamPossession = new Label(); + LabelAwayTeamPossession = new Label(); + LabelAwayTeamBonus = new Label(); + LabelHomeTeamBonus = new Label(); + LabelAwayTeamFoulsTitle = new Label(); + LabelAwayTeamFouls = new Label(); + LabelHomeTeamFoulsTitle = new Label(); + LabelHomeTeamFouls = new Label(); + PanelParent = new Panel(); ((System.ComponentModel.ISupportInitialize)MainClockTimer).BeginInit(); ((System.ComponentModel.ISupportInitialize)ShotClockTimer).BeginInit(); + PanelScoreHome.SuspendLayout(); + PanelScoreAway.SuspendLayout(); + PanelParent.SuspendLayout(); SuspendLayout(); // + // MainClockTimer + // + MainClockTimer.Interval = 25D; + MainClockTimer.SynchronizingObject = this; + MainClockTimer.Elapsed += MainClockTimer_Elapsed; + // + // ShotClockTimer + // + ShotClockTimer.Interval = 1000D; + ShotClockTimer.SynchronizingObject = this; + ShotClockTimer.Elapsed += ShotClockTimer_Elapsed; + // + // LabelClock + // + LabelClock.BackColor = Color.Transparent; + LabelClock.Font = new Font("DSEG7 Classic", 128F, FontStyle.Regular, GraphicsUnit.Point); + LabelClock.ForeColor = Color.FromArgb(255, 128, 128); + LabelClock.Location = new Point(355, 0); + LabelClock.Name = "LabelClock"; + LabelClock.Size = new Size(700, 215); + LabelClock.TabIndex = 0; + LabelClock.Text = "--:--"; + LabelClock.TextAlign = ContentAlignment.MiddleCenter; + // + // PanelScoreHome + // + PanelScoreHome.Controls.Add(LabelHomeTeamName); + PanelScoreHome.Location = new Point(3, 3); + PanelScoreHome.Name = "PanelScoreHome"; + PanelScoreHome.Size = new Size(346, 212); + PanelScoreHome.TabIndex = 1; + // + // LabelHomeTeamName + // + LabelHomeTeamName.AutoSize = true; + LabelHomeTeamName.Font = new Font("Fira Mono", 32F, FontStyle.Regular, GraphicsUnit.Point); + LabelHomeTeamName.Location = new Point(6, 0); + LabelHomeTeamName.MaximumSize = new Size(340, 212); + LabelHomeTeamName.MinimumSize = new Size(340, 212); + LabelHomeTeamName.Name = "LabelHomeTeamName"; + LabelHomeTeamName.Size = new Size(340, 212); + LabelHomeTeamName.TabIndex = 0; + LabelHomeTeamName.Text = "----"; + LabelHomeTeamName.TextAlign = ContentAlignment.MiddleCenter; + LabelHomeTeamName.Paint += LabelHomeTeamName_Paint; + // + // PanelScoreAway + // + PanelScoreAway.Controls.Add(LabelAwayTeamName); + PanelScoreAway.Location = new Point(1061, 3); + PanelScoreAway.Name = "PanelScoreAway"; + PanelScoreAway.Size = new Size(346, 212); + PanelScoreAway.TabIndex = 2; + // + // LabelAwayTeamName + // + LabelAwayTeamName.AutoSize = true; + LabelAwayTeamName.Font = new Font("Fira Mono", 32F, FontStyle.Regular, GraphicsUnit.Point); + LabelAwayTeamName.Location = new Point(0, 0); + LabelAwayTeamName.MaximumSize = new Size(340, 212); + LabelAwayTeamName.MinimumSize = new Size(340, 212); + LabelAwayTeamName.Name = "LabelAwayTeamName"; + LabelAwayTeamName.Size = new Size(340, 212); + LabelAwayTeamName.TabIndex = 3; + LabelAwayTeamName.Text = "----"; + LabelAwayTeamName.TextAlign = ContentAlignment.MiddleCenter; + LabelAwayTeamName.Paint += LabelAwayTeamName_Paint; + // + // LabelShotClock + // + LabelShotClock.BackColor = Color.Transparent; + LabelShotClock.Font = new Font("DSEG7 Classic", 95.99998F, FontStyle.Regular, GraphicsUnit.Point); + LabelShotClock.ForeColor = Color.FromArgb(255, 128, 128); + LabelShotClock.Location = new Point(567, 300); + LabelShotClock.Name = "LabelShotClock"; + LabelShotClock.Size = new Size(277, 160); + LabelShotClock.TabIndex = 3; + LabelShotClock.Text = "--"; + LabelShotClock.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelShotClockTitle + // + LabelShotClockTitle.Font = new Font("Fira Mono", 36F, FontStyle.Bold, GraphicsUnit.Point); + LabelShotClockTitle.Location = new Point(529, 223); + LabelShotClockTitle.Name = "LabelShotClockTitle"; + LabelShotClockTitle.Size = new Size(352, 77); + LabelShotClockTitle.TabIndex = 4; + LabelShotClockTitle.Text = "SHOT CLOCK"; + LabelShotClockTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelHomeScore + // + LabelHomeScore.BackColor = Color.Transparent; + LabelHomeScore.Font = new Font("DSEG7 Classic", 120F, FontStyle.Regular, GraphicsUnit.Point); + LabelHomeScore.ForeColor = Color.FromArgb(255, 128, 128); + LabelHomeScore.Location = new Point(9, 223); + LabelHomeScore.Name = "LabelHomeScore"; + LabelHomeScore.Size = new Size(475, 160); + LabelHomeScore.TabIndex = 5; + LabelHomeScore.Text = "0"; + LabelHomeScore.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelAwayScore + // + LabelAwayScore.BackColor = Color.Transparent; + LabelAwayScore.Font = new Font("DSEG7 Classic", 120F, FontStyle.Regular, GraphicsUnit.Point); + LabelAwayScore.ForeColor = Color.FromArgb(255, 128, 128); + LabelAwayScore.Location = new Point(926, 223); + LabelAwayScore.Name = "LabelAwayScore"; + LabelAwayScore.Size = new Size(475, 160); + LabelAwayScore.TabIndex = 6; + LabelAwayScore.Text = "0"; + LabelAwayScore.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelPeriodTitle + // + LabelPeriodTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); + LabelPeriodTitle.Location = new Point(613, 460); + LabelPeriodTitle.Name = "LabelPeriodTitle"; + LabelPeriodTitle.Size = new Size(185, 52); + LabelPeriodTitle.TabIndex = 4; + LabelPeriodTitle.Text = "PERIOD"; + LabelPeriodTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelPeriod + // + LabelPeriod.BackColor = Color.Transparent; + LabelPeriod.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); + LabelPeriod.ForeColor = Color.FromArgb(255, 128, 128); + LabelPeriod.Location = new Point(651, 512); + LabelPeriod.Name = "LabelPeriod"; + LabelPeriod.Size = new Size(108, 154); + LabelPeriod.TabIndex = 7; + LabelPeriod.Text = "-"; + LabelPeriod.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelHomeTeamPossession + // + LabelHomeTeamPossession.BackColor = Color.Transparent; + LabelHomeTeamPossession.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); + LabelHomeTeamPossession.ForeColor = Color.FromArgb(255, 128, 128); + LabelHomeTeamPossession.Location = new Point(529, 512); + LabelHomeTeamPossession.Name = "LabelHomeTeamPossession"; + LabelHomeTeamPossession.Size = new Size(91, 121); + LabelHomeTeamPossession.TabIndex = 8; + LabelHomeTeamPossession.Text = "<"; + LabelHomeTeamPossession.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelAwayTeamPossession + // + LabelAwayTeamPossession.BackColor = Color.Transparent; + LabelAwayTeamPossession.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); + LabelAwayTeamPossession.ForeColor = Color.FromArgb(255, 128, 128); + LabelAwayTeamPossession.Location = new Point(790, 512); + LabelAwayTeamPossession.Name = "LabelAwayTeamPossession"; + LabelAwayTeamPossession.Size = new Size(91, 121); + LabelAwayTeamPossession.TabIndex = 9; + LabelAwayTeamPossession.Text = ">"; + LabelAwayTeamPossession.TextAlign = ContentAlignment.MiddleCenter; + LabelAwayTeamPossession.Visible = false; + // + // LabelAwayTeamBonus + // + LabelAwayTeamBonus.BackColor = Color.Transparent; + LabelAwayTeamBonus.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); + LabelAwayTeamBonus.ForeColor = Color.FromArgb(255, 128, 128); + LabelAwayTeamBonus.Location = new Point(926, 391); + LabelAwayTeamBonus.Name = "LabelAwayTeamBonus"; + LabelAwayTeamBonus.Size = new Size(91, 121); + LabelAwayTeamBonus.TabIndex = 10; + LabelAwayTeamBonus.Text = "B"; + LabelAwayTeamBonus.TextAlign = ContentAlignment.MiddleCenter; + LabelAwayTeamBonus.Visible = false; + // + // LabelHomeTeamBonus + // + LabelHomeTeamBonus.BackColor = Color.Transparent; + LabelHomeTeamBonus.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); + LabelHomeTeamBonus.ForeColor = Color.FromArgb(255, 128, 128); + LabelHomeTeamBonus.Location = new Point(393, 391); + LabelHomeTeamBonus.Name = "LabelHomeTeamBonus"; + LabelHomeTeamBonus.Size = new Size(91, 121); + LabelHomeTeamBonus.TabIndex = 11; + LabelHomeTeamBonus.Text = "B"; + LabelHomeTeamBonus.TextAlign = ContentAlignment.MiddleCenter; + LabelHomeTeamBonus.Visible = false; + // + // LabelAwayTeamFoulsTitle + // + LabelAwayTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); + LabelAwayTeamFoulsTitle.Location = new Point(1071, 460); + LabelAwayTeamFoulsTitle.Name = "LabelAwayTeamFoulsTitle"; + LabelAwayTeamFoulsTitle.Size = new Size(185, 52); + LabelAwayTeamFoulsTitle.TabIndex = 12; + LabelAwayTeamFoulsTitle.Text = "FOULS"; + LabelAwayTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelAwayTeamFouls + // + LabelAwayTeamFouls.BackColor = Color.Transparent; + LabelAwayTeamFouls.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); + LabelAwayTeamFouls.ForeColor = Color.FromArgb(255, 128, 128); + LabelAwayTeamFouls.Location = new Point(1109, 512); + LabelAwayTeamFouls.Name = "LabelAwayTeamFouls"; + LabelAwayTeamFouls.Size = new Size(108, 154); + LabelAwayTeamFouls.TabIndex = 13; + LabelAwayTeamFouls.Text = "-"; + LabelAwayTeamFouls.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelHomeTeamFoulsTitle + // + LabelHomeTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); + LabelHomeTeamFoulsTitle.Location = new Point(154, 460); + LabelHomeTeamFoulsTitle.Name = "LabelHomeTeamFoulsTitle"; + LabelHomeTeamFoulsTitle.Size = new Size(185, 52); + LabelHomeTeamFoulsTitle.TabIndex = 14; + LabelHomeTeamFoulsTitle.Text = "FOULS"; + LabelHomeTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // LabelHomeTeamFouls + // + LabelHomeTeamFouls.BackColor = Color.Transparent; + LabelHomeTeamFouls.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); + LabelHomeTeamFouls.ForeColor = Color.FromArgb(255, 128, 128); + LabelHomeTeamFouls.Location = new Point(192, 512); + LabelHomeTeamFouls.Name = "LabelHomeTeamFouls"; + LabelHomeTeamFouls.Size = new Size(108, 154); + LabelHomeTeamFouls.TabIndex = 15; + LabelHomeTeamFouls.Text = "-"; + LabelHomeTeamFouls.TextAlign = ContentAlignment.MiddleCenter; + // // PanelParent // PanelParent.Anchor = AnchorStyles.None; @@ -80,237 +311,6 @@ PanelParent.Size = new Size(1410, 752); PanelParent.TabIndex = 0; // - // LabelHomeTeamFouls - // - LabelHomeTeamFouls.BackColor = Color.Transparent; - LabelHomeTeamFouls.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); - LabelHomeTeamFouls.ForeColor = Color.FromArgb(255, 128, 128); - LabelHomeTeamFouls.Location = new Point(192, 512); - LabelHomeTeamFouls.Name = "LabelHomeTeamFouls"; - LabelHomeTeamFouls.Size = new Size(108, 154); - LabelHomeTeamFouls.TabIndex = 15; - LabelHomeTeamFouls.Text = "-"; - LabelHomeTeamFouls.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelHomeTeamFoulsTitle - // - LabelHomeTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); - LabelHomeTeamFoulsTitle.Location = new Point(154, 460); - LabelHomeTeamFoulsTitle.Name = "LabelHomeTeamFoulsTitle"; - LabelHomeTeamFoulsTitle.Size = new Size(185, 52); - LabelHomeTeamFoulsTitle.TabIndex = 14; - LabelHomeTeamFoulsTitle.Text = "FOULS"; - LabelHomeTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelAwayTeamFouls - // - LabelAwayTeamFouls.BackColor = Color.Transparent; - LabelAwayTeamFouls.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); - LabelAwayTeamFouls.ForeColor = Color.FromArgb(255, 128, 128); - LabelAwayTeamFouls.Location = new Point(1109, 512); - LabelAwayTeamFouls.Name = "LabelAwayTeamFouls"; - LabelAwayTeamFouls.Size = new Size(108, 154); - LabelAwayTeamFouls.TabIndex = 13; - LabelAwayTeamFouls.Text = "-"; - LabelAwayTeamFouls.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelAwayTeamFoulsTitle - // - LabelAwayTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); - LabelAwayTeamFoulsTitle.Location = new Point(1071, 460); - LabelAwayTeamFoulsTitle.Name = "LabelAwayTeamFoulsTitle"; - LabelAwayTeamFoulsTitle.Size = new Size(185, 52); - LabelAwayTeamFoulsTitle.TabIndex = 12; - LabelAwayTeamFoulsTitle.Text = "FOULS"; - LabelAwayTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelHomeTeamBonus - // - LabelHomeTeamBonus.BackColor = Color.Transparent; - LabelHomeTeamBonus.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); - LabelHomeTeamBonus.ForeColor = Color.FromArgb(255, 128, 128); - LabelHomeTeamBonus.Location = new Point(393, 391); - LabelHomeTeamBonus.Name = "LabelHomeTeamBonus"; - LabelHomeTeamBonus.Size = new Size(91, 121); - LabelHomeTeamBonus.TabIndex = 11; - LabelHomeTeamBonus.Text = "B"; - LabelHomeTeamBonus.TextAlign = ContentAlignment.MiddleCenter; - LabelHomeTeamBonus.Visible = false; - // - // LabelAwayTeamBonus - // - LabelAwayTeamBonus.BackColor = Color.Transparent; - LabelAwayTeamBonus.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); - LabelAwayTeamBonus.ForeColor = Color.FromArgb(255, 128, 128); - LabelAwayTeamBonus.Location = new Point(926, 391); - LabelAwayTeamBonus.Name = "LabelAwayTeamBonus"; - LabelAwayTeamBonus.Size = new Size(91, 121); - LabelAwayTeamBonus.TabIndex = 10; - LabelAwayTeamBonus.Text = "B"; - LabelAwayTeamBonus.TextAlign = ContentAlignment.MiddleCenter; - LabelAwayTeamBonus.Visible = false; - // - // LabelAwayTeamPossession - // - LabelAwayTeamPossession.BackColor = Color.Transparent; - LabelAwayTeamPossession.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); - LabelAwayTeamPossession.ForeColor = Color.FromArgb(255, 128, 128); - LabelAwayTeamPossession.Location = new Point(790, 512); - LabelAwayTeamPossession.Name = "LabelAwayTeamPossession"; - LabelAwayTeamPossession.Size = new Size(91, 121); - LabelAwayTeamPossession.TabIndex = 9; - LabelAwayTeamPossession.Text = ">"; - LabelAwayTeamPossession.TextAlign = ContentAlignment.MiddleCenter; - LabelAwayTeamPossession.Visible = false; - // - // LabelHomeTeamPossession - // - LabelHomeTeamPossession.BackColor = Color.Transparent; - LabelHomeTeamPossession.Font = new Font("DSEG14 Classic", 47.9999924F, FontStyle.Regular, GraphicsUnit.Point); - LabelHomeTeamPossession.ForeColor = Color.FromArgb(255, 128, 128); - LabelHomeTeamPossession.Location = new Point(529, 512); - LabelHomeTeamPossession.Name = "LabelHomeTeamPossession"; - LabelHomeTeamPossession.Size = new Size(91, 121); - LabelHomeTeamPossession.TabIndex = 8; - LabelHomeTeamPossession.Text = "<"; - LabelHomeTeamPossession.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelPeriod - // - LabelPeriod.BackColor = Color.Transparent; - LabelPeriod.Font = new Font("DSEG7 Classic", 72F, FontStyle.Regular, GraphicsUnit.Point); - LabelPeriod.ForeColor = Color.FromArgb(255, 128, 128); - LabelPeriod.Location = new Point(651, 512); - LabelPeriod.Name = "LabelPeriod"; - LabelPeriod.Size = new Size(108, 154); - LabelPeriod.TabIndex = 7; - LabelPeriod.Text = "-"; - LabelPeriod.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelPeriodTitle - // - LabelPeriodTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point); - LabelPeriodTitle.Location = new Point(613, 460); - LabelPeriodTitle.Name = "LabelPeriodTitle"; - LabelPeriodTitle.Size = new Size(185, 52); - LabelPeriodTitle.TabIndex = 4; - LabelPeriodTitle.Text = "PERIOD"; - LabelPeriodTitle.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelAwayScore - // - LabelAwayScore.BackColor = Color.Transparent; - LabelAwayScore.Font = new Font("DSEG7 Classic", 120F, FontStyle.Regular, GraphicsUnit.Point); - LabelAwayScore.ForeColor = Color.FromArgb(255, 128, 128); - LabelAwayScore.Location = new Point(926, 223); - LabelAwayScore.Name = "LabelAwayScore"; - LabelAwayScore.Size = new Size(475, 160); - LabelAwayScore.TabIndex = 6; - LabelAwayScore.Text = "0"; - LabelAwayScore.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelHomeScore - // - LabelHomeScore.BackColor = Color.Transparent; - LabelHomeScore.Font = new Font("DSEG7 Classic", 120F, FontStyle.Regular, GraphicsUnit.Point); - LabelHomeScore.ForeColor = Color.FromArgb(255, 128, 128); - LabelHomeScore.Location = new Point(9, 223); - LabelHomeScore.Name = "LabelHomeScore"; - LabelHomeScore.Size = new Size(475, 160); - LabelHomeScore.TabIndex = 5; - LabelHomeScore.Text = "0"; - LabelHomeScore.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelShotClockTitle - // - LabelShotClockTitle.Font = new Font("Fira Mono", 36F, FontStyle.Bold, GraphicsUnit.Point); - LabelShotClockTitle.Location = new Point(529, 223); - LabelShotClockTitle.Name = "LabelShotClockTitle"; - LabelShotClockTitle.Size = new Size(352, 77); - LabelShotClockTitle.TabIndex = 4; - LabelShotClockTitle.Text = "SHOT CLOCK"; - LabelShotClockTitle.TextAlign = ContentAlignment.MiddleCenter; - // - // LabelShotClock - // - LabelShotClock.BackColor = Color.Transparent; - LabelShotClock.Font = new Font("DSEG7 Classic", 95.99998F, FontStyle.Regular, GraphicsUnit.Point); - LabelShotClock.ForeColor = Color.FromArgb(255, 128, 128); - LabelShotClock.Location = new Point(567, 300); - LabelShotClock.Name = "LabelShotClock"; - LabelShotClock.Size = new Size(277, 160); - LabelShotClock.TabIndex = 3; - LabelShotClock.Text = "--"; - LabelShotClock.TextAlign = ContentAlignment.MiddleCenter; - // - // PanelScoreAway - // - PanelScoreAway.Controls.Add(LabelAwayTeamName); - PanelScoreAway.Location = new Point(1061, 3); - PanelScoreAway.Name = "PanelScoreAway"; - PanelScoreAway.Size = new Size(346, 212); - PanelScoreAway.TabIndex = 2; - // - // LabelAwayTeamName - // - LabelAwayTeamName.AutoSize = true; - LabelAwayTeamName.Font = new Font("Fira Mono", 32F, FontStyle.Regular, GraphicsUnit.Point); - LabelAwayTeamName.Location = new Point(0, 0); - LabelAwayTeamName.MaximumSize = new Size(340, 212); - LabelAwayTeamName.MinimumSize = new Size(340, 212); - LabelAwayTeamName.Name = "LabelAwayTeamName"; - LabelAwayTeamName.Size = new Size(340, 212); - LabelAwayTeamName.TabIndex = 3; - LabelAwayTeamName.Text = "----"; - LabelAwayTeamName.TextAlign = ContentAlignment.MiddleCenter; - LabelAwayTeamName.Paint += LabelAwayTeamName_Paint; - // - // PanelScoreHome - // - PanelScoreHome.Controls.Add(LabelHomeTeamName); - PanelScoreHome.Location = new Point(3, 3); - PanelScoreHome.Name = "PanelScoreHome"; - PanelScoreHome.Size = new Size(346, 212); - PanelScoreHome.TabIndex = 1; - // - // LabelHomeTeamName - // - LabelHomeTeamName.AutoSize = true; - LabelHomeTeamName.Font = new Font("Fira Mono", 32F, FontStyle.Regular, GraphicsUnit.Point); - LabelHomeTeamName.Location = new Point(6, 0); - LabelHomeTeamName.MaximumSize = new Size(340, 212); - LabelHomeTeamName.MinimumSize = new Size(340, 212); - LabelHomeTeamName.Name = "LabelHomeTeamName"; - LabelHomeTeamName.Size = new Size(340, 212); - LabelHomeTeamName.TabIndex = 0; - LabelHomeTeamName.Text = "----"; - LabelHomeTeamName.TextAlign = ContentAlignment.MiddleCenter; - LabelHomeTeamName.Paint += LabelHomeTeamName_Paint; - // - // LabelClock - // - LabelClock.BackColor = Color.Transparent; - LabelClock.Font = new Font("DSEG7 Classic", 128F, FontStyle.Regular, GraphicsUnit.Point); - LabelClock.ForeColor = Color.FromArgb(255, 128, 128); - LabelClock.Location = new Point(355, 0); - LabelClock.Name = "LabelClock"; - LabelClock.Size = new Size(700, 215); - LabelClock.TabIndex = 0; - LabelClock.Text = "--:--"; - LabelClock.TextAlign = ContentAlignment.MiddleCenter; - // - // MainClockTimer - // - MainClockTimer.Interval = 25D; - MainClockTimer.SynchronizingObject = this; - MainClockTimer.Elapsed += MainClockTimer_Elapsed; - // - // ShotClockTimer - // - ShotClockTimer.Interval = 1000D; - ShotClockTimer.SynchronizingObject = this; - ShotClockTimer.Elapsed += ShotClockTimer_Elapsed; - // // AudienceWindow // AutoScaleDimensions = new SizeF(7F, 15F); @@ -326,39 +326,38 @@ Text = "Audience Window"; FormClosing += AudienceWindow_FormClosing; Load += AudienceWindow_Load; - PanelParent.ResumeLayout(false); - PanelScoreAway.ResumeLayout(false); - PanelScoreAway.PerformLayout(); - PanelScoreHome.ResumeLayout(false); - PanelScoreHome.PerformLayout(); ((System.ComponentModel.ISupportInitialize)MainClockTimer).EndInit(); ((System.ComponentModel.ISupportInitialize)ShotClockTimer).EndInit(); + PanelScoreHome.ResumeLayout(false); + PanelScoreHome.PerformLayout(); + PanelScoreAway.ResumeLayout(false); + PanelScoreAway.PerformLayout(); + PanelParent.ResumeLayout(false); ResumeLayout(false); } #endregion - - private Panel PanelParent; - private Panel PanelScoreAway; - private Panel PanelScoreHome; - public Label LabelHomeTeamName; - public Label LabelAwayTeamName; public System.Timers.Timer MainClockTimer; - public Label LabelClock; public System.Timers.Timer ShotClockTimer; - public Label LabelShotClock; - public Label LabelShotClockTitle; - public Label LabelHomeScore; - public Label LabelAwayScore; - public Label LabelPeriodTitle; - public Label LabelPeriod; - public Label LabelAwayTeamPossession; - public Label LabelHomeTeamPossession; - public Label LabelHomeTeamBonus; - public Label LabelAwayTeamBonus; - public Label LabelAwayTeamFouls; - public Label LabelAwayTeamFoulsTitle; + private Panel PanelParent; public Label LabelHomeTeamFouls; public Label LabelHomeTeamFoulsTitle; + public Label LabelAwayTeamFouls; + public Label LabelAwayTeamFoulsTitle; + public Label LabelHomeTeamBonus; + public Label LabelAwayTeamBonus; + public Label LabelAwayTeamPossession; + public Label LabelHomeTeamPossession; + public Label LabelPeriod; + public Label LabelPeriodTitle; + public Label LabelAwayScore; + public Label LabelHomeScore; + public Label LabelShotClockTitle; + public Label LabelShotClock; + private Panel PanelScoreAway; + public Label LabelAwayTeamName; + private Panel PanelScoreHome; + public Label LabelHomeTeamName; + public Label LabelClock; } } \ No newline at end of file diff --git a/Basketball Scoreboard System/forms/ControlPanel.Designer.cs b/Basketball Scoreboard System/forms/ControlPanel.Designer.cs index 7659e28..70ad16a 100644 --- a/Basketball Scoreboard System/forms/ControlPanel.Designer.cs +++ b/Basketball Scoreboard System/forms/ControlPanel.Designer.cs @@ -28,6 +28,7 @@ /// private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlPanel)); ControlPanelMenuStrip = new MenuStrip(); GameMenu = new ToolStripMenuItem(); GameMenuSetPeriod = new ToolStripMenuItem(); @@ -83,469 +84,308 @@ // ControlPanelMenuStrip // ControlPanelMenuStrip.Items.AddRange(new ToolStripItem[] { GameMenu, TeamsMenu, MainClockMenu, ShotClockMenu }); - ControlPanelMenuStrip.Location = new Point(0, 0); + resources.ApplyResources(ControlPanelMenuStrip, "ControlPanelMenuStrip"); ControlPanelMenuStrip.Name = "ControlPanelMenuStrip"; ControlPanelMenuStrip.RenderMode = ToolStripRenderMode.System; - ControlPanelMenuStrip.Size = new Size(490, 24); - ControlPanelMenuStrip.TabIndex = 1; - ControlPanelMenuStrip.Text = "Control Panel Menu"; // // GameMenu // GameMenu.DropDownItems.AddRange(new ToolStripItem[] { GameMenuSetPeriod, GameMenuSwitchPossession }); GameMenu.Name = "GameMenu"; - GameMenu.Size = new Size(50, 20); - GameMenu.Text = "Game"; + resources.ApplyResources(GameMenu, "GameMenu"); // // GameMenuSetPeriod // GameMenuSetPeriod.Name = "GameMenuSetPeriod"; - GameMenuSetPeriod.Size = new Size(169, 22); - GameMenuSetPeriod.Text = "Set Period"; + resources.ApplyResources(GameMenuSetPeriod, "GameMenuSetPeriod"); GameMenuSetPeriod.Click += GameMenuSetPeriod_Click; // // GameMenuSwitchPossession // GameMenuSwitchPossession.Name = "GameMenuSwitchPossession"; - GameMenuSwitchPossession.Size = new Size(169, 22); - GameMenuSwitchPossession.Text = "Switch Possession"; + resources.ApplyResources(GameMenuSwitchPossession, "GameMenuSwitchPossession"); GameMenuSwitchPossession.Click += GameMenuSwitchPossession_Click; // // TeamsMenu // TeamsMenu.DropDownItems.AddRange(new ToolStripItem[] { TeamsMenuHome, TeamsMenuAway, SetBonusFoulThresholdMenuButton }); TeamsMenu.Name = "TeamsMenu"; - TeamsMenu.Size = new Size(52, 20); - TeamsMenu.Text = "Teams"; + resources.ApplyResources(TeamsMenu, "TeamsMenu"); // // TeamsMenuHome // TeamsMenuHome.DropDownItems.AddRange(new ToolStripItem[] { TeamsMenuHomeChangeName, TeamsMenuHomeSetFouls }); TeamsMenuHome.Name = "TeamsMenuHome"; - TeamsMenuHome.Size = new Size(207, 22); - TeamsMenuHome.Text = "Home"; + resources.ApplyResources(TeamsMenuHome, "TeamsMenuHome"); // // TeamsMenuHomeChangeName // TeamsMenuHomeChangeName.Name = "TeamsMenuHomeChangeName"; - TeamsMenuHomeChangeName.Size = new Size(150, 22); - TeamsMenuHomeChangeName.Text = "Change Name"; + resources.ApplyResources(TeamsMenuHomeChangeName, "TeamsMenuHomeChangeName"); TeamsMenuHomeChangeName.Click += TeamsMenuHomeChangeName_Click; // // TeamsMenuHomeSetFouls // TeamsMenuHomeSetFouls.Name = "TeamsMenuHomeSetFouls"; - TeamsMenuHomeSetFouls.Size = new Size(150, 22); - TeamsMenuHomeSetFouls.Text = "Set Fouls"; + resources.ApplyResources(TeamsMenuHomeSetFouls, "TeamsMenuHomeSetFouls"); TeamsMenuHomeSetFouls.Click += TeamsMenuHomeSetFouls_Click; // // TeamsMenuAway // TeamsMenuAway.DropDownItems.AddRange(new ToolStripItem[] { TeamsMenuAwayChangeName, TeamsMenuAwaySetFouls }); TeamsMenuAway.Name = "TeamsMenuAway"; - TeamsMenuAway.Size = new Size(207, 22); - TeamsMenuAway.Text = "Away"; + resources.ApplyResources(TeamsMenuAway, "TeamsMenuAway"); // // TeamsMenuAwayChangeName // TeamsMenuAwayChangeName.Name = "TeamsMenuAwayChangeName"; - TeamsMenuAwayChangeName.Size = new Size(150, 22); - TeamsMenuAwayChangeName.Text = "Change Name"; + resources.ApplyResources(TeamsMenuAwayChangeName, "TeamsMenuAwayChangeName"); TeamsMenuAwayChangeName.Click += TeamsMenuAwayChangeName_Click; // // TeamsMenuAwaySetFouls // TeamsMenuAwaySetFouls.Name = "TeamsMenuAwaySetFouls"; - TeamsMenuAwaySetFouls.Size = new Size(150, 22); - TeamsMenuAwaySetFouls.Text = "Set Fouls"; + resources.ApplyResources(TeamsMenuAwaySetFouls, "TeamsMenuAwaySetFouls"); TeamsMenuAwaySetFouls.Click += TeamsMenuAwaySetFouls_Click; // // SetBonusFoulThresholdMenuButton // SetBonusFoulThresholdMenuButton.Name = "SetBonusFoulThresholdMenuButton"; - SetBonusFoulThresholdMenuButton.Size = new Size(207, 22); - SetBonusFoulThresholdMenuButton.Text = "Set Bonus Foul Threshold"; + resources.ApplyResources(SetBonusFoulThresholdMenuButton, "SetBonusFoulThresholdMenuButton"); SetBonusFoulThresholdMenuButton.Click += SetBonusFoulThresholdMenuButton_Click; // // MainClockMenu // MainClockMenu.DropDownItems.AddRange(new ToolStripItem[] { MainClockMenuSetTime, MainClockMenuSetDefaultTime }); MainClockMenu.Name = "MainClockMenu"; - MainClockMenu.Size = new Size(79, 20); - MainClockMenu.Text = "Main Clock"; + resources.ApplyResources(MainClockMenu, "MainClockMenu"); // // MainClockMenuSetTime // MainClockMenuSetTime.Name = "MainClockMenuSetTime"; - MainClockMenuSetTime.Size = new Size(160, 22); - MainClockMenuSetTime.Text = "Set Time"; + resources.ApplyResources(MainClockMenuSetTime, "MainClockMenuSetTime"); MainClockMenuSetTime.Click += MainClockMenuSetTime_Click; // // MainClockMenuSetDefaultTime // MainClockMenuSetDefaultTime.Name = "MainClockMenuSetDefaultTime"; - MainClockMenuSetDefaultTime.Size = new Size(160, 22); - MainClockMenuSetDefaultTime.Text = "Set Default Time"; + resources.ApplyResources(MainClockMenuSetDefaultTime, "MainClockMenuSetDefaultTime"); MainClockMenuSetDefaultTime.Click += MainClockMenuSetDefaultTime_Click; // // ShotClockMenu // ShotClockMenu.DropDownItems.AddRange(new ToolStripItem[] { ShotClockMenuSetTime, ShotClockMenuSetDefaultTime, ShotClockMenuToggleShotClock }); ShotClockMenu.Name = "ShotClockMenu"; - ShotClockMenu.Size = new Size(76, 20); - ShotClockMenu.Text = "Shot Clock"; + resources.ApplyResources(ShotClockMenu, "ShotClockMenu"); // // ShotClockMenuSetTime // ShotClockMenuSetTime.Name = "ShotClockMenuSetTime"; - ShotClockMenuSetTime.Size = new Size(169, 22); - ShotClockMenuSetTime.Text = "Set Time"; + resources.ApplyResources(ShotClockMenuSetTime, "ShotClockMenuSetTime"); ShotClockMenuSetTime.Click += ShotClockMenuSetTime_Click; // // ShotClockMenuSetDefaultTime // ShotClockMenuSetDefaultTime.Name = "ShotClockMenuSetDefaultTime"; - ShotClockMenuSetDefaultTime.Size = new Size(169, 22); - ShotClockMenuSetDefaultTime.Text = "Set Default Time"; + resources.ApplyResources(ShotClockMenuSetDefaultTime, "ShotClockMenuSetDefaultTime"); ShotClockMenuSetDefaultTime.Click += ShotClockMenuSetDefaultTime_Click; // // ShotClockMenuToggleShotClock // ShotClockMenuToggleShotClock.Name = "ShotClockMenuToggleShotClock"; - ShotClockMenuToggleShotClock.Size = new Size(169, 22); - ShotClockMenuToggleShotClock.Text = "Toggle Shot Clock"; + resources.ApplyResources(ShotClockMenuToggleShotClock, "ShotClockMenuToggleShotClock"); ShotClockMenuToggleShotClock.Click += ShotClockMenuToggleShotClock_Click; // // ButtonStartClocks // ButtonStartClocks.BackColor = Color.FromArgb(192, 255, 192); - ButtonStartClocks.FlatStyle = FlatStyle.Flat; - ButtonStartClocks.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonStartClocks.Location = new Point(12, 35); + resources.ApplyResources(ButtonStartClocks, "ButtonStartClocks"); ButtonStartClocks.Name = "ButtonStartClocks"; - ButtonStartClocks.Size = new Size(128, 64); - ButtonStartClocks.TabIndex = 2; - ButtonStartClocks.Text = "Start Clocks"; ButtonStartClocks.UseVisualStyleBackColor = false; ButtonStartClocks.Click += ButtonStartClocks_Click; // // ButtonStopClocks // ButtonStopClocks.BackColor = Color.FromArgb(255, 192, 192); - ButtonStopClocks.FlatStyle = FlatStyle.Flat; - ButtonStopClocks.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonStopClocks.Location = new Point(146, 35); + resources.ApplyResources(ButtonStopClocks, "ButtonStopClocks"); ButtonStopClocks.Name = "ButtonStopClocks"; - ButtonStopClocks.Size = new Size(128, 64); - ButtonStopClocks.TabIndex = 3; - ButtonStopClocks.Text = "Stop Clocks"; ButtonStopClocks.UseVisualStyleBackColor = false; ButtonStopClocks.Click += ButtonStopClocks_Click; // // ButtonSCSetToDefault // - ButtonSCSetToDefault.FlatStyle = FlatStyle.Flat; - ButtonSCSetToDefault.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point); - ButtonSCSetToDefault.Location = new Point(280, 35); + resources.ApplyResources(ButtonSCSetToDefault, "ButtonSCSetToDefault"); ButtonSCSetToDefault.Name = "ButtonSCSetToDefault"; - ButtonSCSetToDefault.Size = new Size(96, 64); - ButtonSCSetToDefault.TabIndex = 4; - ButtonSCSetToDefault.Text = "Shot Clock\r\nSet XXs"; ButtonSCSetToDefault.UseVisualStyleBackColor = true; ButtonSCSetToDefault.Click += ButtonSCSetToDefault_Click; // // ButtonSCSet14S // - ButtonSCSet14S.FlatStyle = FlatStyle.Flat; - ButtonSCSet14S.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point); - ButtonSCSet14S.Location = new Point(382, 35); + resources.ApplyResources(ButtonSCSet14S, "ButtonSCSet14S"); ButtonSCSet14S.Name = "ButtonSCSet14S"; - ButtonSCSet14S.Size = new Size(96, 64); - ButtonSCSet14S.TabIndex = 5; - ButtonSCSet14S.Text = "Shot Clock\r\nSet 14s"; ButtonSCSet14S.UseVisualStyleBackColor = true; ButtonSCSet14S.Click += ButtonSCSet14S_Click; // // LabelHomeTitle // - LabelHomeTitle.Font = new Font("Segoe UI", 27.75F, FontStyle.Bold, GraphicsUnit.Point); - LabelHomeTitle.Location = new Point(12, 106); + resources.ApplyResources(LabelHomeTitle, "LabelHomeTitle"); LabelHomeTitle.Name = "LabelHomeTitle"; - LabelHomeTitle.Size = new Size(227, 65); - LabelHomeTitle.TabIndex = 6; - LabelHomeTitle.Text = "Home"; - LabelHomeTitle.TextAlign = ContentAlignment.MiddleCenter; // // LabelAwayTitle // - LabelAwayTitle.Font = new Font("Segoe UI", 27.75F, FontStyle.Bold, GraphicsUnit.Point); - LabelAwayTitle.Location = new Point(252, 106); + resources.ApplyResources(LabelAwayTitle, "LabelAwayTitle"); LabelAwayTitle.Name = "LabelAwayTitle"; - LabelAwayTitle.Size = new Size(226, 65); - LabelAwayTitle.TabIndex = 8; - LabelAwayTitle.Text = "Away"; - LabelAwayTitle.TextAlign = ContentAlignment.MiddleCenter; // // Line // Line.BorderStyle = BorderStyle.Fixed3D; - Line.Location = new Point(245, 106); + resources.ApplyResources(Line, "Line"); Line.Name = "Line"; - Line.Size = new Size(1, 291); - Line.TabIndex = 9; // // ButtonHomeScoreAdd1 // - ButtonHomeScoreAdd1.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreAdd1.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreAdd1.Location = new Point(128, 174); + resources.ApplyResources(ButtonHomeScoreAdd1, "ButtonHomeScoreAdd1"); ButtonHomeScoreAdd1.Name = "ButtonHomeScoreAdd1"; - ButtonHomeScoreAdd1.Size = new Size(64, 67); - ButtonHomeScoreAdd1.TabIndex = 10; - ButtonHomeScoreAdd1.Text = "+1"; ButtonHomeScoreAdd1.UseVisualStyleBackColor = true; ButtonHomeScoreAdd1.Click += ButtonHomeScoreAdd1_Click; // // ButtonHomeScoreAdd2 // - ButtonHomeScoreAdd2.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreAdd2.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreAdd2.Location = new Point(128, 244); + resources.ApplyResources(ButtonHomeScoreAdd2, "ButtonHomeScoreAdd2"); ButtonHomeScoreAdd2.Name = "ButtonHomeScoreAdd2"; - ButtonHomeScoreAdd2.Size = new Size(64, 67); - ButtonHomeScoreAdd2.TabIndex = 10; - ButtonHomeScoreAdd2.Text = "+2"; ButtonHomeScoreAdd2.UseVisualStyleBackColor = true; ButtonHomeScoreAdd2.Click += ButtonHomeScoreAdd2_Click; // // ButtonHomeScoreAdd3 // - ButtonHomeScoreAdd3.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreAdd3.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreAdd3.Location = new Point(128, 314); + resources.ApplyResources(ButtonHomeScoreAdd3, "ButtonHomeScoreAdd3"); ButtonHomeScoreAdd3.Name = "ButtonHomeScoreAdd3"; - ButtonHomeScoreAdd3.Size = new Size(64, 67); - ButtonHomeScoreAdd3.TabIndex = 10; - ButtonHomeScoreAdd3.Text = "+3"; ButtonHomeScoreAdd3.UseVisualStyleBackColor = true; ButtonHomeScoreAdd3.Click += ButtonHomeScoreAdd3_Click; // // ButtonHomeScoreSubtract1 // - ButtonHomeScoreSubtract1.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreSubtract1.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreSubtract1.Location = new Point(58, 174); + resources.ApplyResources(ButtonHomeScoreSubtract1, "ButtonHomeScoreSubtract1"); ButtonHomeScoreSubtract1.Name = "ButtonHomeScoreSubtract1"; - ButtonHomeScoreSubtract1.Size = new Size(64, 67); - ButtonHomeScoreSubtract1.TabIndex = 10; - ButtonHomeScoreSubtract1.Text = "-1"; ButtonHomeScoreSubtract1.UseVisualStyleBackColor = true; ButtonHomeScoreSubtract1.Click += ButtonHomeScoreSubtract1_Click; // // ButtonHomeScoreSubtract2 // - ButtonHomeScoreSubtract2.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreSubtract2.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreSubtract2.Location = new Point(58, 244); + resources.ApplyResources(ButtonHomeScoreSubtract2, "ButtonHomeScoreSubtract2"); ButtonHomeScoreSubtract2.Name = "ButtonHomeScoreSubtract2"; - ButtonHomeScoreSubtract2.Size = new Size(64, 67); - ButtonHomeScoreSubtract2.TabIndex = 10; - ButtonHomeScoreSubtract2.Text = "-2"; ButtonHomeScoreSubtract2.UseVisualStyleBackColor = true; ButtonHomeScoreSubtract2.Click += ButtonHomeScoreSubtract2_Click; // // ButtonHomeScoreSubtract3 // - ButtonHomeScoreSubtract3.FlatStyle = FlatStyle.Flat; - ButtonHomeScoreSubtract3.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonHomeScoreSubtract3.Location = new Point(58, 314); + resources.ApplyResources(ButtonHomeScoreSubtract3, "ButtonHomeScoreSubtract3"); ButtonHomeScoreSubtract3.Name = "ButtonHomeScoreSubtract3"; - ButtonHomeScoreSubtract3.Size = new Size(64, 67); - ButtonHomeScoreSubtract3.TabIndex = 10; - ButtonHomeScoreSubtract3.Text = "-3"; ButtonHomeScoreSubtract3.UseVisualStyleBackColor = true; ButtonHomeScoreSubtract3.Click += ButtonHomeScoreSubtract3_Click; // // ButtonAwayScoreAdd1 // - ButtonAwayScoreAdd1.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreAdd1.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreAdd1.Location = new Point(368, 174); + resources.ApplyResources(ButtonAwayScoreAdd1, "ButtonAwayScoreAdd1"); ButtonAwayScoreAdd1.Name = "ButtonAwayScoreAdd1"; - ButtonAwayScoreAdd1.Size = new Size(64, 67); - ButtonAwayScoreAdd1.TabIndex = 10; - ButtonAwayScoreAdd1.Text = "+1"; ButtonAwayScoreAdd1.UseVisualStyleBackColor = true; ButtonAwayScoreAdd1.Click += ButtonAwayScoreAdd1_Click; // // ButtonAwayScoreAdd2 // - ButtonAwayScoreAdd2.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreAdd2.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreAdd2.Location = new Point(368, 244); + resources.ApplyResources(ButtonAwayScoreAdd2, "ButtonAwayScoreAdd2"); ButtonAwayScoreAdd2.Name = "ButtonAwayScoreAdd2"; - ButtonAwayScoreAdd2.Size = new Size(64, 67); - ButtonAwayScoreAdd2.TabIndex = 10; - ButtonAwayScoreAdd2.Text = "+2"; ButtonAwayScoreAdd2.UseVisualStyleBackColor = true; ButtonAwayScoreAdd2.Click += ButtonAwayScoreAdd2_Click; // // ButtonAwayScoreSubtract1 // - ButtonAwayScoreSubtract1.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreSubtract1.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreSubtract1.Location = new Point(298, 174); + resources.ApplyResources(ButtonAwayScoreSubtract1, "ButtonAwayScoreSubtract1"); ButtonAwayScoreSubtract1.Name = "ButtonAwayScoreSubtract1"; - ButtonAwayScoreSubtract1.Size = new Size(64, 67); - ButtonAwayScoreSubtract1.TabIndex = 10; - ButtonAwayScoreSubtract1.Text = "-1"; ButtonAwayScoreSubtract1.UseVisualStyleBackColor = true; ButtonAwayScoreSubtract1.Click += ButtonAwayScoreSubtract1_Click; // // ButtonAwayScoreSubtract2 // - ButtonAwayScoreSubtract2.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreSubtract2.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreSubtract2.Location = new Point(298, 244); + resources.ApplyResources(ButtonAwayScoreSubtract2, "ButtonAwayScoreSubtract2"); ButtonAwayScoreSubtract2.Name = "ButtonAwayScoreSubtract2"; - ButtonAwayScoreSubtract2.Size = new Size(64, 67); - ButtonAwayScoreSubtract2.TabIndex = 10; - ButtonAwayScoreSubtract2.Text = "-2"; ButtonAwayScoreSubtract2.UseVisualStyleBackColor = true; ButtonAwayScoreSubtract2.Click += ButtonAwayScoreSubtract2_Click; // // ButtonAwayScoreAdd3 // - ButtonAwayScoreAdd3.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreAdd3.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreAdd3.Location = new Point(368, 314); + resources.ApplyResources(ButtonAwayScoreAdd3, "ButtonAwayScoreAdd3"); ButtonAwayScoreAdd3.Name = "ButtonAwayScoreAdd3"; - ButtonAwayScoreAdd3.Size = new Size(64, 67); - ButtonAwayScoreAdd3.TabIndex = 10; - ButtonAwayScoreAdd3.Text = "+3"; ButtonAwayScoreAdd3.UseVisualStyleBackColor = true; ButtonAwayScoreAdd3.Click += ButtonAwayScoreAdd3_Click; // // ButtonAwayScoreSubtract3 // - ButtonAwayScoreSubtract3.FlatStyle = FlatStyle.Flat; - ButtonAwayScoreSubtract3.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point); - ButtonAwayScoreSubtract3.Location = new Point(298, 314); + resources.ApplyResources(ButtonAwayScoreSubtract3, "ButtonAwayScoreSubtract3"); ButtonAwayScoreSubtract3.Name = "ButtonAwayScoreSubtract3"; - ButtonAwayScoreSubtract3.Size = new Size(64, 67); - ButtonAwayScoreSubtract3.TabIndex = 10; - ButtonAwayScoreSubtract3.Text = "-3"; ButtonAwayScoreSubtract3.UseVisualStyleBackColor = true; ButtonAwayScoreSubtract3.Click += ButtonAwayScoreSubtract3_Click; // // LabelClock // - LabelClock.Location = new Point(212, 400); + resources.ApplyResources(LabelClock, "LabelClock"); LabelClock.Name = "LabelClock"; - LabelClock.Size = new Size(66, 23); - LabelClock.TabIndex = 11; - LabelClock.Text = "--:--"; - LabelClock.TextAlign = ContentAlignment.MiddleCenter; // // LabelShotClock // - LabelShotClock.Location = new Point(229, 425); + resources.ApplyResources(LabelShotClock, "LabelShotClock"); LabelShotClock.Name = "LabelShotClock"; - LabelShotClock.Size = new Size(33, 23); - LabelShotClock.TabIndex = 12; - LabelShotClock.Text = "--"; - LabelShotClock.TextAlign = ContentAlignment.MiddleCenter; // // LabelPeriod // - LabelPeriod.Location = new Point(229, 448); + resources.ApplyResources(LabelPeriod, "LabelPeriod"); LabelPeriod.Name = "LabelPeriod"; - LabelPeriod.Size = new Size(33, 23); - LabelPeriod.TabIndex = 13; - LabelPeriod.Text = "-"; - LabelPeriod.TextAlign = ContentAlignment.MiddleCenter; // // LabelAwayPossession // - LabelAwayPossession.Location = new Point(268, 448); + resources.ApplyResources(LabelAwayPossession, "LabelAwayPossession"); LabelAwayPossession.Name = "LabelAwayPossession"; - LabelAwayPossession.Size = new Size(33, 23); - LabelAwayPossession.TabIndex = 14; - LabelAwayPossession.Text = ">"; - LabelAwayPossession.TextAlign = ContentAlignment.MiddleCenter; - LabelAwayPossession.Visible = false; // // LabelHomePossession // - LabelHomePossession.Location = new Point(190, 448); + resources.ApplyResources(LabelHomePossession, "LabelHomePossession"); LabelHomePossession.Name = "LabelHomePossession"; - LabelHomePossession.Size = new Size(33, 23); - LabelHomePossession.TabIndex = 14; - LabelHomePossession.Text = "<"; - LabelHomePossession.TextAlign = ContentAlignment.MiddleCenter; // // LabelAwayBonus // - LabelAwayBonus.Location = new Point(268, 425); + resources.ApplyResources(LabelAwayBonus, "LabelAwayBonus"); LabelAwayBonus.Name = "LabelAwayBonus"; - LabelAwayBonus.Size = new Size(33, 23); - LabelAwayBonus.TabIndex = 14; - LabelAwayBonus.Text = "B"; - LabelAwayBonus.TextAlign = ContentAlignment.MiddleCenter; - LabelAwayBonus.Visible = false; // // LabelHomeBonus // - LabelHomeBonus.Location = new Point(190, 425); + resources.ApplyResources(LabelHomeBonus, "LabelHomeBonus"); LabelHomeBonus.Name = "LabelHomeBonus"; - LabelHomeBonus.Size = new Size(33, 23); - LabelHomeBonus.TabIndex = 14; - LabelHomeBonus.Text = "B"; - LabelHomeBonus.TextAlign = ContentAlignment.MiddleCenter; - LabelHomeBonus.Visible = false; // // LabelAwayFouls // - LabelAwayFouls.Location = new Point(307, 448); + resources.ApplyResources(LabelAwayFouls, "LabelAwayFouls"); LabelAwayFouls.Name = "LabelAwayFouls"; - LabelAwayFouls.Size = new Size(33, 23); - LabelAwayFouls.TabIndex = 14; - LabelAwayFouls.Text = "-"; - LabelAwayFouls.TextAlign = ContentAlignment.MiddleCenter; // // LabelAwayScore // - LabelAwayScore.Location = new Point(307, 425); + resources.ApplyResources(LabelAwayScore, "LabelAwayScore"); LabelAwayScore.Name = "LabelAwayScore"; - LabelAwayScore.Size = new Size(33, 23); - LabelAwayScore.TabIndex = 14; - LabelAwayScore.Text = "0"; - LabelAwayScore.TextAlign = ContentAlignment.MiddleCenter; // // LabelHomeFouls // - LabelHomeFouls.Location = new Point(151, 448); + resources.ApplyResources(LabelHomeFouls, "LabelHomeFouls"); LabelHomeFouls.Name = "LabelHomeFouls"; - LabelHomeFouls.Size = new Size(33, 23); - LabelHomeFouls.TabIndex = 14; - LabelHomeFouls.Text = "-"; - LabelHomeFouls.TextAlign = ContentAlignment.MiddleCenter; // // LabelHomeScore // - LabelHomeScore.Location = new Point(151, 425); + resources.ApplyResources(LabelHomeScore, "LabelHomeScore"); LabelHomeScore.Name = "LabelHomeScore"; - LabelHomeScore.Size = new Size(33, 23); - LabelHomeScore.TabIndex = 14; - LabelHomeScore.Text = "0"; - LabelHomeScore.TextAlign = ContentAlignment.MiddleCenter; // // ControlPanel // - AutoScaleDimensions = new SizeF(7F, 15F); + resources.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; - ClientSize = new Size(490, 483); Controls.Add(LabelHomeBonus); Controls.Add(LabelHomeScore); Controls.Add(LabelAwayScore); @@ -578,13 +418,10 @@ Controls.Add(ButtonStartClocks); Controls.Add(ControlPanelMenuStrip); ForeColor = Color.Black; + FormBorderStyle = FormBorderStyle.FixedToolWindow; MainMenuStrip = ControlPanelMenuStrip; - MaximumSize = new Size(506, 522); - MinimumSize = new Size(506, 522); Name = "ControlPanel"; ShowIcon = false; - StartPosition = FormStartPosition.CenterScreen; - Text = "Control Panel"; FormClosing += ControlPanel_FormClosing; Load += ControlPanel_Load; ControlPanelMenuStrip.ResumeLayout(false); diff --git a/Basketball Scoreboard System/forms/ControlPanel.resx b/Basketball Scoreboard System/forms/ControlPanel.resx index 0b61ded..d7900d8 100644 --- a/Basketball Scoreboard System/forms/ControlPanel.resx +++ b/Basketball Scoreboard System/forms/ControlPanel.resx @@ -60,4 +60,1143 @@ 17, 17 + + + 169, 22 + + + Set Period + + + 169, 22 + + + Switch Possession + + + 50, 20 + + + Game + + + 150, 22 + + + Change Name + + + 150, 22 + + + Set Fouls + + + 207, 22 + + + Home + + + 150, 22 + + + Change Name + + + 150, 22 + + + Set Fouls + + + 207, 22 + + + Away + + + 207, 22 + + + Set Bonus Foul Threshold + + + 52, 20 + + + Teams + + + 160, 22 + + + Set Time + + + 160, 22 + + + Set Default Time + + + 79, 20 + + + Main Clock + + + 169, 22 + + + Set Time + + + 169, 22 + + + Set Default Time + + + 169, 22 + + + Toggle Shot Clock + + + 76, 20 + + + Shot Clock + + + 0, 0 + + + 486, 24 + + + + 1 + + + Control Panel Menu + + + ControlPanelMenuStrip + + + System.Windows.Forms.MenuStrip, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 30 + + + + Flat + + + Segoe UI, 14.25pt + + + 12, 35 + + + 128, 64 + + + 2 + + + Start Clocks + + + ButtonStartClocks + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 29 + + + Flat + + + Segoe UI, 14.25pt + + + 146, 35 + + + 128, 64 + + + 3 + + + Stop Clocks + + + ButtonStopClocks + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 28 + + + Flat + + + Segoe UI, 12pt + + + 280, 35 + + + 96, 64 + + + 4 + + + Shot Clock +Set XXs + + + ButtonSCSetToDefault + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 27 + + + Flat + + + Segoe UI, 12pt + + + 382, 35 + + + 96, 64 + + + 5 + + + Shot Clock +Set 14s + + + ButtonSCSet14S + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 26 + + + Segoe UI, 27.75pt, style=Bold + + + 12, 106 + + + 227, 65 + + + 6 + + + Home + + + MiddleCenter + + + LabelHomeTitle + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 25 + + + Segoe UI, 27.75pt, style=Bold + + + 252, 106 + + + 226, 65 + + + 8 + + + Away + + + MiddleCenter + + + LabelAwayTitle + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 24 + + + 245, 106 + + + 1, 291 + + + 9 + + + Line + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 23 + + + Flat + + + Segoe UI, 14.25pt + + + 128, 174 + + + 64, 67 + + + 10 + + + +1 + + + ButtonHomeScoreAdd1 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 22 + + + Flat + + + Segoe UI, 14.25pt + + + 128, 244 + + + 64, 67 + + + 10 + + + +2 + + + ButtonHomeScoreAdd2 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 21 + + + Flat + + + Segoe UI, 14.25pt + + + 128, 314 + + + 64, 67 + + + 10 + + + +3 + + + ButtonHomeScoreAdd3 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 15 + + + Flat + + + Segoe UI, 14.25pt + + + 58, 174 + + + 64, 67 + + + 10 + + + -1 + + + ButtonHomeScoreSubtract1 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 19 + + + Flat + + + Segoe UI, 14.25pt + + + 58, 244 + + + 64, 67 + + + 10 + + + -2 + + + ButtonHomeScoreSubtract2 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 17 + + + Flat + + + Segoe UI, 14.25pt + + + 58, 314 + + + 64, 67 + + + 10 + + + -3 + + + ButtonHomeScoreSubtract3 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 12 + + + Flat + + + Segoe UI, 14.25pt + + + 368, 174 + + + 64, 67 + + + 10 + + + +1 + + + ButtonAwayScoreAdd1 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 20 + + + Flat + + + Segoe UI, 14.25pt + + + 368, 244 + + + 64, 67 + + + 10 + + + +2 + + + ButtonAwayScoreAdd2 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 18 + + + Flat + + + Segoe UI, 14.25pt + + + 298, 174 + + + 64, 67 + + + 10 + + + -1 + + + ButtonAwayScoreSubtract1 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 16 + + + Flat + + + Segoe UI, 14.25pt + + + 298, 244 + + + 64, 67 + + + 10 + + + -2 + + + ButtonAwayScoreSubtract2 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 14 + + + Flat + + + Segoe UI, 14.25pt + + + 368, 314 + + + 64, 67 + + + 10 + + + +3 + + + ButtonAwayScoreAdd3 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 13 + + + Flat + + + Segoe UI, 14.25pt + + + 298, 314 + + + 64, 67 + + + 10 + + + -3 + + + ButtonAwayScoreSubtract3 + + + System.Windows.Forms.Button, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 11 + + + 212, 400 + + + 66, 23 + + + 11 + + + --:-- + + + MiddleCenter + + + LabelClock + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 10 + + + 229, 425 + + + 33, 23 + + + 12 + + + -- + + + MiddleCenter + + + LabelShotClock + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 9 + + + 229, 448 + + + 33, 23 + + + 13 + + + - + + + MiddleCenter + + + LabelPeriod + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 8 + + + 268, 448 + + + 33, 23 + + + 14 + + + > + + + MiddleCenter + + + False + + + LabelAwayPossession + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 7 + + + 190, 448 + + + 33, 23 + + + 14 + + + < + + + MiddleCenter + + + LabelHomePossession + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + + + 268, 425 + + + 33, 23 + + + 14 + + + B + + + MiddleCenter + + + False + + + LabelAwayBonus + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + 190, 425 + + + 33, 23 + + + 14 + + + B + + + MiddleCenter + + + False + + + LabelHomeBonus + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + 307, 448 + + + 33, 23 + + + 14 + + + - + + + MiddleCenter + + + LabelAwayFouls + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 6 + + + 307, 425 + + + 33, 23 + + + 14 + + + 0 + + + MiddleCenter + + + LabelAwayScore + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + 151, 448 + + + 33, 23 + + + 14 + + + - + + + MiddleCenter + + + LabelHomeFouls + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 5 + + + 151, 425 + + + 33, 23 + + + 14 + + + 0 + + + MiddleCenter + + + LabelHomeScore + + + System.Windows.Forms.Label, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + True + + + 7, 15 + + + 490, 483 + + + 506, 522 + + + 506, 522 + + + CenterScreen + + + Control Panel + + + GameMenu + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GameMenuSetPeriod + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GameMenuSwitchPossession + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenu + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuHome + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuHomeChangeName + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuHomeSetFouls + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuAway + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuAwayChangeName + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TeamsMenuAwaySetFouls + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + SetBonusFoulThresholdMenuButton + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + MainClockMenu + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + MainClockMenuSetTime + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + MainClockMenuSetDefaultTime + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShotClockMenu + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShotClockMenuSetTime + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShotClockMenuSetDefaultTime + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShotClockMenuToggleShotClock + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ControlPanel + + + System.Windows.Forms.Form, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/Setup/Setup.vdproj b/Setup/Setup.vdproj index cdb13fd..164bbe4 100644 --- a/Setup/Setup.vdproj +++ b/Setup/Setup.vdproj @@ -440,22 +440,22 @@ "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Basketball Scoreboard System" "ProductCode" = "8:{988E09D1-A6BB-4BB0-8BB6-36696082E19E}" - "PackageCode" = "8:{A7491C2F-F9CB-453A-A304-C5EAA9026E5F}" + "PackageCode" = "8:{53B21020-A795-4E22-96CF-E81E1C3BF347}" "UpgradeCode" = "8:{5D333D15-943A-41F2-B436-F04F69C75730}" "AspNetVersion" = "8:2.0.50727.0" "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" + "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:Ahmed Al-Taiar" + "Manufacturer" = "8:cy1der" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" "Title" = "8:Basketball Scoreboard System" "Subject" = "8:" - "ARPCONTACT" = "8:Ahmed Al-Taiar" + "ARPCONTACT" = "8:cy1der" "Keywords" = "8:Sports,Basketball,Timer,Score" - "ARPCOMMENTS" = "8:Scorekeep Basketball games!" + "ARPCOMMENTS" = "8:Replace your expensive and bulky scoreeboard with this simple app" "ARPURLINFOABOUT" = "8:" "ARPPRODUCTICON" = "8:" "ARPIconIndex" = "3:0"