private async void ReRunWizardSettingsButton_Click(object sender, RoutedEventArgs e)
 {
     if (await MessageBoxHelper.ShowConfirmationDialog("This will re-run the New User Wizard and allow you to re-import your data, which could duplicate and overwrite your Commands & User data. Are you sure you wish to do this?"))
     {
         NewUserWizardWindow window = new NewUserWizardWindow();
         window.Show();
         this.Window.Close();
     }
 }
Exemplo n.º 2
0
 private async Task <bool> NewStreamerLogin()
 {
     if (await this.EstablishConnection(ChannelSession.StreamerScopes, channelName: null))
     {
         NewUserWizardWindow window = new NewUserWizardWindow();
         window.Show();
         this.Close();
         return(true);
     }
     return(false);
 }