Beispiel #1
0
 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);
 }
Beispiel #2
0
 private void OnContactOffline(Messenger sender, ContactEventArgs e)
 {
     Console.Text = e.Contact.Name + " went offline\r\n";
 }
Beispiel #3
0
        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!");
        }
Beispiel #4
0
 private void ContactTyping(Conversation sender, ContactEventArgs e)
 {
     //Console.WriteLine(e.Contact.Name + " is typing");
 }
Beispiel #5
0
 private void OnContactOffline(Messenger sender, ContactEventArgs e)
 {
     Console.WriteLine(e.Contact.Name + " went offline\r\n");
 }