protected virtual void OnFailedThreeTimes(LoginEventArgs e) { if (FailedThreeTimes != null) { //Invokes the delegates FailedThreeTimes(this, e); } }
protected virtual void OnGoodLogin(LoginEventArgs e) { if (GoodLogin != null) { //Invokes the delegates GoodLogin(this, e); } }