Example #1
0
        public VehiculosAsociados(Supervisor supervisor, ABMSupervisor mainPage)
        {
            InitializeComponent();
            this.supervisor = supervisor;
            this.mainPage   = mainPage;


            CargarTodosVehiculos();
        }
Example #2
0
 public AsociarVehiculo(Supervisor supervisor, AccesoADatos.ADSupervisor supervisorBD, ABMSupervisor mainPage)
 {
     InitializeComponent();
     this.supervisor   = supervisor;
     this.supervisorBD = supervisorBD;
     this.mainPage     = mainPage;
 }
        public ModificarSupervisor(Supervisor supervisor, AccesoADatos.ADSupervisor supervisorBD, ABMSupervisor mainPage)
        {
            InitializeComponent();
            this.supervisor   = supervisor;
            this.supervisorBD = supervisorBD;
            this.mainPage     = mainPage;

            //Relleno los campos con los atributos del cliente recibido
            RellenarCampos();
        }
 public EliminarSupervisor(Supervisor supervisor, AccesoADatos.ADSupervisor supervisorBD, ABMSupervisor mainPage)
 {
     InitializeComponent();
     this.supervisor   = supervisor;
     this.supervisorBD = supervisorBD;
     this.mainPage     = mainPage;
 }