| Line 104... | Line 104... | 
          
            | 104 | 		this->RadioCockpitCustom->Enabled = (this->ComboCockpitCustom->Items->Count) ? true : false;
 | 104 | 		this->RadioCockpitCustom->Enabled = (this->ComboCockpitCustom->Items->Count) ? true : false;
 | 
          
            | 105 | 		this->GroupCockpit->Enabled = (this->ListTurret->SelectedItems->Count) ? true : false;
 | 105 | 		this->GroupCockpit->Enabled = (this->ListTurret->SelectedItems->Count) ? true : false;
 | 
          
            | 106 | 		if ( this->ListTurret->SelectedItems->Count )
 | 106 | 		if ( this->ListTurret->SelectedItems->Count )
 | 
          
            | 107 | 		{
 | 107 | 		{
 | 
          
            | 108 | 			ListViewItem ^item = this->ListTurret->SelectedItems[0];
 | 108 | 			ListViewItem ^item = this->ListTurret->SelectedItems[0];
 | 
          
            | 109 | 			if ( CyStringFromSystemString(item->SubItems[1]->Text).IsNumber() && Convert::ToInt32(item->SubItems[1]->Text) < this->ComboCockpitStd->Items->Count )
 | 109 | 			if ( _WS(item->SubItems[1]->Text).isNumber() && Convert::ToInt32(item->SubItems[1]->Text) < this->ComboCockpitStd->Items->Count )
 | 
          
            | 110 | 			{
 | 110 | 			{
 | 
          
            | 111 | 				this->RadioCockpitStd->Checked = true;
 | 111 | 				this->RadioCockpitStd->Checked = true;
 | 
          
            | 112 | 				this->ComboCockpitStd->SelectedIndex = Convert::ToInt32(item->SubItems[1]->Text);
 | 112 | 				this->ComboCockpitStd->SelectedIndex = Convert::ToInt32(item->SubItems[1]->Text);
 | 
          
            | 113 |  
 | 113 |  
 | 
          
            | 114 | 			}
 | 114 | 			}
 |