Beispiel #1
0
 private void equipmentNameComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (0 <= equipmentNameComboBox.SelectedIndex)
     {
         _CurrentEquipmentType = _AllEquipmentTypes.Where(x => x.EquipmentName == equipmentNameComboBox.Text).First();
         my_SelectEquipments   = SelectEquipments.UnitAndType;
         if (loadIsFinished)
         {
             frmTagFinder_Load(sender, e);
         }
     }
 }
Beispiel #2
0
 private void tagComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (0 <= tagComboBox.SelectedIndex)
     {
         _CurrentEquipment   = _AllEquipments.Where(x => x.Tag == tagComboBox.Text).First();
         my_SelectEquipments = SelectEquipments.onlyOneTag;
         if (loadIsFinished)
         {
             frmTagFinder_Load(sender, e);
         }
     }
 }
Beispiel #3
0
 private void unitNameComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (0 <= unitNameComboBox.SelectedIndex)
     {
         _CurrentUnit = _AllUnins.Where(x => x.UnitName == unitNameComboBox.Text).First();
         unitImagePictureBox.ImageLocation = _CurrentUnit.ImagePath;
         my_SelectEquipments = SelectEquipments.UnitSelected;
         if (loadIsFinished)
         {
             frmTagFinder_Load(sender, e);
         }
     }
 }