コード例 #1
0
 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();
            }
        }