And other C# related tidbits that I've found useful.
public static Boolean Checked( [CanBeNull] this CheckBox control ) {
if ( null == control ) {
return false;
}
return control.InvokeRequired ? ( Boolean )control.Invoke( new Func<Boolean>( () => control.Checked ) ) : control.Checked;
Post a Comment
No comments:
Post a Comment