Fix hang on startup + minor tweaks and fixes

This commit is contained in:
2024-10-06 18:32:48 -04:00
parent 7f66ee4124
commit 596d6a6d78
21 changed files with 966 additions and 420 deletions

View File

@@ -8,6 +8,9 @@
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<Platforms>AnyCPU;x64;x86</Platforms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
<!--<ForceDesignerDPIUnaware>true</ForceDesignerDPIUnaware>-->
</PropertyGroup>
<ItemGroup>

View File

@@ -6,6 +6,9 @@ namespace Basketball_Scoreboard_System
{
internal static class Program
{
[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();
public static AudienceWindow AudienceWindow = new();
public static ControlPanel ControlPanel = new();
@@ -20,6 +23,9 @@ namespace Basketball_Scoreboard_System
[STAThread]
private static void Main()
{
SetProcessDPIAware();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (!IsFontInstalled("DSEG7 Classic") || !IsFontInstalled("DSEG14 Classic") || !IsFontInstalled("Fira Mono")) MessageBox.Show("Required fonts are not installed.\nThey can be found in:\n" + Path.Combine(Application.StartupPath, "fonts\\"), "Warning", MessageBoxButtons.OK);
ApplicationConfiguration.Initialize();
Application.Run(AudienceWindow);
@@ -37,17 +43,21 @@ namespace Basketball_Scoreboard_System
public static Font GetFontSize(Graphics Graphics, string Text, Size MaxStringSize, Font LabelFont)
{
Font Font = new(LabelFont.Name, LabelFont.Size);
SizeF Size = Graphics.MeasureString(Text, Font);
float MinSize = 0.1f;
float MaxSize = MaxStringSize.Width;
float FontSize = LabelFont.Size;
while (Size.Width != MaxStringSize.Width)
while (MaxSize - MinSize > MinSize)
{
float NewSize = Font.Size * (MaxStringSize.Width / Size.Width);
Font = new(LabelFont.Name, NewSize);
Size = Graphics.MeasureString(Text, Font);
FontSize = (MaxSize + MinSize) / 2;
Font Font = new(LabelFont.Name, FontSize);
SizeF Size = Graphics.MeasureString(Text, Font);
if (Size.Width > MaxStringSize.Width) MaxSize = FontSize;
else MinSize = FontSize;
}
return Font;
return new Font(LabelFont.Name, FontSize);
}
}
}

View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel element will disable file and registry virtualization.
Remove this element if your application requires this virtualization for backwards
compatibility.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of the Windows versions that this application has been tested on
and is designed to work with. Uncomment the appropriate elements
and Windows will automatically select the most compatible environment. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config.
Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

View File

@@ -55,7 +55,9 @@
public string FormatTimeSC()
{
TimeSpan ParsedTime = TimeSpan.FromMilliseconds(Time);
return ParsedTime.Seconds.ToString();
if (ParsedTime.Seconds < 10) return ParsedTime.Seconds + "." + (ParsedTime.Milliseconds / 100);
else return ParsedTime.Seconds.ToString();
}
public void SCUpdateButtonLabel()

View File

@@ -1,22 +0,0 @@
namespace Basketball_Scoreboard_System.classes
{
public class Player
{
public string Name { get; set; }
public int Number { get; set; }
public int Points { get; set; }
public int Rebounds { get; set; }
public int Assists { get; set; }
public int Blocks { get; set; }
public int Steals { get; set; }
public int Turnovers { get; set; }
public int TotalShots { get; set; }
public int ShotsMade { get; set; }
public Player(int Number, string Name)
{
this.Number = Number;
this.Name = Name;
}
}
}

View File

@@ -9,11 +9,9 @@
public bool IsHome { get; set; }
public bool IsAway { get; set; }
public bool Possession { get; set; }
public List<Player> Players { get; set; }
public Team(bool IsHomeTeam, bool IsAwayTeam, bool HasPossession)
{
Players = new List<Player>();
Score = 0;
Fouls = 0;
Bonus = false;

View File

@@ -26,7 +26,6 @@
private void InitializeComponent()
{
MainClockTimer = new System.Timers.Timer();
ShotClockTimer = new System.Timers.Timer();
LabelClock = new Label();
PanelScoreHome = new Panel();
LabelHomeTeamName = new Label();
@@ -47,11 +46,12 @@
LabelHomeTeamFoulsTitle = new Label();
LabelHomeTeamFouls = new Label();
PanelParent = new Panel();
ShotClockTimer = new System.Timers.Timer();
((System.ComponentModel.ISupportInitialize)MainClockTimer).BeginInit();
((System.ComponentModel.ISupportInitialize)ShotClockTimer).BeginInit();
PanelScoreHome.SuspendLayout();
PanelScoreAway.SuspendLayout();
PanelParent.SuspendLayout();
((System.ComponentModel.ISupportInitialize)ShotClockTimer).BeginInit();
SuspendLayout();
//
// MainClockTimer
@@ -60,20 +60,15 @@
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.Location = new Point(507, 0);
LabelClock.Margin = new Padding(4, 0, 4, 0);
LabelClock.Name = "LabelClock";
LabelClock.Size = new Size(700, 215);
LabelClock.Size = new Size(1000, 358);
LabelClock.TabIndex = 0;
LabelClock.Text = "--:--";
LabelClock.TextAlign = ContentAlignment.MiddleCenter;
@@ -81,20 +76,22 @@
// PanelScoreHome
//
PanelScoreHome.Controls.Add(LabelHomeTeamName);
PanelScoreHome.Location = new Point(3, 3);
PanelScoreHome.Location = new Point(4, 5);
PanelScoreHome.Margin = new Padding(4, 5, 4, 5);
PanelScoreHome.Name = "PanelScoreHome";
PanelScoreHome.Size = new Size(346, 212);
PanelScoreHome.Size = new Size(494, 353);
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.Location = new Point(9, 0);
LabelHomeTeamName.Margin = new Padding(4, 0, 4, 0);
LabelHomeTeamName.MaximumSize = new Size(486, 353);
LabelHomeTeamName.MinimumSize = new Size(486, 353);
LabelHomeTeamName.Name = "LabelHomeTeamName";
LabelHomeTeamName.Size = new Size(340, 212);
LabelHomeTeamName.Size = new Size(486, 353);
LabelHomeTeamName.TabIndex = 0;
LabelHomeTeamName.Text = "----";
LabelHomeTeamName.TextAlign = ContentAlignment.MiddleCenter;
@@ -103,9 +100,10 @@
// PanelScoreAway
//
PanelScoreAway.Controls.Add(LabelAwayTeamName);
PanelScoreAway.Location = new Point(1061, 3);
PanelScoreAway.Location = new Point(1516, 5);
PanelScoreAway.Margin = new Padding(4, 5, 4, 5);
PanelScoreAway.Name = "PanelScoreAway";
PanelScoreAway.Size = new Size(346, 212);
PanelScoreAway.Size = new Size(494, 353);
PanelScoreAway.TabIndex = 2;
//
// LabelAwayTeamName
@@ -113,10 +111,11 @@
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.Margin = new Padding(4, 0, 4, 0);
LabelAwayTeamName.MaximumSize = new Size(486, 353);
LabelAwayTeamName.MinimumSize = new Size(486, 353);
LabelAwayTeamName.Name = "LabelAwayTeamName";
LabelAwayTeamName.Size = new Size(340, 212);
LabelAwayTeamName.Size = new Size(486, 353);
LabelAwayTeamName.TabIndex = 3;
LabelAwayTeamName.Text = "----";
LabelAwayTeamName.TextAlign = ContentAlignment.MiddleCenter;
@@ -127,9 +126,10 @@
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.Location = new Point(810, 500);
LabelShotClock.Margin = new Padding(4, 0, 4, 0);
LabelShotClock.Name = "LabelShotClock";
LabelShotClock.Size = new Size(277, 160);
LabelShotClock.Size = new Size(396, 267);
LabelShotClock.TabIndex = 3;
LabelShotClock.Text = "--";
LabelShotClock.TextAlign = ContentAlignment.MiddleCenter;
@@ -137,9 +137,10 @@
// LabelShotClockTitle
//
LabelShotClockTitle.Font = new Font("Fira Mono", 36F, FontStyle.Bold, GraphicsUnit.Point);
LabelShotClockTitle.Location = new Point(529, 223);
LabelShotClockTitle.Location = new Point(756, 372);
LabelShotClockTitle.Margin = new Padding(4, 0, 4, 0);
LabelShotClockTitle.Name = "LabelShotClockTitle";
LabelShotClockTitle.Size = new Size(352, 77);
LabelShotClockTitle.Size = new Size(503, 128);
LabelShotClockTitle.TabIndex = 4;
LabelShotClockTitle.Text = "SHOT CLOCK";
LabelShotClockTitle.TextAlign = ContentAlignment.MiddleCenter;
@@ -149,9 +150,10 @@
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.Location = new Point(13, 372);
LabelHomeScore.Margin = new Padding(4, 0, 4, 0);
LabelHomeScore.Name = "LabelHomeScore";
LabelHomeScore.Size = new Size(475, 160);
LabelHomeScore.Size = new Size(679, 267);
LabelHomeScore.TabIndex = 5;
LabelHomeScore.Text = "0";
LabelHomeScore.TextAlign = ContentAlignment.MiddleCenter;
@@ -161,9 +163,10 @@
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.Location = new Point(1323, 372);
LabelAwayScore.Margin = new Padding(4, 0, 4, 0);
LabelAwayScore.Name = "LabelAwayScore";
LabelAwayScore.Size = new Size(475, 160);
LabelAwayScore.Size = new Size(679, 267);
LabelAwayScore.TabIndex = 6;
LabelAwayScore.Text = "0";
LabelAwayScore.TextAlign = ContentAlignment.MiddleCenter;
@@ -171,9 +174,10 @@
// LabelPeriodTitle
//
LabelPeriodTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point);
LabelPeriodTitle.Location = new Point(613, 460);
LabelPeriodTitle.Location = new Point(876, 767);
LabelPeriodTitle.Margin = new Padding(4, 0, 4, 0);
LabelPeriodTitle.Name = "LabelPeriodTitle";
LabelPeriodTitle.Size = new Size(185, 52);
LabelPeriodTitle.Size = new Size(264, 87);
LabelPeriodTitle.TabIndex = 4;
LabelPeriodTitle.Text = "PERIOD";
LabelPeriodTitle.TextAlign = ContentAlignment.MiddleCenter;
@@ -183,9 +187,10 @@
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.Location = new Point(930, 853);
LabelPeriod.Margin = new Padding(4, 0, 4, 0);
LabelPeriod.Name = "LabelPeriod";
LabelPeriod.Size = new Size(108, 154);
LabelPeriod.Size = new Size(154, 257);
LabelPeriod.TabIndex = 7;
LabelPeriod.Text = "-";
LabelPeriod.TextAlign = ContentAlignment.MiddleCenter;
@@ -195,9 +200,10 @@
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.Location = new Point(756, 853);
LabelHomeTeamPossession.Margin = new Padding(4, 0, 4, 0);
LabelHomeTeamPossession.Name = "LabelHomeTeamPossession";
LabelHomeTeamPossession.Size = new Size(91, 121);
LabelHomeTeamPossession.Size = new Size(130, 202);
LabelHomeTeamPossession.TabIndex = 8;
LabelHomeTeamPossession.Text = "<";
LabelHomeTeamPossession.TextAlign = ContentAlignment.MiddleCenter;
@@ -207,9 +213,10 @@
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.Location = new Point(1129, 853);
LabelAwayTeamPossession.Margin = new Padding(4, 0, 4, 0);
LabelAwayTeamPossession.Name = "LabelAwayTeamPossession";
LabelAwayTeamPossession.Size = new Size(91, 121);
LabelAwayTeamPossession.Size = new Size(130, 202);
LabelAwayTeamPossession.TabIndex = 9;
LabelAwayTeamPossession.Text = ">";
LabelAwayTeamPossession.TextAlign = ContentAlignment.MiddleCenter;
@@ -220,9 +227,10 @@
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.Location = new Point(1323, 652);
LabelAwayTeamBonus.Margin = new Padding(4, 0, 4, 0);
LabelAwayTeamBonus.Name = "LabelAwayTeamBonus";
LabelAwayTeamBonus.Size = new Size(91, 121);
LabelAwayTeamBonus.Size = new Size(130, 202);
LabelAwayTeamBonus.TabIndex = 10;
LabelAwayTeamBonus.Text = "B";
LabelAwayTeamBonus.TextAlign = ContentAlignment.MiddleCenter;
@@ -233,9 +241,10 @@
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.Location = new Point(561, 652);
LabelHomeTeamBonus.Margin = new Padding(4, 0, 4, 0);
LabelHomeTeamBonus.Name = "LabelHomeTeamBonus";
LabelHomeTeamBonus.Size = new Size(91, 121);
LabelHomeTeamBonus.Size = new Size(130, 202);
LabelHomeTeamBonus.TabIndex = 11;
LabelHomeTeamBonus.Text = "B";
LabelHomeTeamBonus.TextAlign = ContentAlignment.MiddleCenter;
@@ -244,9 +253,10 @@
// LabelAwayTeamFoulsTitle
//
LabelAwayTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point);
LabelAwayTeamFoulsTitle.Location = new Point(1071, 460);
LabelAwayTeamFoulsTitle.Location = new Point(1530, 767);
LabelAwayTeamFoulsTitle.Margin = new Padding(4, 0, 4, 0);
LabelAwayTeamFoulsTitle.Name = "LabelAwayTeamFoulsTitle";
LabelAwayTeamFoulsTitle.Size = new Size(185, 52);
LabelAwayTeamFoulsTitle.Size = new Size(264, 87);
LabelAwayTeamFoulsTitle.TabIndex = 12;
LabelAwayTeamFoulsTitle.Text = "FOULS";
LabelAwayTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter;
@@ -256,9 +266,10 @@
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.Location = new Point(1584, 853);
LabelAwayTeamFouls.Margin = new Padding(4, 0, 4, 0);
LabelAwayTeamFouls.Name = "LabelAwayTeamFouls";
LabelAwayTeamFouls.Size = new Size(108, 154);
LabelAwayTeamFouls.Size = new Size(154, 257);
LabelAwayTeamFouls.TabIndex = 13;
LabelAwayTeamFouls.Text = "-";
LabelAwayTeamFouls.TextAlign = ContentAlignment.MiddleCenter;
@@ -266,9 +277,10 @@
// LabelHomeTeamFoulsTitle
//
LabelHomeTeamFoulsTitle.Font = new Font("Fira Mono", 27.7499962F, FontStyle.Bold, GraphicsUnit.Point);
LabelHomeTeamFoulsTitle.Location = new Point(154, 460);
LabelHomeTeamFoulsTitle.Location = new Point(220, 767);
LabelHomeTeamFoulsTitle.Margin = new Padding(4, 0, 4, 0);
LabelHomeTeamFoulsTitle.Name = "LabelHomeTeamFoulsTitle";
LabelHomeTeamFoulsTitle.Size = new Size(185, 52);
LabelHomeTeamFoulsTitle.Size = new Size(264, 87);
LabelHomeTeamFoulsTitle.TabIndex = 14;
LabelHomeTeamFoulsTitle.Text = "FOULS";
LabelHomeTeamFoulsTitle.TextAlign = ContentAlignment.MiddleCenter;
@@ -278,9 +290,10 @@
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.Location = new Point(274, 853);
LabelHomeTeamFouls.Margin = new Padding(4, 0, 4, 0);
LabelHomeTeamFouls.Name = "LabelHomeTeamFouls";
LabelHomeTeamFouls.Size = new Size(108, 154);
LabelHomeTeamFouls.Size = new Size(154, 257);
LabelHomeTeamFouls.TabIndex = 15;
LabelHomeTeamFouls.Text = "-";
LabelHomeTeamFouls.TextAlign = ContentAlignment.MiddleCenter;
@@ -305,21 +318,27 @@
PanelParent.Controls.Add(PanelScoreAway);
PanelParent.Controls.Add(PanelScoreHome);
PanelParent.Controls.Add(LabelClock);
PanelParent.Location = new Point(12, 12);
PanelParent.Margin = new Padding(8);
PanelParent.Location = new Point(17, 20);
PanelParent.Margin = new Padding(11, 13, 11, 13);
PanelParent.Name = "PanelParent";
PanelParent.Size = new Size(1410, 752);
PanelParent.Size = new Size(2014, 1253);
PanelParent.TabIndex = 0;
//
// ShotClockTimer
//
ShotClockTimer.SynchronizingObject = this;
ShotClockTimer.Elapsed += ShotClockTimer_Elapsed;
//
// AudienceWindow
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = Color.Black;
ClientSize = new Size(1434, 776);
ClientSize = new Size(2049, 1293);
Controls.Add(PanelParent);
ForeColor = Color.White;
MinimumSize = new Size(1450, 815);
Margin = new Padding(4, 5, 4, 5);
MinimumSize = new Size(2062, 1321);
Name = "AudienceWindow";
ShowIcon = false;
StartPosition = FormStartPosition.CenterScreen;
@@ -327,18 +346,17 @@
FormClosing += AudienceWindow_FormClosing;
Load += AudienceWindow_Load;
((System.ComponentModel.ISupportInitialize)MainClockTimer).EndInit();
((System.ComponentModel.ISupportInitialize)ShotClockTimer).EndInit();
PanelScoreHome.ResumeLayout(false);
PanelScoreHome.PerformLayout();
PanelScoreAway.ResumeLayout(false);
PanelScoreAway.PerformLayout();
PanelParent.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)ShotClockTimer).EndInit();
ResumeLayout(false);
}
#endregion
public System.Timers.Timer MainClockTimer;
public System.Timers.Timer ShotClockTimer;
private Panel PanelParent;
public Label LabelHomeTeamFouls;
public Label LabelHomeTeamFoulsTitle;
@@ -359,5 +377,6 @@
private Panel PanelScoreHome;
public Label LabelHomeTeamName;
public Label LabelClock;
public System.Timers.Timer ShotClockTimer;
}
}

