public MainWindow()
        {
            InitializeComponent();

            timer.Interval  = TimeSpan.FromSeconds(60);
            timer.Tick     += UpdateChannels;
            timer.IsEnabled = true;
            TwitchAPIInterface.Login();
        }
Example #2
0
 private void LoginButton_Click(object sender, RoutedEventArgs e)
 {
     TwitchAPIInterface.Login();
 }