예제 #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);
            }
        }
예제 #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);
            }
        }