View File

@@ -9,9 +9,9 @@ namespace Basketball_Scoreboard_System.forms
public AudienceWindow() => InitializeComponent();
private void LabelHomeTeamName_Paint(object sender, PaintEventArgs e) => LabelHomeTeamName.Font = Program.GetFontSize(e.Graphics, LabelHomeTeamName.Text, new Size(LabelHomeTeamName.Width - 12, LabelHomeTeamName.Height), LabelHomeTeamName.Font);
private void LabelHomeTeamName_Paint(object sender, PaintEventArgs e) => LabelHomeTeamName.Font = Program.GetFontSize(e.Graphics, LabelHomeTeamName.Text, new Size(LabelHomeTeamName.Width - 20, LabelHomeTeamName.Height), LabelHomeTeamName.Font);
private void LabelAwayTeamName_Paint(object sender, PaintEventArgs e) => LabelAwayTeamName.Font = Program.GetFontSize(e.Graphics, LabelAwayTeamName.Text, new Size(LabelAwayTeamName.MaximumSize.Width - 12, LabelAwayTeamName.MaximumSize.Height), LabelAwayTeamName.Font);
private void LabelAwayTeamName_Paint(object sender, PaintEventArgs e) => LabelAwayTeamName.Font = Program.GetFontSize(e.Graphics, LabelAwayTeamName.Text, new Size(LabelAwayTeamName.MaximumSize.Width - 20, LabelAwayTeamName.MaximumSize.Height), LabelAwayTeamName.Font);
private void AudienceWindow_Load(object sender, EventArgs e) => Program.ControlPanel.Show();
@@ -31,6 +31,7 @@ namespace Basketball_Scoreboard_System.forms
else
{
Program.AudienceWindow.MainClockTimer.Stop();
Program.AudienceWindow.ShotClockTimer.Stop();
BuzzerMainClock.Play();
}
}
@@ -44,6 +45,7 @@ namespace Basketball_Scoreboard_System.forms
}
else
{
Program.AudienceWindow.MainClockTimer.Stop();
Program.AudienceWindow.ShotClockTimer.Stop();
BuzzerShotClock.Play();
}

