From 4a00bbb27bfcea942d016ad6b978183f20d9c5d1 Mon Sep 17 00:00:00 2001 From: MgAl2O4 <51430403+MgAl2O4@users.noreply.github.com> Date: Wed, 27 Jan 2021 10:18:17 -0500 Subject: [PATCH] fixed event farm counter --- SINoCOLO/MainForm.Designer.cs | 1 + SINoCOLO/MainForm.cs | 5 +++++ SINoCOLO/Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SINoCOLO/MainForm.Designer.cs b/SINoCOLO/MainForm.Designer.cs index 1e48aaf..840d638 100644 --- a/SINoCOLO/MainForm.Designer.cs +++ b/SINoCOLO/MainForm.Designer.cs @@ -125,6 +125,7 @@ private void InitializeComponent() this.checkBoxClicks.TabIndex = 2; this.checkBoxClicks.Text = "Enable mouse clicks"; this.checkBoxClicks.UseVisualStyleBackColor = true; + this.checkBoxClicks.CheckedChanged += new System.EventHandler(this.checkBoxClicks_CheckedChanged); // // labelStatus // diff --git a/SINoCOLO/MainForm.cs b/SINoCOLO/MainForm.cs index d8a2e1f..7f7406d 100644 --- a/SINoCOLO/MainForm.cs +++ b/SINoCOLO/MainForm.cs @@ -206,6 +206,11 @@ private void topPanelClick(object sender, EventArgs e) } } + private void checkBoxClicks_CheckedChanged(object sender, EventArgs e) + { + gameLogic.canClick = checkBoxClicks.Checked; + } + private void pictureBoxAnalyzed_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) diff --git a/SINoCOLO/Properties/AssemblyInfo.cs b/SINoCOLO/Properties/AssemblyInfo.cs index 59ed340..961d103 100644 --- a/SINoCOLO/Properties/AssemblyInfo.cs +++ b/SINoCOLO/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // 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("17.0.0.0")] -[assembly: AssemblyFileVersion("17.0.0.0")] +[assembly: AssemblyVersion("18.0.0.0")] +[assembly: AssemblyFileVersion("18.0.0.0")]