Ejemplo n.º 1
0
        /// <summary>
        /// Prepare
        /// </summary>
        private void prepare()
        {
            if (null == model)
            {
                model = new Common.BLL.Entity.GasStation.Base__PlateType();
            }
            else
            {
                // Load model data from db
                Common.BLL.Logic.GasStation.Base__PlateType lPlateType = new Common.BLL.Logic.GasStation.Base__PlateType(Common.Enum.EDatabase.GasStation);
                CommandResult opResult = lPlateType.read(model);

                ///TODO: CHECK ERRORS
            }

            // Fill Controls
            BaseBLL.General.FormModelHelper <Common.BLL.Entity.GasStation.Base__PlateType> .fillControl(dataGroupBox, model);
        }