View File

@@ -1,4 +1,64 @@
<root>
<?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">
@@ -58,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="MainClockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>163, 24</value>
<value>208, 25</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>72</value>

View File

@@ -83,6 +83,7 @@
//
// ControlPanelMenuStrip
//
ControlPanelMenuStrip.ImageScalingSize = new Size(24, 24);
ControlPanelMenuStrip.Items.AddRange(new ToolStripItem[] { GameMenu, TeamsMenu, MainClockMenu, ShotClockMenu });
resources.ApplyResources(ControlPanelMenuStrip, "ControlPanelMenuStrip");
ControlPanelMenuStrip.Name = "ControlPanelMenuStrip";

View File

@@ -1,4 +1,64 @@
<root>
<?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">
@@ -62,109 +122,109 @@
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="GameMenuSetPeriod.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 22</value>
<value>256, 34</value>
</data>
<data name="GameMenuSetPeriod.Text" xml:space="preserve">
<value>Set Period</value>
</data>
<data name="GameMenuSwitchPossession.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 22</value>
<value>256, 34</value>
</data>
<data name="GameMenuSwitchPossession.Text" xml:space="preserve">
<value>Switch Possession</value>
</data>
<data name="GameMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>50, 20</value>
<value>74, 29</value>
</data>
<data name="GameMenu.Text" xml:space="preserve">
<value>Game</value>
</data>
<data name="TeamsMenuHomeChangeName.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 22</value>
<value>226, 34</value>
</data>
<data name="TeamsMenuHomeChangeName.Text" xml:space="preserve">
<value>Change Name</value>
</data>
<data name="TeamsMenuHomeSetFouls.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 22</value>
<value>226, 34</value>
</data>
<data name="TeamsMenuHomeSetFouls.Text" xml:space="preserve">
<value>Set Fouls</value>
</data>
<data name="TeamsMenuHome.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 22</value>
<value>315, 34</value>
</data>
<data name="TeamsMenuHome.Text" xml:space="preserve">
<value>Home</value>
</data>
<data name="TeamsMenuAwayChangeName.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 22</value>
<value>226, 34</value>
</data>
<data name="TeamsMenuAwayChangeName.Text" xml:space="preserve">
<value>Change Name</value>
</data>
<data name="TeamsMenuAwaySetFouls.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 22</value>
<value>226, 34</value>
</data>
<data name="TeamsMenuAwaySetFouls.Text" xml:space="preserve">
<value>Set Fouls</value>
</data>
<data name="TeamsMenuAway.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 22</value>
<value>315, 34</value>
</data>
<data name="TeamsMenuAway.Text" xml:space="preserve">
<value>Away</value>
</data>
<data name="SetBonusFoulThresholdMenuButton.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 22</value>
<value>315, 34</value>
</data>
<data name="SetBonusFoulThresholdMenuButton.Text" xml:space="preserve">
<value>Set Bonus Foul Threshold</value>
</data>
<data name="TeamsMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>52, 20</value>
<value>77, 29</value>
</data>
<data name="TeamsMenu.Text" xml:space="preserve">
<value>Teams</value>
</data>
<data name="MainClockMenuSetTime.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
<value>244, 34</value>
</data>
<data name="MainClockMenuSetTime.Text" xml:space="preserve">
<value>Set Time</value>
</data>
<data name="MainClockMenuSetDefaultTime.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
<value>244, 34</value>
</data>
<data name="MainClockMenuSetDefaultTime.Text" xml:space="preserve">
<value>Set Default Time</value>
</data>
<data name="MainClockMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 20</value>
<value>115, 29</value>
</data>
<data name="MainClockMenu.Text" xml:space="preserve">
<value>Main Clock</value>
</data>
<data name="ShotClockMenuSetTime.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 22</value>
<value>257, 34</value>
</data>
<data name="ShotClockMenuSetTime.Text" xml:space="preserve">
<value>Set Time</value>
</data>
<data name="ShotClockMenuSetDefaultTime.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 22</value>
<value>257, 34</value>
</data>
<data name="ShotClockMenuSetDefaultTime.Text" xml:space="preserve">
<value>Set Default Time</value>
</data>
<data name="ShotClockMenuToggleShotClock.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 22</value>
<value>257, 34</value>
</data>
<data name="ShotClockMenuToggleShotClock.Text" xml:space="preserve">
<value>Toggle Shot Clock</value>
</data>
<data name="ShotClockMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>76, 20</value>
<value>113, 29</value>
</data>
<data name="ShotClockMenu.Text" xml:space="preserve">
<value>Shot Clock</value>
@@ -172,8 +232,12 @@
<data name="ControlPanelMenuStrip.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ControlPanelMenuStrip.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>9, 3, 0, 3</value>
</data>
<data name="ControlPanelMenuStrip.Size" type="System.Drawing.Size, System.Drawing">
<value>486, 24</value>
<value>713, 35</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ControlPanelMenuStrip.TabIndex" type="System.Int32, mscorlib">
@@ -202,10 +266,13 @@
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonStartClocks.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 35</value>
<value>16, 58</value>
</data>
<data name="ButtonStartClocks.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonStartClocks.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 64</value>
<value>183, 107</value>
</data>
<data name="ButtonStartClocks.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@@ -232,10 +299,13 @@
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonStopClocks.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 35</value>
<value>208, 58</value>
</data>
<data name="ButtonStopClocks.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonStopClocks.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 64</value>
<value>183, 107</value>
</data>
<data name="ButtonStopClocks.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
@@ -262,10 +332,13 @@
<value>Segoe UI, 12pt</value>
</data>
<data name="ButtonSCSetToDefault.Location" type="System.Drawing.Point, System.Drawing">
<value>280, 35</value>
<value>399, 58</value>
</data>
<data name="ButtonSCSetToDefault.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonSCSetToDefault.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 64</value>
<value>145, 107</value>
</data>
<data name="ButtonSCSetToDefault.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
@@ -293,10 +366,13 @@ Set XXs</value>
<value>Segoe UI, 12pt</value>
</data>
<data name="ButtonSCSet14S.Location" type="System.Drawing.Point, System.Drawing">
<value>382, 35</value>
<value>552, 58</value>
</data>
<data name="ButtonSCSet14S.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonSCSet14S.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 64</value>
<value>145, 107</value>
</data>
<data name="ButtonSCSet14S.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
@@ -321,10 +397,13 @@ Set 14s</value>
<value>Segoe UI, 27.75pt, style=Bold</value>
</data>
<data name="LabelHomeTitle.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 106</value>
<value>23, 177</value>
</data>
<data name="LabelHomeTitle.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelHomeTitle.Size" type="System.Drawing.Size, System.Drawing">
<value>227, 65</value>
<value>324, 108</value>
</data>
<data name="LabelHomeTitle.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
@@ -351,10 +430,13 @@ Set 14s</value>
<value>Segoe UI, 27.75pt, style=Bold</value>
</data>
<data name="LabelAwayTitle.Location" type="System.Drawing.Point, System.Drawing">
<value>252, 106</value>
<value>366, 177</value>
</data>
<data name="LabelAwayTitle.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelAwayTitle.Size" type="System.Drawing.Size, System.Drawing">
<value>226, 65</value>
<value>323, 108</value>
</data>
<data name="LabelAwayTitle.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
@@ -378,10 +460,13 @@ Set 14s</value>
<value>24</value>
</data>
<data name="Line.Location" type="System.Drawing.Point, System.Drawing">
<value>245, 106</value>
<value>356, 177</value>
</data>
<data name="Line.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="Line.Size" type="System.Drawing.Size, System.Drawing">
<value>1, 291</value>
<value>1, 485</value>
</data>
<data name="Line.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
@@ -405,10 +490,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreAdd1.Location" type="System.Drawing.Point, System.Drawing">
<value>128, 174</value>
<value>189, 290</value>
</data>
<data name="ButtonHomeScoreAdd1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreAdd1.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreAdd1.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -435,10 +523,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreAdd2.Location" type="System.Drawing.Point, System.Drawing">
<value>128, 244</value>
<value>189, 407</value>
</data>
<data name="ButtonHomeScoreAdd2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreAdd2.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreAdd2.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -465,10 +556,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreAdd3.Location" type="System.Drawing.Point, System.Drawing">
<value>128, 314</value>
<value>189, 523</value>
</data>
<data name="ButtonHomeScoreAdd3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreAdd3.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreAdd3.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -495,10 +589,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreSubtract1.Location" type="System.Drawing.Point, System.Drawing">
<value>58, 174</value>
<value>89, 290</value>
</data>
<data name="ButtonHomeScoreSubtract1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreSubtract1.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreSubtract1.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -525,10 +622,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreSubtract2.Location" type="System.Drawing.Point, System.Drawing">
<value>58, 244</value>
<value>89, 407</value>
</data>
<data name="ButtonHomeScoreSubtract2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreSubtract2.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreSubtract2.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -555,10 +655,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonHomeScoreSubtract3.Location" type="System.Drawing.Point, System.Drawing">
<value>58, 314</value>
<value>89, 523</value>
</data>
<data name="ButtonHomeScoreSubtract3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonHomeScoreSubtract3.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonHomeScoreSubtract3.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -585,10 +688,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreAdd1.Location" type="System.Drawing.Point, System.Drawing">
<value>368, 174</value>
<value>532, 290</value>
</data>
<data name="ButtonAwayScoreAdd1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreAdd1.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreAdd1.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -615,10 +721,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreAdd2.Location" type="System.Drawing.Point, System.Drawing">
<value>368, 244</value>
<value>532, 407</value>
</data>
<data name="ButtonAwayScoreAdd2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreAdd2.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreAdd2.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -645,10 +754,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreSubtract1.Location" type="System.Drawing.Point, System.Drawing">
<value>298, 174</value>
<value>432, 290</value>
</data>
<data name="ButtonAwayScoreSubtract1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreSubtract1.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreSubtract1.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -675,10 +787,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreSubtract2.Location" type="System.Drawing.Point, System.Drawing">
<value>298, 244</value>
<value>432, 407</value>
</data>
<data name="ButtonAwayScoreSubtract2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreSubtract2.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreSubtract2.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -705,10 +820,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreAdd3.Location" type="System.Drawing.Point, System.Drawing">
<value>368, 314</value>
<value>532, 523</value>
</data>
<data name="ButtonAwayScoreAdd3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreAdd3.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreAdd3.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -735,10 +853,13 @@ Set 14s</value>
<value>Segoe UI, 14.25pt</value>
</data>
<data name="ButtonAwayScoreSubtract3.Location" type="System.Drawing.Point, System.Drawing">
<value>298, 314</value>
<value>432, 523</value>
</data>
<data name="ButtonAwayScoreSubtract3.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="ButtonAwayScoreSubtract3.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 67</value>
<value>91, 112</value>
</data>
<data name="ButtonAwayScoreSubtract3.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@@ -759,10 +880,13 @@ Set 14s</value>
<value>11</value>
</data>
<data name="LabelClock.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 400</value>
<value>309, 667</value>
</data>
<data name="LabelClock.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelClock.Size" type="System.Drawing.Size, System.Drawing">
<value>66, 23</value>
<value>94, 38</value>
</data>
<data name="LabelClock.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
@@ -785,11 +909,17 @@ Set 14s</value>
<data name="&gt;&gt;LabelClock.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="LabelShotClock.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="LabelShotClock.Location" type="System.Drawing.Point, System.Drawing">
<value>229, 425</value>
<value>321, 708</value>
</data>
<data name="LabelShotClock.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelShotClock.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>71, 38</value>
</data>
<data name="LabelShotClock.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
@@ -813,10 +943,13 @@ Set 14s</value>
<value>9</value>
</data>
<data name="LabelPeriod.Location" type="System.Drawing.Point, System.Drawing">
<value>229, 448</value>
<value>333, 747</value>
</data>
<data name="LabelPeriod.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelPeriod.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelPeriod.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
@@ -840,10 +973,13 @@ Set 14s</value>
<value>8</value>
</data>
<data name="LabelAwayPossession.Location" type="System.Drawing.Point, System.Drawing">
<value>268, 448</value>
<value>389, 747</value>
</data>
<data name="LabelAwayPossession.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelAwayPossession.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelAwayPossession.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -870,10 +1006,13 @@ Set 14s</value>
<value>7</value>
</data>
<data name="LabelHomePossession.Location" type="System.Drawing.Point, System.Drawing">
<value>190, 448</value>
<value>277, 747</value>
</data>
<data name="LabelHomePossession.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelHomePossession.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelHomePossession.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -897,10 +1036,13 @@ Set 14s</value>
<value>4</value>
</data>
<data name="LabelAwayBonus.Location" type="System.Drawing.Point, System.Drawing">
<value>268, 425</value>
<value>389, 708</value>
</data>
<data name="LabelAwayBonus.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelAwayBonus.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelAwayBonus.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -927,10 +1069,13 @@ Set 14s</value>
<value>3</value>
</data>
<data name="LabelHomeBonus.Location" type="System.Drawing.Point, System.Drawing">
<value>190, 425</value>
<value>277, 708</value>
</data>
<data name="LabelHomeBonus.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelHomeBonus.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelHomeBonus.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -957,10 +1102,13 @@ Set 14s</value>
<value>0</value>
</data>
<data name="LabelAwayFouls.Location" type="System.Drawing.Point, System.Drawing">
<value>307, 448</value>
<value>445, 747</value>
</data>
<data name="LabelAwayFouls.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelAwayFouls.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelAwayFouls.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -984,10 +1132,13 @@ Set 14s</value>
<value>6</value>
</data>
<data name="LabelAwayScore.Location" type="System.Drawing.Point, System.Drawing">
<value>307, 425</value>
<value>445, 708</value>
</data>
<data name="LabelAwayScore.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelAwayScore.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelAwayScore.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -1011,10 +1162,13 @@ Set 14s</value>
<value>2</value>
</data>
<data name="LabelHomeFouls.Location" type="System.Drawing.Point, System.Drawing">
<value>151, 448</value>
<value>222, 747</value>
</data>
<data name="LabelHomeFouls.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelHomeFouls.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelHomeFouls.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -1038,10 +1192,13 @@ Set 14s</value>
<value>5</value>
</data>
<data name="LabelHomeScore.Location" type="System.Drawing.Point, System.Drawing">
<value>151, 425</value>
<value>222, 708</value>
</data>
<data name="LabelHomeScore.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="LabelHomeScore.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 23</value>
<value>47, 38</value>
</data>
<data name="LabelHomeScore.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
@@ -1068,16 +1225,19 @@ Set 14s</value>
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>7, 15</value>
<value>10, 25</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>490, 483</value>
<value>713, 817</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 5, 4, 5</value>
</data>
<data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
<value>506, 522</value>
<value>735, 873</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>506, 522</value>
<value>735, 873</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>

