Args representing on channel joined event.
Наследование: System.EventArgs
Пример #1
0
 private void Client_OnJoinedChannel(object sender, TwitchLib.Events.Client.OnJoinedChannelArgs e)
 {
     Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => ClientChats.Add(new ClientControlListItemViewModel(e.Channel))));
     Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => ChatControlList.Add(e.Channel, new ChatControlViewModel(client, e.Channel))));
 }
Пример #2
0
 private void onJoinedChannel(object sender, OnJoinedChannelArgs e)
 {
     MessageBox.Show($"Joined channel: {e.Channel}\nAs username: {e.Username}");
 }