示例#1
0
 public AltaAutomovil(OnCreateUpdateListener _listener)
 {
     InitializeComponent();
     cargarDatosIniciales();
     listener = _listener;
     turnos   = new List <TurnoDTO>();
 }
示例#2
0
 public AltaChofer(OnCreateUpdateListener listenerExterno)
 {
     InitializeComponent();
     this.dateFechaNac.Value = Config.newInstance.date;
     this.Text = "Alta de Choferes";
     this.botonAgregar.Text       = "Agregar";
     this.edicion                 = false;
     this.checkHabilitado.Checked = true;
     listener = listenerExterno;
 }
示例#3
0
 public crearCliente(OnCreateUpdateListener listenerExterno)
 {
     InitializeComponent();
     this.dtpFechaNacimiento.Value = Config.newInstance.date;
     this.Text = "Alta de Clientes";
     btnCrearCliente.Visible      = true;
     btnModificar.Visible         = false;
     this.checkHabilitado.Checked = true;
     listener = listenerExterno;
 }
示例#4
0
        public AltaTurno(OnCreateUpdateListener listenerExterno)
        {
            InitializeComponent();
            this.Text                    = "Alta de Turnos";
            this.Agregar.Text            = "Agregar";
            this.edicion                 = false;
            this.checkHabilitado.Checked = true;
            this.checkHabilitado.Visible = false;

            listener = listenerExterno;
        }
示例#5
0
        public AltaChofer(int choferModificableID, OnCreateUpdateListener listenerExterno)
        {
            InitializeComponent();

            cargarDatosEdicion(choferModificableID);

            this.Text = "Edicion de Choferes";
            this.botonAgregar.Text = "Editar";
            this.edicion           = true;

            listener = listenerExterno;
        }
示例#6
0
        public crearCliente(ClienteDTO _clienteAModificar, OnCreateUpdateListener _listener)
        {
            InitializeComponent();
            clienteAModificar = _clienteAModificar;

            CargarDatosDeClienteAModificar(clienteAModificar);

            btnCrearCliente.Visible = false;
            btnModificar.Visible    = true;

            this.Text = "Modificar cliente";
            listener  = _listener;
        }
示例#7
0
        public AltaTurno(int turnoModificableID, OnCreateUpdateListener listenerExterno)
        {
            InitializeComponent();

            cargarDatosEdicion(turnoModificableID);

            this.Text         = "Edicion de Turnos";
            this.Agregar.Text = "Editar";

            this.edicion = true;

            listener = listenerExterno;
        }
示例#8
0
 public AltaAutomovil(AutomovilDTO _AutomovilAModificar, OnCreateUpdateListener _listener)
 {
     InitializeComponent();
     turnos = new List <TurnoDTO>();
     cargarDatosIniciales();
     AutomovilAModificar = _AutomovilAModificar;
     CargarDatosDeAutomovilAModificar();
     btnCrearAutomovil.Visible = false;
     btnModificar.Visible      = true;
     this.Text             = "Modificar automovil";
     chkAutoActivo.Visible = true;
     lblAutoActivo.Visible = true;
     listener = _listener;
 }
示例#9
0
 public AltaRol(RolDTO rol, OnCreateUpdateListener createUpdateListener) :
     this(createUpdateListener)
 {
     this.rol      = rol;
     this.editMode = true;
 }
示例#10
0
 public AltaRol(OnCreateUpdateListener createUpdateListener)
     : this()
 {
     this.createUpdateListener = createUpdateListener;
 }