public MainWindow() { InitializeComponent(); timer.Interval = TimeSpan.FromSeconds(60); timer.Tick += UpdateChannels; timer.IsEnabled = true; TwitchAPIInterface.Login(); }
private void LoginButton_Click(object sender, RoutedEventArgs e) { TwitchAPIInterface.Login(); }