29 lines
577 B
C#
29 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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; }
|
|
}
|
|
}
|
|
}
|