Args representing on channel joined event.
Inheritance: System.EventArgs
Example #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))));
 }
Example #2
0
 private void onJoinedChannel(object sender, OnJoinedChannelArgs e)
 {
     MessageBox.Show($"Joined channel: {e.Channel}\nAs username: {e.Username}");
 }