diff --git a/TournamentTracker.sln b/TournamentTracker.sln index 7a7b604..f04649c 100644 --- a/TournamentTracker.sln +++ b/TournamentTracker.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.29905.134 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrackerLibrary", "TrackerLibrary\TrackerLibrary.csproj", "{B4FFD708-5D53-4D58-B5A6-5691020EF6DC}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrackerUI", "TrackerUI\TrackerUI.csproj", "{5154B669-B5A4-4D1D-8C95-3C25AC9F4A18}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {B4FFD708-5D53-4D58-B5A6-5691020EF6DC}.Debug|Any CPU.Build.0 = Debug|Any CPU {B4FFD708-5D53-4D58-B5A6-5691020EF6DC}.Release|Any CPU.ActiveCfg = Release|Any CPU {B4FFD708-5D53-4D58-B5A6-5691020EF6DC}.Release|Any CPU.Build.0 = Release|Any CPU + {5154B669-B5A4-4D1D-8C95-3C25AC9F4A18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5154B669-B5A4-4D1D-8C95-3C25AC9F4A18}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5154B669-B5A4-4D1D-8C95-3C25AC9F4A18}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5154B669-B5A4-4D1D-8C95-3C25AC9F4A18}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TrackerUI/App.config b/TrackerUI/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/TrackerUI/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/TrackerUI/Program.cs b/TrackerUI/Program.cs new file mode 100644 index 0000000..92ddd5f --- /dev/null +++ b/TrackerUI/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TrackerUI +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new TournamentViewerForm()); + } + } +} diff --git a/TrackerUI/Properties/AssemblyInfo.cs b/TrackerUI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7575612 --- /dev/null +++ b/TrackerUI/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("TrackerUI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("TrackerUI")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5154b669-b5a4-4d1d-8c95-3c25ac9f4a18")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/TrackerUI/Properties/Resources.Designer.cs b/TrackerUI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..605c397 --- /dev/null +++ b/TrackerUI/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TrackerUI.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TrackerUI.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/TrackerUI/Properties/Resources.resx b/TrackerUI/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/TrackerUI/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TrackerUI/Properties/Settings.Designer.cs b/TrackerUI/Properties/Settings.Designer.cs new file mode 100644 index 0000000..21203d4 --- /dev/null +++ b/TrackerUI/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TrackerUI.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/TrackerUI/Properties/Settings.settings b/TrackerUI/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/TrackerUI/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/TrackerUI/TournamentViewerForm.Designer.cs b/TrackerUI/TournamentViewerForm.Designer.cs new file mode 100644 index 0000000..b39419f --- /dev/null +++ b/TrackerUI/TournamentViewerForm.Designer.cs @@ -0,0 +1,95 @@ +namespace TrackerUI +{ + partial class TournamentViewerForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TournamentViewerForm)); + this.headerLabel = new System.Windows.Forms.Label(); + this.tournamentName = new System.Windows.Forms.Label(); + this.roundLabel = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // headerLabel + // + this.headerLabel.AutoSize = true; + this.headerLabel.Font = new System.Drawing.Font("Segoe UI Light", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.headerLabel.ForeColor = System.Drawing.Color.DodgerBlue; + this.headerLabel.Location = new System.Drawing.Point(24, 20); + this.headerLabel.Name = "headerLabel"; + this.headerLabel.Size = new System.Drawing.Size(214, 50); + this.headerLabel.TabIndex = 0; + this.headerLabel.Text = "Tournament:"; + // + // tournamentName + // + this.tournamentName.AutoSize = true; + this.tournamentName.Font = new System.Drawing.Font("Segoe UI Light", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tournamentName.ForeColor = System.Drawing.Color.DodgerBlue; + this.tournamentName.Location = new System.Drawing.Point(244, 20); + this.tournamentName.Name = "tournamentName"; + this.tournamentName.Size = new System.Drawing.Size(150, 50); + this.tournamentName.TabIndex = 1; + this.tournamentName.Tag = ""; + this.tournamentName.Text = ""; + // + // roundLabel + // + this.roundLabel.AutoSize = true; + this.roundLabel.Location = new System.Drawing.Point(33, 99); + this.roundLabel.Name = "roundLabel"; + this.roundLabel.Size = new System.Drawing.Size(73, 30); + this.roundLabel.TabIndex = 2; + this.roundLabel.Text = "Round"; + // + // TournamentViewerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(697, 487); + this.Controls.Add(this.roundLabel); + this.Controls.Add(this.tournamentName); + this.Controls.Add(this.headerLabel); + this.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); + this.Name = "TournamentViewerForm"; + this.Text = "Tournament Viewer"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label headerLabel; + private System.Windows.Forms.Label tournamentName; + private System.Windows.Forms.Label roundLabel; + } +} + diff --git a/TrackerUI/TournamentViewerForm.cs b/TrackerUI/TournamentViewerForm.cs new file mode 100644 index 0000000..0cfcb75 --- /dev/null +++ b/TrackerUI/TournamentViewerForm.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TrackerUI +{ + public partial class TournamentViewerForm : Form + { + public TournamentViewerForm() + { + InitializeComponent(); + } + } +} diff --git a/TrackerUI/TournamentViewerForm.resx b/TrackerUI/TournamentViewerForm.resx new file mode 100644 index 0000000..7171e5e --- /dev/null +++ b/TrackerUI/TournamentViewerForm.resx @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + AAABAAEAAAAAAAEAIAA+CAAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFz + UkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAH00lEQVR4Xu3dQahl + d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ARuK2J+u+We1eadMF1NP1XPfFZR5pb9mc + 3duX8us2XUA9ffXu8hGnCY+HFcBIzGpd+Oi/feQ/192z7GX2Kwf73wzvJx5t0wWUq//9bv1qmzACVgAX + uPVI/UYbrl6pPxneb1/bZpfqka2N8qM2XrpbN2fPDM/x7ja9RPVEnZUn2mSlaqmnhpg916YMBOAC+4/W + 2oaTM7znPzm8Z//0Tn4Bp30r8e/zI3nbNCnDCunYyxv9nW3KwFuANTGU6+Gd/vbd+WsAlh+2KWtAANZB + ra+ucGn7y/lnDW3MxAnAOijd79tox21tlDeHh+PnZ0ydAKyBWe3+2IarMev+0EZMnACsgVktJ9twJUrX + vdaGTJwArIE9p7bv7bcyta7232PnCMDE1a6eWvW1984VdwRaFwIwccNy3Gm1XDIBgGArPxNwymfbjVN9 + bWuj/3ibrMTNR+reXX33jzZlibY2ykr3SSsACCYAEEwAIJgAQDAfAi7Rqj/ASbN9k5G+e75N15IPAYGV + EQAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACDa5U4F38lTJMT83Fj8VeBV3Bpraa8gKAIIJAAQTAAgm + ABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYK4HcIGFb1s263b0u+bpaqn7SimPtekH + 5noA7ycAF1g4AIyaALyftwAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGACAMEEAIL5 + OjAska8DA5MhABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYA + EEwAIJgAQDABgGACAMEEAIK5L8BFFn1+XF6X+74R7gsATIYAQDABgGACAMEEAIIJAAQTAAgmABBMACCY + AEAwAYBgAgDBBACCCQAEEwAI5noAsESuBwBMhgBAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGAC + AMEEAIIJAAQTAAgmABBMACCYAEAwAYBgAgDBBACCCQAEEwAI5r4AF1n0+XF5Xe77RrgvADAZAgDBBACC + CQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJjrAcASuR4AMBkCAMEEAIIJAAQTAAgm + ABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJj7Alxk + 0ec3de67sBj3BQAmQwAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGACAMEEAIIJAARzPQBY + ItcDACZDACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgA + QDABgGACAMEEAIIJAAQTAAgmABBMACCYAEAwAYBgAgDBBACCCQAEEwAIJgAQTAAgmABAMAGAYAIAwQQA + ggkABCvtcWX2H621DYGLbG2Ule6TVgAQTAAgmABAMAGAYAIAwQQAggkABBMACCYAEEwAIJgAQDABgGAC + AMEEAIIJAMTquv8C67rqXjdBWeYAAAAASUVORK5CYII= + + + \ No newline at end of file diff --git a/TrackerUI/TrackerUI.csproj b/TrackerUI/TrackerUI.csproj new file mode 100644 index 0000000..f5bae9e --- /dev/null +++ b/TrackerUI/TrackerUI.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {5154B669-B5A4-4D1D-8C95-3C25AC9F4A18} + WinExe + TrackerUI + TrackerUI + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + TournamentViewerForm.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + TournamentViewerForm.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file