public EditPatientWindow(Patient patient, DoctorWindow doctorWindow)
 {
     InitializeComponent();
     this._patient      = patient;
     this._doctorWindow = doctorWindow;
     FillData();
 }
예제 #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();
            }
        }