using System; namespace JinYuan.ControlLib { public delegate void UserStateChangedEventHandler( object sender, UserStateChangedEventArgs e); public class UserStateChangedEventArgs : EventArgs { private bool _active; public UserStateChangedEventArgs(bool active) : base() { _active = active; } public bool Active { get { return _active; } } } }