oop_AM-6/WebClient/WpfWebClient/MainWindow.xaml.cs

64 lines
1.6 KiB
C#
Raw Normal View History

2018-06-03 17:24:48 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace WpfWebClient
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
2018-07-28 13:47:47 +02:00
private void Button_Click_Home(object sender, RoutedEventArgs e)
{
Main.Content = new Home();
}
private void Button_Click_AddPatient(object sender, RoutedEventArgs e)
2018-06-03 17:24:48 +02:00
{
Main.Content = new PatientForm();
}
2018-07-28 13:47:47 +02:00
private void Button_Click_AddFoodplace(object sender, RoutedEventArgs e)
2018-06-03 17:24:48 +02:00
{
2018-07-28 13:47:47 +02:00
Main.Content = new FoodplaceForm();
2018-06-03 17:24:48 +02:00
}
2018-07-28 13:47:47 +02:00
private void Button_Click_AddExam(object sender, RoutedEventArgs e)
2018-06-03 17:24:48 +02:00
{
2018-07-28 13:47:47 +02:00
Main.Content = new ExamForm();
2018-06-03 17:24:48 +02:00
}
2018-07-28 13:47:47 +02:00
private void Button_Click_ViewDoctors(object sender, RoutedEventArgs e)
2018-06-03 17:24:48 +02:00
{
2018-07-28 13:47:47 +02:00
Main.Content = new ViewDoctors();
2018-06-03 17:24:48 +02:00
}
2018-06-17 17:08:06 +02:00
2018-07-28 13:47:47 +02:00
private void Button_Click_ViewStrains(object sender, RoutedEventArgs e)
2018-07-01 15:32:50 +02:00
{
2018-07-28 13:47:47 +02:00
Main.Content = new ViewStrains();
2018-07-01 15:32:50 +02:00
}
2018-06-17 17:08:06 +02:00
private void Main_Navigated(object sender, NavigationEventArgs e)
{
}
2018-06-03 17:24:48 +02:00
}
}