Exemplo n.º 1
0
 /// <summary>
 /// Создает форму для установки агрегатов со склада на ВС
 /// </summary>
 public MoveDetailForm(List <AbstractDetail> detailsList, MoveDetailFormMode mode, Aircraft currentContainer)
 {
     this.mode             = mode;
     this.currentContainer = currentContainer;
     currentDetailsList    = new List <AbstractDetail>(detailsList);
     InitializeComponent();
     FillComboBoxes();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Создает форму для установки базовых агрегатов на склад
 /// </summary>
 public MoveDetailForm(List <BaseDetail> detailsList, MoveDetailFormMode mode, Aircraft currentContainer)
 {
     this.mode              = mode;
     this.currentContainer  = currentContainer;
     currentBaseDetailsList = detailsList;
     moveBaseDetails        = true;
     InitializeComponent();
     FillComboBoxes();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Создает форму для установки агрегата на ВС
 /// </summary>
 public MoveDetailForm(AbstractDetail currentDetail, MoveDetailFormMode mode, Aircraft currentContainer)
 {
     this.mode             = mode;
     this.currentContainer = currentContainer;
     this.currentDetail    = currentDetail;
     if (currentDetail is BaseDetail)
     {
         moveBaseDetails = true;
     }
     InitializeComponent();
     FillComboBoxes();
 }