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}");
 }