public EditPatientWindow(Patient patient, DoctorWindow doctorWindow)
 {
     InitializeComponent();
     this._patient      = patient;
     this._doctorWindow = doctorWindow;
     FillData();
 }
Exemplo n.º 2
0
        private async void DoctorLoginButton_Click(object sender, RoutedEventArgs e)
        {
            var username = drUsernameTB.Text;
            var password = drPasswordTB.Password;

            if (await HttpHandler.LoginDoctor(username, password))
            {
                DoctorWindow win1 = new DoctorWindow();
                win1.Show();
                Close();
            }
        }