private void OnContactOnline(Messenger sender, ContactEventArgs e) { Console.Text = e.Contact.Name + " went online\r\n"; //messenger.SynchronizeList(); //messenger.SetStatus(MSNStatus.Online); messenger.RequestConversation(e.Contact.Mail); }
private void OnContactOffline(Messenger sender, ContactEventArgs e) { Console.Text = e.Contact.Name + " went offline\r\n"; }
private void ContactJoined(Conversation sender, ContactEventArgs e) { // someone joined our conversation! remember that this also occurs when you are // only talking to 1 other person. Log this event. Console.Text = e.Contact.Name + " joined the conversation.\r\n"; // now say something back. You can send messages using the Conversation object. sender.SendMessage("Hello world!"); }
private void ContactTyping(Conversation sender, ContactEventArgs e) { //Console.WriteLine(e.Contact.Name + " is typing"); }
private void OnContactOffline(Messenger sender, ContactEventArgs e) { Console.WriteLine(e.Contact.Name + " went offline\r\n"); }