public Form_Permiso_Add(OnAddSuccessDelegate <RolViewModel> onAddSuccess) { InitializeComponent(); _OnAddSuccess = onAddSuccess; _ViewModel = new RolViewModel(); LoadPermisos(); BindViewModel(); }
public Form_Pago(OnAddSuccessDelegate <PagoViewModel> onSuccess) { InitializeComponent(); _OnSuccessDelegate = onSuccess; _ViewModel = new PagoViewModel(); BindViewModel(); LoadDropdowns(); }
public Form_Recorrido_Add(OnAddSuccessDelegate <RecorridoViewModel> onAddSuccess) { InitializeComponent(); _OnAddSuccess = onAddSuccess; _ViewModel = new RecorridoViewModel(); BindViewModel(); }
public Form_Crucero_Add(OnAddSuccessDelegate <CruceroViewModel> onAddSuccess) { InitializeComponent(); LoadDropdowns(); _OnAddSuccess = onAddSuccess; _ViewModel = new CruceroViewModel(); BindViewModel(); }
public Form_Tramo_Add(OnAddSuccessDelegate <TramoViewModel> onAddSuccess) { InitializeComponent(); _OnAddSuccess = onAddSuccess; LoadDropdowns(); _ViewModel = new TramoViewModel(); BindViewModel(); }
public Form_RutaDeViaje_Add(OnAddSuccessDelegate <RutaDeViajeViewModel> onAddSuccess) { InitializeComponent(); LoadDropdowns(); _OnAddSuccess = onAddSuccess; _ViewModel = new RutaDeViajeViewModel(); BindViewModel(); }