public void OnProfileLocked(bool IsLocked) { if (ProfileLocked != null) { ProfileLocked(this, new LockedEventArgs(IsLocked)); } }