Esempio n. 1
0
 protected virtual void OnUsernameChanged(UsernameChangedEventArgs e)
 {
     if (UsernameChanged != null)
     {
         UsernameChanged(this, e);
     }
 }
Esempio n. 2
0
 void HandleUsernameChanged(object sender, UsernameChangedEventArgs e)
 {
     Application.Instance.AsyncInvoke(delegate
     {
         this.UserList.UsernameChanged(e.OldUsername, e.User);
     });
     AddNotification(new NotificationMessage(DateTimeOffset.Now, "{0}'s nick has changed to {1}.", e.OldUsername, e.User.Name));
 }
Esempio n. 3
0
 protected virtual void OnUsernameChanged(UsernameChangedEventArgs e)
 {
     if (UsernameChanged != null)
         UsernameChanged(this, e);
 }