commit 420eba4404335728e09d4f794d29172136f5e617 Author: jakteknikdotcom Date: Wed Apr 15 21:46:06 2026 +0700 first commit - GuessTheDice diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc536a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +bin/ +obj/ +*.user +.vs/ \ No newline at end of file diff --git a/Form1.Designer.cs b/Form1.Designer.cs new file mode 100644 index 0000000..300cd3f --- /dev/null +++ b/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace GuessTheDice +{ + partial class Form1 + { + /// + /// 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() + { + components = new System.ComponentModel.Container(); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Text = "Form1"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Form1.cs b/Form1.cs new file mode 100644 index 0000000..fbbea7f --- /dev/null +++ b/Form1.cs @@ -0,0 +1,10 @@ +namespace GuessTheDice +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Form1.resx.xml b/Form1.resx.xml new file mode 100644 index 0000000..d58980a --- /dev/null +++ b/Form1.resx.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/GuessTheDice.csproj b/GuessTheDice.csproj new file mode 100644 index 0000000..5151c0a --- /dev/null +++ b/GuessTheDice.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net10.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/GuessTheDice.sln b/GuessTheDice.sln new file mode 100644 index 0000000..b48e737 --- /dev/null +++ b/GuessTheDice.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GuessTheDice", "GuessTheDice.csproj", "{C2DE9418-F608-1B30-8EF5-43ECDAF11058}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C2DE9418-F608-1B30-8EF5-43ECDAF11058}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C2DE9418-F608-1B30-8EF5-43ECDAF11058}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C2DE9418-F608-1B30-8EF5-43ECDAF11058}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C2DE9418-F608-1B30-8EF5-43ECDAF11058}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4F7AB7FA-A9D1-4975-ADDD-480744BD83FA} + EndGlobalSection +EndGlobal diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..11a02c8 --- /dev/null +++ b/Program.cs @@ -0,0 +1,17 @@ +namespace GuessTheDice +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file