Esempio n. 1
0
 public Form_Permiso_Add(OnAddSuccessDelegate <RolViewModel> onAddSuccess)
 {
     InitializeComponent();
     _OnAddSuccess = onAddSuccess;
     _ViewModel    = new RolViewModel();
     LoadPermisos();
     BindViewModel();
 }
Esempio n. 2
0
 public Form_Pago(OnAddSuccessDelegate <PagoViewModel> onSuccess)
 {
     InitializeComponent();
     _OnSuccessDelegate = onSuccess;
     _ViewModel         = new PagoViewModel();
     BindViewModel();
     LoadDropdowns();
 }
Esempio n. 3
0
        public Form_Recorrido_Add(OnAddSuccessDelegate <RecorridoViewModel> onAddSuccess)
        {
            InitializeComponent();

            _OnAddSuccess = onAddSuccess;
            _ViewModel    = new RecorridoViewModel();
            BindViewModel();
        }
Esempio n. 4
0
        public Form_Crucero_Add(OnAddSuccessDelegate <CruceroViewModel> onAddSuccess)
        {
            InitializeComponent();
            LoadDropdowns();

            _OnAddSuccess = onAddSuccess;
            _ViewModel    = new CruceroViewModel();
            BindViewModel();
        }
Esempio n. 5
0
        public Form_Tramo_Add(OnAddSuccessDelegate <TramoViewModel> onAddSuccess)
        {
            InitializeComponent();
            _OnAddSuccess = onAddSuccess;
            LoadDropdowns();

            _ViewModel = new TramoViewModel();
            BindViewModel();
        }
Esempio n. 6
0
        public Form_RutaDeViaje_Add(OnAddSuccessDelegate <RutaDeViajeViewModel> onAddSuccess)
        {
            InitializeComponent();
            LoadDropdowns();

            _OnAddSuccess = onAddSuccess;
            _ViewModel    = new RutaDeViajeViewModel();
            BindViewModel();
        }