コード例 #1
0
        /// <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();
        }
コード例 #2
0
        /// <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();
        }
コード例 #3
0
        /// <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();
        }
コード例 #4
0
        /// <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();
        }
コード例 #5
0
 /// <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;
 }