예제 #1
0
 /// <summary>
 /// Execute shutdown tasks
 /// </summary>
 /// <param name="sender">object sending the event</param>
 /// <param name="e">event arguments</param>
 private void WindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (null != this.sensor)
     {
         this.sensor.Stop();
         Joint_win.close_win();
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the MainWindow class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     //TiltView.Windowshow();
     Joint_win.show_on_win();
 }