Ejemplo n.º 1
0
 private void launch()
 {
     xAPILaunch.LaunchData launchData = launchAPI.Launch(LaunchServerTxt.Text, LaunchTokenTxt.Text);
     if (launchData != null && launchData.Actor != null)
     {
         Question1Tab.IsEnabled = true;
         Question1Tab.Focus();
         lblWelcome.Content = "Welcome " + launchData.Actor.name + "!";
         launchAPI.postInitialize(null);
     }
     else
     {
         System.Windows.Forms.MessageBox.Show(launchData.response);
     }
 }
Ejemplo n.º 2
0
 private void button5_Click(object sender, RoutedEventArgs e)
 {
     Question1Tab.IsEnabled = true;
     Question1Tab.Focus();
 }