# HG changeset patch # User IBBoard # Date 1261686487 0 # Node ID fa95b81901f5a460e293e996a88b6566c64ecfe2 # Parent fa1921ee34a5c76d71767e5de1cbbbcaf83f2143 * Add ControlValueChangedChecker class to source control to go with previous commit of project file that includes it! no-open-ticket diff -r fa1921ee34a5 -r fa95b81901f5 Windows/Forms/Util/ControlValueChangedChecker.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Windows/Forms/Util/ControlValueChangedChecker.cs Thu Dec 24 20:28:07 2009 +0000 @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace IBBoard.Windows.Forms.Util +{ + /// + /// A small helper class that can be temporarily attached to controls as a one-shot method for determining if the controls value has changed. + /// + public class ControlValueChangedChecker + { + public bool valueChanged; + + public void ValueChanged(object sender, EventArgs e) + { + valueChanged = true; + } + } +}