protected virtual void OnLeftGroupChat(GroupChatParticipationEventArgs e) { if (LeftGroupChat != null) LeftGroupChat(this, e); Trace.WriteLineIf(Settings.TraceSwitch.TraceVerbose, e.Contact + " left group chat " + e.Via.ToString(), GetType().Name); }
private void Nameserver_LeftGroupChat(object sender, GroupChatParticipationEventArgs e) { if (e.Via == this.remoteContact) { DisplaySystemMessage(e.Contact + " left group chat. Group has " + e.Via.ContactList[IMAddressInfoType.None].Count + " members now."); } }