View File

@@ -28,119 +28,114 @@
/// </summary>
private void InitializeComponent()
{
this.ButtonCancel = new System.Windows.Forms.Button();
this.ButtonOK = new System.Windows.Forms.Button();
this.MinutesSelector = new System.Windows.Forms.NumericUpDown();
this.SecondsSelector = new System.Windows.Forms.NumericUpDown();
this.MSSelector = new System.Windows.Forms.NumericUpDown();
this.Colon = new System.Windows.Forms.Label();
this.Dot = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.MinutesSelector)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.SecondsSelector)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MSSelector)).BeginInit();
this.SuspendLayout();
ButtonCancel = new Button();
ButtonOK = new Button();
MinutesSelector = new NumericUpDown();
SecondsSelector = new NumericUpDown();
MSSelector = new NumericUpDown();
Colon = new Label();
Dot = new Label();
((System.ComponentModel.ISupportInitialize)MinutesSelector).BeginInit();
((System.ComponentModel.ISupportInitialize)SecondsSelector).BeginInit();
((System.ComponentModel.ISupportInitialize)MSSelector).BeginInit();
SuspendLayout();
//
// ButtonCancel
//
this.ButtonCancel.Location = new System.Drawing.Point(12, 41);
this.ButtonCancel.Name = "ButtonCancel";
this.ButtonCancel.Size = new System.Drawing.Size(64, 24);
this.ButtonCancel.TabIndex = 2;
this.ButtonCancel.Text = "Cancel";
this.ButtonCancel.UseVisualStyleBackColor = true;
this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
ButtonCancel.Location = new Point(20, 66);
ButtonCancel.Margin = new Padding(4, 5, 4, 5);
ButtonCancel.Name = "ButtonCancel";
ButtonCancel.Size = new Size(91, 40);
ButtonCancel.TabIndex = 2;
ButtonCancel.Text = "Cancel";
ButtonCancel.UseVisualStyleBackColor = true;
ButtonCancel.Click += ButtonCancel_Click;
//
// ButtonOK
//
this.ButtonOK.Location = new System.Drawing.Point(83, 41);
this.ButtonOK.Name = "ButtonOK";
this.ButtonOK.Size = new System.Drawing.Size(64, 24);
this.ButtonOK.TabIndex = 3;
this.ButtonOK.Text = "OK";
this.ButtonOK.UseVisualStyleBackColor = true;
this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click);
ButtonOK.Location = new Point(122, 66);
ButtonOK.Margin = new Padding(4, 5, 4, 5);
ButtonOK.Name = "ButtonOK";
ButtonOK.Size = new Size(91, 40);
ButtonOK.TabIndex = 3;
ButtonOK.Text = "OK";
ButtonOK.UseVisualStyleBackColor = true;
ButtonOK.Click += ButtonOK_Click;
//
// MinutesSelector
//
this.MinutesSelector.Location = new System.Drawing.Point(12, 12);
this.MinutesSelector.Maximum = new decimal(new int[] {
59,
0,
0,
0});
this.MinutesSelector.Name = "MinutesSelector";
this.MinutesSelector.Size = new System.Drawing.Size(35, 23);
this.MinutesSelector.TabIndex = 4;
this.MinutesSelector.ValueChanged += new System.EventHandler(this.MinutesSelector_ValueChanged);
MinutesSelector.Location = new Point(20, 18);
MinutesSelector.Margin = new Padding(4, 5, 4, 5);
MinutesSelector.Maximum = new decimal(new int[] { 59, 0, 0, 0 });
MinutesSelector.Name = "MinutesSelector";
MinutesSelector.Size = new Size(50, 31);
MinutesSelector.TabIndex = 4;
MinutesSelector.ValueChanged += MinutesSelector_ValueChanged;
//
// SecondsSelector
//
this.SecondsSelector.Location = new System.Drawing.Point(57, 12);
this.SecondsSelector.Maximum = new decimal(new int[] {
59,
0,
0,
0});
this.SecondsSelector.Name = "SecondsSelector";
this.SecondsSelector.Size = new System.Drawing.Size(35, 23);
this.SecondsSelector.TabIndex = 5;
this.SecondsSelector.ValueChanged += new System.EventHandler(this.SecondsSelector_ValueChanged);
SecondsSelector.Location = new Point(84, 18);
SecondsSelector.Margin = new Padding(4, 5, 4, 5);
SecondsSelector.Maximum = new decimal(new int[] { 59, 0, 0, 0 });
SecondsSelector.Name = "SecondsSelector";
SecondsSelector.Size = new Size(50, 31);
SecondsSelector.TabIndex = 5;
SecondsSelector.ValueChanged += SecondsSelector_ValueChanged;
//
// MSSelector
//
this.MSSelector.Location = new System.Drawing.Point(103, 12);
this.MSSelector.Maximum = new decimal(new int[] {
999,
0,
0,
0});
this.MSSelector.Name = "MSSelector";
this.MSSelector.Size = new System.Drawing.Size(44, 23);
this.MSSelector.TabIndex = 6;
this.MSSelector.ValueChanged += new System.EventHandler(this.MSSelector_ValueChanged);
MSSelector.Location = new Point(150, 18);
MSSelector.Margin = new Padding(4, 5, 4, 5);
MSSelector.Maximum = new decimal(new int[] { 999, 0, 0, 0 });
MSSelector.Name = "MSSelector";
MSSelector.Size = new Size(63, 31);
MSSelector.TabIndex = 6;
MSSelector.ValueChanged += MSSelector_ValueChanged;
//
// Colon
//
this.Colon.Location = new System.Drawing.Point(47, 12);
this.Colon.Name = "Colon";
this.Colon.Size = new System.Drawing.Size(10, 23);
this.Colon.TabIndex = 7;
this.Colon.Text = ":";
this.Colon.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
Colon.Location = new Point(70, 18);
Colon.Margin = new Padding(4, 0, 4, 0);
Colon.Name = "Colon";
Colon.Size = new Size(14, 38);
Colon.TabIndex = 7;
Colon.Text = ":";
Colon.TextAlign = ContentAlignment.MiddleCenter;
//
// Dot
//
this.Dot.Location = new System.Drawing.Point(92, 12);
this.Dot.Name = "Dot";
this.Dot.Size = new System.Drawing.Size(11, 23);
this.Dot.TabIndex = 8;
this.Dot.Text = ".";
this.Dot.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
Dot.Location = new Point(134, 18);
Dot.Margin = new Padding(4, 0, 4, 0);
Dot.Name = "Dot";
Dot.Size = new Size(16, 38);
Dot.TabIndex = 8;
Dot.Text = ".";
Dot.TextAlign = ContentAlignment.MiddleCenter;
//
// MainClockTimeSet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(159, 76);
this.ControlBox = false;
this.Controls.Add(this.Dot);
this.Controls.Add(this.Colon);
this.Controls.Add(this.MSSelector);
this.Controls.Add(this.SecondsSelector);
this.Controls.Add(this.MinutesSelector);
this.Controls.Add(this.ButtonCancel);
this.Controls.Add(this.ButtonOK);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximumSize = new System.Drawing.Size(175, 115);
this.MinimumSize = new System.Drawing.Size(175, 115);
this.Name = "MainClockTimeSet";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Time";
((System.ComponentModel.ISupportInitialize)(this.MinutesSelector)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.SecondsSelector)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MSSelector)).EndInit();
this.ResumeLayout(false);
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(232, 125);
ControlBox = false;
Controls.Add(Dot);
Controls.Add(Colon);
Controls.Add(MSSelector);
Controls.Add(SecondsSelector);
Controls.Add(MinutesSelector);
Controls.Add(ButtonCancel);
Controls.Add(ButtonOK);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Margin = new Padding(4, 5, 4, 5);
MaximumSize = new Size(254, 181);
MinimumSize = new Size(254, 181);
Name = "MainClockTimeSet";
StartPosition = FormStartPosition.CenterScreen;
Text = "Enter Time";
((System.ComponentModel.ISupportInitialize)MinutesSelector).EndInit();
((System.ComponentModel.ISupportInitialize)SecondsSelector).EndInit();
((System.ComponentModel.ISupportInitialize)MSSelector).EndInit();
ResumeLayout(false);
}
#endregion

