private void comboBoxRecipients_SelectedIndexChanged(object sender, EventArgs e) { _currentRecipient = (IChatRecipient)comboBoxRecipients.SelectedItem; UpdateCleanButtonState(); }
public int GetMessagesCount(IChatRecipient currentRecipient, long startTime, long endTime) { return _dataService.GetMessagesCount(currentRecipient.ChatToken, startTime, endTime); }