Skip to content

Commit

Permalink
fixed the checkbox for wireframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Daylonz committed Mar 7, 2021
1 parent 2595e87 commit 7eeaf11
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 6 additions & 5 deletions MCCBounceEnable/src/UIForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion MCCBounceEnable/src/UIForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private void timer1_Tick(object sender, EventArgs e)
{
toggleWireFrame(!checkBox2.Checked);
checkBox2.Checked = !checkBox2.Checked;
SystemSounds.Asterisk.Play();
SystemSounds.Hand.Play();
lastHotkeyPress = DateTime.Now;
}
}
Expand All @@ -242,5 +242,10 @@ private void timer1_Tick(object sender, EventArgs e)
controller = null;
}
}

private void checkBox2_CheckedChanged(object sender, EventArgs e)
{
toggleWireFrame(checkBox2.Checked);
}
}
}

0 comments on commit 7eeaf11

Please sign in to comment.