本文整理汇总了C#中Medic.GetAll方法的典型用法代码示例。如果您正苦于以下问题:C# Medic.GetAll方法的具体用法?C# Medic.GetAll怎么用?C# Medic.GetAll使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Medic
的用法示例。
在下文中一共展示了Medic.GetAll方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: HistoryWindow
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();
}
示例2: MedicsWindow
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);
}
}
示例3: MedicsWindow
public MedicsWindow()
{
InitializeComponent();
medic = new Medic();
medics = medic.GetAll();
}
示例4: HistoryWindow
public HistoryWindow()
{
InitializeComponent();
user = new User();
medic = new Medic();
medics = medic.GetAll();
users = user.GetAll();
}
示例5: MedicsWindow
public MedicsWindow()
{
InitializeComponent();
medico = new Medicos();
medic = new Medic();
medics = medic.GetAll();
medicsGrid.ItemsSource = medics.ToArray();
}
示例6: MedicsWindow
public MedicsWindow()
{
InitializeComponent();
medico = new Medicos();
medic = new Medic();
service = new Service();
speciality = new Speciality();
medics = medic.GetAll();
medicsGrid.ItemsSource = medics.ToArray();
}
示例7: HistoryWindow
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);
}
}
示例8: MedicsWindow
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();
}