/// <summary> /// Event handler to sign in/out profile C /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void SignInOut_ProfileC_Click(object sender, RoutedEventArgs e) { MPS115CTC1 module = this.DataContext as MPS115CTC1; module.SignInOut(module.ProfileAName); }
/// <summary> /// advance to next page /// </summary> /// <param name="sender">this is ignored</param> /// <param name="e">this is ignored also</param> private void NextPage(object sender, System.Windows.RoutedEventArgs e) { MPS115CTC1 module = this.DataContext as MPS115CTC1; module.NextPage(); }
/// <summary> /// Event handler which starts the HD test /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void BeginHDTest(object sender, RoutedEventArgs e) { MPS115CTC1 module = this.DataContext as MPS115CTC1; module.BeginHDTest(); }
/// <summary> /// Initializes a new instance of the MPS115CTC1UI class. /// </summary> /// <param name="module">The module class associated with this UI</param> public MPS115CTC1UI(MPS115CTC1 module) { this.InitializeComponent(); this.DataContext = module; }
/// <summary> /// Event handler to fail test B /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void FailB_Click(object sender, RoutedEventArgs e) { MPS115CTC1 module = this.DataContext as MPS115CTC1; module.Fail("Join Session in Progress"); }
/// <summary> /// Event handler to fail test A /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void FailA_Click(object sender, RoutedEventArgs e) { MPS115CTC1 module = this.DataContext as MPS115CTC1; module.Fail("Game Invite"); }