Beispiel #1
0
 private void userInfoReceived(object sender, UserInfoEventArgs e)
 {
    m_dispatcher.Invoke(new OneStringDelegate(ShowUserInfoWindow), e.UserInfo);
 }
 public void HandleUserInfoReceived(object sender, UserInfoEventArgs e)
 {
    // Raise the event.
    OnUserInfoReceived(e);
 }
 protected virtual void OnUserInfoReceived(UserInfoEventArgs e)
 {
    if (UserInfoReceived != null)
       UserInfoReceived(this, e);
 }
Beispiel #4
0
 private void Event_UserInfoReceived(object sender, UserInfoEventArgs e)
 {
    m_screen.WriteLine("---------------------");
    m_screen.WriteLine("User Details:");
    m_screen.WriteLine(e.UserInfo.Trim());
    m_screen.WriteLine("---------------------");
 }