Ejemplo n.º 1
0
 /// <summary>
 /// endButton_Click() executes each time the end button on the GUI is clicked, it is used to terminate the software
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void endButton_Click(object sender, EventArgs e)
 {
     var instance = new Answer();
     instance.terminateVerificationSoftware();
     this.Close();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Main() creates an instance of the Answer class and displays the initial version of the GUI
        /// </summary>
        static void Main()
        {
            System.Windows.Forms.Application.EnableVisualStyles();
            System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);

            // create an instance of the Answer class and display the initial GUI to allow user interaction
            Answer instance = new Answer();
            instance.GUI.ShowDialog(); // display the initial GUI
        }
Ejemplo n.º 3
0
 /// <summary>
 /// startButton_Click() executes each time the start button on the GUI is clicked, it serves to allow the user to continue verifying orders
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void startButton_Click(object sender, EventArgs e)
 {
     var instance = new Answer();
     this.Hide();
     instance.initKinectSensor();
 }