/// <summary> /// Indicate the test has failed /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void FailInvite(object sender, RoutedEventArgs e) { MPS086CTC1 module = this.DataContext as MPS086CTC1; module.FailInvite(); }
/// <summary> /// Indicate the test has passed /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void PassAccess(object sender, RoutedEventArgs e) { MPS086CTC1 module = this.DataContext as MPS086CTC1; module.PassAccess(); }
/// <summary> /// Advance to the next page /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void NextPage(object sender, RoutedEventArgs e) { MPS086CTC1 module = this.DataContext as MPS086CTC1; module.NextPage(); }
/// <summary> /// Send an invite /// </summary> /// <param name="sender">The UI element that originated this event</param> /// <param name="e">Routed event args</param> private void SendInvite_Click(object sender, RoutedEventArgs e) { MPS086CTC1 module = this.DataContext as MPS086CTC1; module.SetUpInvitingConsole(); }
/// <summary> /// Initializes a new instance of the <see cref="MPS086CTC1UI" /> class. /// </summary> /// <param name="module">The module class associated with this UI</param> public MPS086CTC1UI(MPS086CTC1 module) { this.InitializeComponent(); this.DataContext = module; }