View File

@@ -1,4 +1,64 @@
<root>
<?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">

View File

@@ -28,66 +28,64 @@
/// </summary>
private void InitializeComponent()
{
this.NumberSelector = new System.Windows.Forms.NumericUpDown();
this.ButtonCancel = new System.Windows.Forms.Button();
this.ButtonOK = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.NumberSelector)).BeginInit();
this.SuspendLayout();
NumberSelector = new NumericUpDown();
ButtonCancel = new Button();
ButtonOK = new Button();
((System.ComponentModel.ISupportInitialize)NumberSelector).BeginInit();
SuspendLayout();
//
// NumberSelector
//
this.NumberSelector.Location = new System.Drawing.Point(12, 12);
this.NumberSelector.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.NumberSelector.Name = "NumberSelector";
this.NumberSelector.Size = new System.Drawing.Size(135, 23);
this.NumberSelector.TabIndex = 14;
this.NumberSelector.Value = new decimal(new int[] {
1,
0,
0,
0});
this.NumberSelector.ValueChanged += new System.EventHandler(this.NumberSelector_ValueChanged);
NumberSelector.Location = new Point(13, 14);
NumberSelector.Margin = new Padding(4, 5, 4, 5);
NumberSelector.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
NumberSelector.Name = "NumberSelector";
NumberSelector.Size = new Size(193, 31);
NumberSelector.TabIndex = 14;
NumberSelector.Value = new decimal(new int[] { 1, 0, 0, 0 });
NumberSelector.ValueChanged += NumberSelector_ValueChanged;
//
// ButtonCancel
//
this.ButtonCancel.Location = new System.Drawing.Point(12, 41);
this.ButtonCancel.Name = "ButtonCancel";
this.ButtonCancel.Size = new System.Drawing.Size(64, 24);
this.ButtonCancel.TabIndex = 12;
this.ButtonCancel.Text = "Cancel";
this.ButtonCancel.UseVisualStyleBackColor = true;
this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
ButtonCancel.Location = new Point(13, 62);
ButtonCancel.Margin = new Padding(4, 5, 4, 5);
ButtonCancel.Name = "ButtonCancel";
ButtonCancel.Size = new Size(91, 40);
ButtonCancel.TabIndex = 12;
ButtonCancel.Text = "Cancel";
ButtonCancel.UseVisualStyleBackColor = true;
ButtonCancel.Click += ButtonCancel_Click;
//
// ButtonOK
//
this.ButtonOK.Location = new System.Drawing.Point(83, 41);
this.ButtonOK.Name = "ButtonOK";
this.ButtonOK.Size = new System.Drawing.Size(64, 24);
this.ButtonOK.TabIndex = 13;
this.ButtonOK.Text = "OK";
this.ButtonOK.UseVisualStyleBackColor = true;
this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click);
ButtonOK.Location = new Point(115, 62);
ButtonOK.Margin = new Padding(4, 5, 4, 5);
ButtonOK.Name = "ButtonOK";
ButtonOK.Size = new Size(91, 40);
ButtonOK.TabIndex = 13;
ButtonOK.Text = "OK";
ButtonOK.UseVisualStyleBackColor = true;
ButtonOK.Click += ButtonOK_Click;
//
// NumberInput
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(159, 76);
this.ControlBox = false;
this.Controls.Add(this.NumberSelector);
this.Controls.Add(this.ButtonCancel);
this.Controls.Add(this.ButtonOK);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "NumberInput";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Number";
((System.ComponentModel.ISupportInitialize)(this.NumberSelector)).EndInit();
this.ResumeLayout(false);
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
AutoSize = true;
ClientSize = new Size(223, 119);
ControlBox = false;
Controls.Add(NumberSelector);
Controls.Add(ButtonCancel);
Controls.Add(ButtonOK);
FormBorderStyle = FormBorderStyle.FixedDialog;
Margin = new Padding(4, 5, 4, 5);
MaximumSize = new Size(245, 175);
MinimumSize = new Size(245, 175);
Name = "NumberInput";
StartPosition = FormStartPosition.CenterScreen;
Text = "Enter Number";
((System.ComponentModel.ISupportInitialize)NumberSelector).EndInit();
ResumeLayout(false);
}
#endregion

