Пример #1
0
 public void onMessagesRecieved(object sender, PonyboxClient.MessageListRecievedEvent m)
 {
     logger.LogMessages(m.messages);
     if (m.messages.Count > 0)
     {
         client.GetOlderMessages(m.channel, m.messages[0].GetID());
     }
 }
Пример #2
0
 private void buttonOlderMessages_Click(object sender, EventArgs e)
 {
     client.GetOlderMessages(textBoxOlderMessages.Text, (long)numericUpDownOlderMessages.Value);
 }