public InsertVehiculoForm(int userId = 0, int VehiculoId = 0, string keyword = "")
 {
     _userId         = userId;
     _vehiculoId     = VehiculoId;
     _comboBoxesRepo = new LoadComboBoxesRepo();
     _vhRepo         = new VehiculosRepo();
     _keyword        = keyword;
     InitializeComponent();
 }
 public ModifyTipoVehiculosForm(int userId = 0, int tpId = 0, string keyword = "")
 {
     InitializeComponent();
     _userId         = userId;
     _tpId           = tpId;
     _tpRepo         = new TipoVehiculosRepo();
     _loadComboBoxes = new LoadComboBoxesRepo();
     _keyword        = keyword;
 }
 public ModifyMarca(int userId = 0, int marcaId = 0, string keyword = "")
 {
     _userId       = userId;
     _marcaId      = marcaId;
     _keyword      = keyword;
     _comboBoxRepo = new LoadComboBoxesRepo();
     _marcasRepo   = new MarcasRepo();
     InitializeComponent();
 }
示例#4
0
 public ModifyEmpleados(int userId = 0, int empleadoId = 0, string keyword = "")
 {
     InitializeComponent();
     _userId       = userId;
     _empleadoId   = empleadoId;
     _keyword      = keyword;
     _loadCombo    = new LoadComboBoxesRepo();
     _empleadoRepo = new EmpleadosRepo();
 }
示例#5
0
 public ModifyModelos(int userId = 0, int modeloId = 0, string keyword = "")
 {
     _userId     = userId;
     _modeloId   = modeloId;
     _loadCombo  = new LoadComboBoxesRepo();
     _modeloRepo = new ModeloRepo();
     _keyword    = keyword;
     InitializeComponent();
 }
 public ModifyClientesForm(int userId = 0, int clienteId = 0, string keyword = "")
 {
     InitializeComponent();
     _loadCombo    = new LoadComboBoxesRepo();
     _clientesRepo = new ClienteRepo();
     _userId       = userId;
     _clienteId    = clienteId;
     _keyword      = keyword;
 }
 public ModifyInspeccion(int userId = 0, int vehiculoId = 0, int inspeccionId = 0, string keyword = "")
 {
     _userId         = userId;
     _vehiculoId     = vehiculoId;
     _loadCombo      = new LoadComboBoxesRepo();
     _inspeccionRepo = new InspeccionRepository();
     _keyword        = keyword;
     _inspeccionId   = inspeccionId;
     InitializeComponent();
 }
示例#8
0
 public ModifyTipoCombustible(int userId = 0, int tcId = 0, string keyword = "")
 {
     _userId    = userId;
     _tcId      = tcId;
     _userRepo  = new UserRepo();
     _tcRepo    = new TCRepo();
     _loadCombo = new LoadComboBoxesRepo();
     _keyword   = keyword;
     InitializeComponent();
 }