View File

@@ -1,4 +1,64 @@
<root>
<?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">

View File

@@ -28,74 +28,74 @@
/// </summary>
private void InitializeComponent()
{
this.ButtonCancel = new System.Windows.Forms.Button();
this.ButtonOK = new System.Windows.Forms.Button();
this.LabelSeconds = new System.Windows.Forms.Label();
this.SecondsSelector = new System.Windows.Forms.NumericUpDown();
((System.ComponentModel.ISupportInitialize)(this.SecondsSelector)).BeginInit();
this.SuspendLayout();
ButtonCancel = new Button();
ButtonOK = new Button();
LabelSeconds = new Label();
SecondsSelector = new NumericUpDown();
((System.ComponentModel.ISupportInitialize)SecondsSelector).BeginInit();
SuspendLayout();
//
// ButtonCancel
//
this.ButtonCancel.Location = new System.Drawing.Point(12, 41);
this.ButtonCancel.Name = "ButtonCancel";
this.ButtonCancel.Size = new System.Drawing.Size(64, 24);
this.ButtonCancel.TabIndex = 4;
this.ButtonCancel.Text = "Cancel";
this.ButtonCancel.UseVisualStyleBackColor = true;
this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
ButtonCancel.Location = new Point(20, 66);
ButtonCancel.Margin = new Padding(4, 5, 4, 5);
ButtonCancel.Name = "ButtonCancel";
ButtonCancel.Size = new Size(91, 40);
ButtonCancel.TabIndex = 4;
ButtonCancel.Text = "Cancel";
ButtonCancel.UseVisualStyleBackColor = true;
ButtonCancel.Click += ButtonCancel_Click;
//
// ButtonOK
//
this.ButtonOK.Location = new System.Drawing.Point(83, 41);
this.ButtonOK.Name = "ButtonOK";
this.ButtonOK.Size = new System.Drawing.Size(64, 24);
this.ButtonOK.TabIndex = 5;
this.ButtonOK.Text = "OK";
this.ButtonOK.UseVisualStyleBackColor = true;
this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click);
ButtonOK.Location = new Point(122, 66);
ButtonOK.Margin = new Padding(4, 5, 4, 5);
ButtonOK.Name = "ButtonOK";
ButtonOK.Size = new Size(91, 40);
ButtonOK.TabIndex = 5;
ButtonOK.Text = "OK";
ButtonOK.UseVisualStyleBackColor = true;
ButtonOK.Click += ButtonOK_Click;
//
// LabelSeconds
//
this.LabelSeconds.Location = new System.Drawing.Point(95, 12);
this.LabelSeconds.Name = "LabelSeconds";
this.LabelSeconds.Size = new System.Drawing.Size(52, 23);
this.LabelSeconds.TabIndex = 11;
this.LabelSeconds.Text = "Seconds";
this.LabelSeconds.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
LabelSeconds.Location = new Point(139, 18);
LabelSeconds.Margin = new Padding(4, 0, 4, 0);
LabelSeconds.Name = "LabelSeconds";
LabelSeconds.Size = new Size(74, 38);
LabelSeconds.TabIndex = 11;
LabelSeconds.Text = "Seconds";
LabelSeconds.TextAlign = ContentAlignment.MiddleLeft;
//
// SecondsSelector
//
this.SecondsSelector.Location = new System.Drawing.Point(12, 12);
this.SecondsSelector.Maximum = new decimal(new int[] {
59,
0,
0,
0});
this.SecondsSelector.Name = "SecondsSelector";
this.SecondsSelector.Size = new System.Drawing.Size(77, 23);
this.SecondsSelector.TabIndex = 9;
this.SecondsSelector.ValueChanged += new System.EventHandler(this.SecondsSelector_ValueChanged);
SecondsSelector.Location = new Point(20, 18);
SecondsSelector.Margin = new Padding(4, 5, 4, 5);
SecondsSelector.Maximum = new decimal(new int[] { 59, 0, 0, 0 });
SecondsSelector.Name = "SecondsSelector";
SecondsSelector.Size = new Size(110, 31);
SecondsSelector.TabIndex = 9;
SecondsSelector.ValueChanged += SecondsSelector_ValueChanged;
//
// ShotClockTimeSet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(159, 76);
this.ControlBox = false;
this.Controls.Add(this.LabelSeconds);
this.Controls.Add(this.SecondsSelector);
this.Controls.Add(this.ButtonCancel);
this.Controls.Add(this.ButtonOK);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximumSize = new System.Drawing.Size(175, 115);
this.MinimumSize = new System.Drawing.Size(175, 115);
this.Name = "ShotClockTimeSet";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Time";
((System.ComponentModel.ISupportInitialize)(this.SecondsSelector)).EndInit();
this.ResumeLayout(false);
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(232, 125);
ControlBox = false;
Controls.Add(LabelSeconds);
Controls.Add(SecondsSelector);
Controls.Add(ButtonCancel);
Controls.Add(ButtonOK);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Margin = new Padding(4, 5, 4, 5);
MaximumSize = new Size(254, 181);
MinimumSize = new Size(254, 181);
Name = "ShotClockTimeSet";
StartPosition = FormStartPosition.CenterScreen;
Text = "Enter Time";
((System.ComponentModel.ISupportInitialize)SecondsSelector).EndInit();
ResumeLayout(false);
}
#endregion

