public HistoryWindow() { InitializeComponent(); historial = new Historiales(); medic = new Medic(); user = new User(); history = new History(); medics = medic.GetAll(); users = user.GetAll(); histories = history.GetAll(); foreach (Usuarios user in users) { comboUsers.Items.Add(user.nombre + " " + user.apellidos); } foreach (Medicos medic in medics) { comboMedics.Items.Add(medic.nombre + " " + medic.apellidos); } historialGrid.ItemsSource = histories.ToArray(); }
public MedicsWindow() { InitializeComponent(); medico = new Medicos(); medic = new Medic(); service = new Service(); speciality = new Speciality(); medics = medic.GetAll(); medicsGrid.ItemsSource = medics.ToArray(); services = service.GetAll(); foreach (ServicioMedico service in services) { comboService.Items.Add(service.nombre + " - " + service.descripcion); } specialities = speciality.GetAll(); foreach (Especialidades speciality in specialities) { comboSpeciality.Items.Add(speciality.nombre + " - " + speciality.descripcion); } }
public MedicsWindow() { InitializeComponent(); medic = new Medic(); medics = medic.GetAll(); }
public HistoryWindow() { InitializeComponent(); user = new User(); medic = new Medic(); medics = medic.GetAll(); users = user.GetAll(); }
public MedicsWindow() { InitializeComponent(); medico = new Medicos(); medic = new Medic(); medics = medic.GetAll(); medicsGrid.ItemsSource = medics.ToArray(); }
public MedicsWindow() { InitializeComponent(); medico = new Medicos(); medic = new Medic(); service = new Service(); speciality = new Speciality(); medics = medic.GetAll(); medicsGrid.ItemsSource = medics.ToArray(); }
public HistoryWindow() { InitializeComponent(); medic = new Medic(); user = new User(); history = new History(); medics = medic.GetAll(); users = user.GetAll(); histories = history.GetAll(); foreach (Usuarios user in users) { comboUsers.Items.Add(user.nombre); } }
public MedicsWindow() { InitializeComponent(); medico = new Medicos(); medic = new Medic(); service = new Service(); speciality = new Speciality(); medics = medic.GetAll(); medicsGrid.ItemsSource = medics.ToArray(); services = service.GetAll(); foreach (ServicioMedico service in services) { } specialities = speciality.GetAll(); }