Beispiel #1
0
        private void ReadDataImportant()
        {
            Motion_comboBox.Items.Clear();
            Motion_comboBox.Items.Add("255 - no motion");
            for (int i = 0; i < currentBCM.MotionList.Count; i++)
            {
                Motion_comboBox.Items.Add(i + " - " + currentBCM.MotionList[i].name);
            }

            inputListBox.DataSource    = currentBCM.GetInputList();
            inputListBox.SelectedIndex = 0;
        }
Beispiel #2
0
 private void RefreshCurrentAndInput()
 {
     try {
         int si = InputListBox.SelectedIndex;
         InputListBox.DataSource    = currentBCM.GetInputList();
         InputListBox.SelectedIndex = si;
         CurrentListBox.DataSource  = currentBCM.GetCurrentList(CancelListBox.SelectedIndex);
     }
     catch (Exception ex)
     {
         Houston(ex);
     }
 }