|
using System;
using System.Windows.Forms;
namespace Form_Change_Control_Test_CSharp
{
/// <summary>
/// Event argumenst for the event raised when a control is changed on a form
/// </summary>
public class FormChangedEventArgs: EventArgs
{
private Control _controlChanged = null;
private bool _changed = false;
/// <summary>
/// The control on the form that has changed
/// </summary>
public Control ControlChanged
{ get { return _controlChanged; } }
/// <summary>
/// True if the control has changed, false if it has changed back to the last saved value
/// </summary>
public bool Changed
{ get { return _changed; } }
public FormChangedEventArgs(Control ControlChangedIn, bool ChangedIn)
{
_controlChanged = ControlChangedIn;
_changed = ChangedIn;
}
}
}
|
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.