public Add_AttachmentControl(OOBInfo oobInfo, LocalisationInfo localisationModel, PathInfo pathInfo, string countryCode, List <MilitaryTypeInfo> militaryTypeList)
 {
     InitializeComponent();
     this.oobInfo           = oobInfo;
     this.localisationModel = localisationModel;
     this.pathInfo          = pathInfo;
     this.countryCode       = countryCode;
     this.militaryTypeList  = militaryTypeList;
     Bind();
     BindAttType();
 }
Beispiel #2
0
 public AddMilitaryForm(LocalisationInfo localisationModel, PathInfo pathInfo, string countryCode, List <MilitaryTypeInfo> militaryTypeList, int parentID, int lastOobID, ArmyTypeEnum armyType)
 {
     this.parentID          = parentID;
     this.lastOobID         = lastOobID;
     this.localisationModel = localisationModel;
     this.countryCode       = countryCode;
     this.pathInfo          = pathInfo;
     this.militaryTypeList  = militaryTypeList;
     this.armyType          = armyType;
     InitializeComponent();
     BindCbb_BasicType();
     this.cb_Reserve.Enabled = false;
     this.lastOobID++;
     this.txt_BasicID.Text = this.lastOobID.ToString();
 }