Exemplo n.º 1
0
        public Add(AddPresenter presenter)
        {
            _presenter = presenter;

            InitializeComponent();

            _presenter.SetForm(this);

            foreach (var vehicleSize in (VehicleSize[])Enum.GetValues(typeof(VehicleSize)))
            {
                dgvServicePricings.Rows.Add(vehicleSize, 0);
            }
        }
Exemplo n.º 2
0
        public Add(AddPresenter presenter)
        {
            _presenter = presenter;

            InitializeComponent();

            _presenter.SetForm(this);

            foreach (var vehicleSize in (VehicleSize[])Enum.GetValues(typeof(VehicleSize)))
            {
                dgvServicePricings.Rows.Add(vehicleSize, 0);
            }
        }