Ejemplo n.º 1
0
        public ManageGearSpecsForm(string GearVarGuid, string GearVarName = null, SampledGear_SpecsForm parent = null)
        {
            InitializeComponent();
            _gearVarGuid = GearVarGuid;
            if (GearVarName == null)
            {
                ManageGearSpecsClass.GearVarGuid(GearVarGuid);
            }
            else
            {
                _gearVarName = GearVarName;
                ManageGearSpecsClass.GearVariation(_gearVarGuid, _gearVarName);
            }

            _gearSpecs = ManageGearSpecsClass.GearSpecifications;

            if (parent != null)
            {
                _parentForm = parent;
            }
        }
Ejemplo n.º 2
0
 private void SetupGearSpecsList()
 {
     ManageGearSpecsClass.GearVariation(_gearVarGuid, _gearVarName);
     _listGearSpecs = ManageGearSpecsClass.GearSpecifications;
 }