public ClinicianMainWindow() { InitializeComponent(); homeWindow = new HomeWindow(this, _managePatient); clinician = new StaffLogin(); Patient = new Patient(); }
public void CheckPatientCPR() { Hide(); homeWindow = new HomeWindow(this, managePatient); homeWindow.ShowDialog(); homeWindow.TbCPRnumber.Clear(); if (LoginOK || RegionLoginOK) { Main.Content = new PatientPage(this, managePatient); ShowDialog(); } else { Close(); } }
public void CheckPatientCPR() { Hide(); homeWindow = new HomeWindow(this, _managePatient); homeWindow.ShowDialog(); homeWindow.TbCPRnumber.Clear(); if (LoginOK || RegionLoginOK) { BtnPatient.Background = new SolidColorBrush(color1); BtnStart.Background = new SolidColorBrush(color2); BtnHearingAid.Background = new SolidColorBrush(color2); BtnProces.Background = new SolidColorBrush(color2); Main.Content = new PatientPage(this, _managePatient); ShowDialog(); } else { Close(); } }