예제 #1
0
        /// <summary>
        /// Создает воздушное судно без дополнительной информации
        /// </summary>
        public KitSuppliersRelation(ISupplied accessory)
            : this()
        {
            if (accessory == null)
            {
                throw new ArgumentNullException("accessory", "must be not null");
            }

            KitId        = accessory.ItemId;
            ParentTypeId = accessory.SmartCoreObjectType.ItemId;
        }
예제 #2
0
 ///<summary>
 ///</summary>
 public AccessorySupplierForm(ISupplied parentKit)
     : this()
 {
     _parentKit = parentKit;
     UpdateInformation();
 }