View File

@@ -1,4 +1,64 @@
<root>
<?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">

View File

@@ -28,60 +28,63 @@
/// </summary>
private void InitializeComponent()
{
this.TeamNameTextBox = new System.Windows.Forms.TextBox();
this.ButtonOK = new System.Windows.Forms.Button();
this.ButtonCancel = new System.Windows.Forms.Button();
this.SuspendLayout();
TeamNameTextBox = new TextBox();
ButtonOK = new Button();
ButtonCancel = new Button();
SuspendLayout();
//
// TeamNameTextBox
//
this.TeamNameTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.TeamNameTextBox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
this.TeamNameTextBox.Location = new System.Drawing.Point(12, 12);
this.TeamNameTextBox.MaxLength = 7;
this.TeamNameTextBox.Name = "TeamNameTextBox";
this.TeamNameTextBox.Size = new System.Drawing.Size(135, 23);
this.TeamNameTextBox.TabIndex = 0;
this.TeamNameTextBox.TextChanged += new System.EventHandler(this.TeamNameTextBox_TextChanged);
TeamNameTextBox.BorderStyle = BorderStyle.FixedSingle;
TeamNameTextBox.CharacterCasing = CharacterCasing.Upper;
TeamNameTextBox.Location = new Point(17, 20);
TeamNameTextBox.Margin = new Padding(4, 5, 4, 5);
TeamNameTextBox.MaxLength = 8;
TeamNameTextBox.Name = "TeamNameTextBox";
TeamNameTextBox.Size = new Size(192, 31);
TeamNameTextBox.TabIndex = 0;
TeamNameTextBox.TextChanged += TeamNameTextBox_TextChanged;
//
// ButtonOK
//
this.ButtonOK.Location = new System.Drawing.Point(83, 41);
this.ButtonOK.Name = "ButtonOK";
this.ButtonOK.Size = new System.Drawing.Size(64, 24);
this.ButtonOK.TabIndex = 1;
this.ButtonOK.Text = "OK";
this.ButtonOK.UseVisualStyleBackColor = true;
this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click);
ButtonOK.Location = new Point(119, 68);
ButtonOK.Margin = new Padding(4, 5, 4, 5);
ButtonOK.Name = "ButtonOK";
ButtonOK.Size = new Size(91, 40);
ButtonOK.TabIndex = 1;
ButtonOK.Text = "OK";
ButtonOK.UseVisualStyleBackColor = true;
ButtonOK.Click += ButtonOK_Click;
//
// ButtonCancel
//
this.ButtonCancel.Location = new System.Drawing.Point(12, 41);
this.ButtonCancel.Name = "ButtonCancel";
this.ButtonCancel.Size = new System.Drawing.Size(64, 24);
this.ButtonCancel.TabIndex = 1;
this.ButtonCancel.Text = "Cancel";
this.ButtonCancel.UseVisualStyleBackColor = true;
this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
ButtonCancel.Location = new Point(17, 68);
ButtonCancel.Margin = new Padding(4, 5, 4, 5);
ButtonCancel.Name = "ButtonCancel";
ButtonCancel.Size = new Size(91, 40);
ButtonCancel.TabIndex = 1;
ButtonCancel.Text = "Cancel";
ButtonCancel.UseVisualStyleBackColor = true;
ButtonCancel.Click += ButtonCancel_Click;
//
// TeamNameInput
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(159, 76);
this.ControlBox = false;
this.Controls.Add(this.ButtonCancel);
this.Controls.Add(this.ButtonOK);
this.Controls.Add(this.TeamNameTextBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximumSize = new System.Drawing.Size(175, 115);
this.MinimumSize = new System.Drawing.Size(175, 115);
this.Name = "TeamNameInput";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Team Name";
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(232, 125);
ControlBox = false;
Controls.Add(ButtonCancel);
Controls.Add(ButtonOK);
Controls.Add(TeamNameTextBox);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Margin = new Padding(4, 5, 4, 5);
MaximumSize = new Size(254, 181);
MinimumSize = new Size(254, 181);
Name = "TeamNameInput";
StartPosition = FormStartPosition.CenterScreen;
Text = "Enter Team Name";
ResumeLayout(false);
PerformLayout();
}
#endregion

