#if FRAMEWORK20 using System; using System.Collections.Generic; using System.Text; namespace DevComponents.Editors { public class InputValidationEventArgs : EventArgs { public readonly string Input = ""; public bool AcceptInput = true; /// /// Initializes a new instance of the InputValidationEventArgs class. /// /// Indicates current input. public InputValidationEventArgs(string input) { Input = input; } } /// /// Defines delegate for input validation event. /// /// /// public delegate void InputValidationEventHandler(object sender, InputValidationEventArgs e); } #endif