Пример #1
0
 private void Edit_3_Click(object sender, RoutedEventArgs e) //edit the third y axis
 {
     try
     {
         DataVault.TempString = SensorList_y_3.SelectedItem.ToString(); //save the name of the sensor
         Variable_setup st = new Variable_setup(3);                     //open variable setup (the number 3 is to tell the function this is the third y axis
         st.Show();                                                     //show the new window
     }
     catch
     {
         Error err = new Error("No Sensor Selected", "Please Selected a Sensor from the drop down menu before clicking."); //error handling
         err.Show();
     }
 }
Пример #2
0
        private void Edit_4_Click(object sender, RoutedEventArgs e) //not used :O
        {
            Variable_setup st = new Variable_setup(4);              //not actually used :(

            st.Show();
        }