Ejemplo n.º 1
0
 public InspeccionForm(int userId = 0, int vehiculoId = 0)
 {
     _userId     = userId;
     _vehiculoId = vehiculoId;
     _insRepo    = new InspeccionRepository();
     _userRepo   = new UserRepo();
     InitializeComponent();
 }
 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();
 }