Files
PWAPP/PWAPPv2/MainWindow.xaml.cs
2023-07-17 20:41:20 -04:00

65 lines
1.5 KiB
C#

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;
/**
* TODO:
* * ADD API SUPPORT
*/
namespace PWAPPv2
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
Source.APIConfig apiconfig = new Source.APIConfig();
public MainWindow()
{
apiconfig.LoadConfig("./Config/Config.xml");
InitializeComponent();
Source.Patient patient = new Source.Patient();
patient.FName = "Matthew";
patient.MName = "Charles";
patient.LName = "Burke";
patient.DoB = "02/24/1999";
patient.Address = "33B N Earl St";
patient.City = "Shippensburg";
patient.State = "Pennsylvania";
patient.Zip = "17257";
this.DataContext = new Source.PatientGUIAdapter(patient);
}
private void RichTextBox_TextChanged(object sender, TextChangedEventArgs e)
{
}
private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
}
private void CheckBox_Checked(object sender, RoutedEventArgs e)
{
}
}
}