View File

@@ -15,7 +15,7 @@
private void ButtonOK_Click(object sender, EventArgs e)
{
if (TeamName.Length < 4) MessageBox.Show("Team name cannot be less than 4 characters", "Invalid Entry", MessageBoxButtons.OK);
else if (TeamName.Length > 7) MessageBox.Show("Team name cannot be more than 7 characters", "Invalid Entry", MessageBoxButtons.OK);
else if (TeamName.Length > 8) MessageBox.Show("Team name cannot be more than 8 characters", "Invalid Entry", MessageBoxButtons.OK);
else
{
DialogResult = DialogResult.OK;

View File

@@ -1,4 +1,64 @@
<root>
<?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">

View File

@@ -439,24 +439,24 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Basketball Scoreboard System"
"ProductCode" = "8:{988E09D1-A6BB-4BB0-8BB6-36696082E19E}"
"PackageCode" = "8:{53B21020-A795-4E22-96CF-E81E1C3BF347}"
"UpgradeCode" = "8:{5D333D15-943A-41F2-B436-F04F69C75730}"
"ProductCode" = "8:{69185F74-3E9E-4F33-B82E-8DE8521924BC}"
"PackageCode" = "8:{58CAD8A4-E0FC-49F9-AEE3-750B967AE42E}"
"UpgradeCode" = "8:{86FE3597-6965-4F54-8627-41F9CB894AE0}"
"AspNetVersion" = "8:2.0.50727.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.0"
"ProductVersion" = "8:1.0.1"
"Manufacturer" = "8:cy1der"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
"Title" = "8:Basketball Scoreboard System"
"Subject" = "8:"
"ARPCONTACT" = "8:cy1der"
"ARPCONTACT" = "8:Ahmed Al-Taiar"
"Keywords" = "8:Sports,Basketball,Timer,Score"
"ARPCOMMENTS" = "8:Replace your expensive and bulky scoreeboard with this simple app"
"ARPURLINFOABOUT" = "8:"
"ARPURLINFOABOUT" = "8:https://ahmed.altaiar.dev"
"ARPPRODUCTICON" = "8:"
"ARPIconIndex" = "3:0"
"SearchPath" = "8:"