Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Form Changed Control

, 26 May 2008
A component that allows you to monitor all the controls on the form and list any that have changed (for dirty checking)
formchangecontroltest_csharp_src.zip
Form Change Control Test CSharp
bin
Debug
Properties
Settings.settings
formchangecontrol_src.zip
Form Change Control Test
Form Change Control Test
bin
Debug
Form Change Control Test.exe
Form Change Control Test.vbproj.user
My Project
Application.myapp
Settings.settings
Form Change Control Test.suo
<?xml version="1.0"?>
<doc>
<assembly>
<name>
FormChangeControlTest
</name>
</assembly>
<members>
<member name="M:Form_Change_Control_Test.FormChangedComponent.ResetDirtyFlags">
	<summary>
 Resets all the changed flags for the controls on the form
 </summary>
	<remarks>
 You should reset the dirty flags when a record is saved, for example
 </remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedComponent.ControlsThatHaveChanged">
	<summary>
 Returns the collection of controls that have changed since the last reset
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="M:Form_Change_Control_Test.FormChangedComponent.CanExtend(System.Object)">
	<summary>
 Returns true if the given control can be extended by this component - i.e. if it can sensibly be printed
 </summary>
	<param name="extendee">The control being queried for extensibility</param>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedComponent.ChangeEventMonitoring.ControlToMonitor">
	<summary>
 The control that is being monitored for change events
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedComponent.ChangeEventMonitoring.Monitor">
	<summary>
 Whether or not to monitor this control for change events
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedComponent.ChangeEventMonitoring.ChangeEventToMonitor">
	<summary>
 The name of the event to monitor for changes
 </summary>
	<value></value>
	<returns></returns>
	<remarks>e.g. for a textbox t
 </remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedComponent.ChangeEventMonitoring.ValueName">
	<summary>
 The name of the property that exposes the 'value' of the control
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedEventArgs.ControlChanged">
	<summary>
 The control on the form that has changed
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:Form_Change_Control_Test.FormChangedEventArgs.Changed">
	<summary>
 True if the control has changed, false if it has changed back to the last saved value
 </summary>
	<value></value>
	<returns></returns>
	<remarks></remarks>
</member><member name="T:Form_Change_Control_Test.FormChangedEventArgs">
	<summary>
 Event arguments for the event raised when an item on a form is changed
 </summary>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Duncan Edwards Jones
Software Developer (Senior)
Ireland Ireland
C# / SQL Server developer
Microsoft MVP 2006, 2007
Visual Basic .NET
Follow on   Twitter   LinkedIn

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 26 May 2008
Article Copyright 2007 by Duncan Edwards Jones
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid