public AllocateBedWindow(AdmitPatientPage p1)
        {
            InitializeComponent();

            p = p1;

            //By default, set all fields non-clickable
            this.comboboxChooseWard.IsEnabled = false;
            this.comboboxChooseBed.IsEnabled  = false;
            this.submitBed.IsEnabled          = false;
        }
        private void btnAdmitPatient_Click(object sender, RoutedEventArgs e)
        {
            AdmitPatientPage objAdmitPatient = new AdmitPatientPage();

            staffFrame.NavigationService.Navigate(objAdmitPatient);
        }