private void UpdateAllWait()
 {
     if (this.InManageCheck.IsChecked.Value)
     {
         this.AllWaitList.View = this.Resources["inApplyColumn"] as GridView;
         CommClient.InHospitalApply mydApply = new CommClient.InHospitalApply();
         AllWaitList.ItemsSource = mydApply.GetAllInHospitalApply(CommContracts.InHospitalApplyEnum.未处理);
     }
     else if (this.LeaveManageCheck.IsChecked.Value)
     {
         CommClient.InHospital myd = new CommClient.InHospital();
         this.AllWaitList.View   = this.Resources["inHospitalColumn"] as GridView;
         AllWaitList.ItemsSource = myd.GetAllInHospitalList();
     }
     else if (this.RecallManageCheck.IsChecked.Value)
     {
         CommClient.LeaveHospital myd = new CommClient.LeaveHospital();
         this.AllWaitList.View   = this.Resources["leaveHospitalColumn"] as GridView;
         AllWaitList.ItemsSource = myd.GetAllLeaveHospitalList();
     }
 }