Exemplo n.º 1
0
        public Retrieval()
        {
            InitializeComponent();
            this.Width  = SystemParameters.WorkArea.Size.Width * 0.4;
            this.Height = this.Width / 1.33;

            groupList     = customDataService.GetAllByType(CustomDataEnum.Group);
            diseaseList   = customDataService.GetAllByType(CustomDataEnum.Disease);
            diagnosisList = customDataService.GetAllByType(CustomDataEnum.Diagiosis);
            //初始化下拉列表内容
            comboBox1.ItemsSource = groupList;
            c4.ItemsSource        = diseaseList;
            c3.ItemsSource        = diagnosisList;
        }
Exemplo n.º 2
0
        public UserUpdata()
        {
            InitializeComponent();
            WindowStartupLocation = WindowStartupLocation.CenterScreen;
            this.MaxHeight        = SystemParameters.WorkArea.Size.Height;
            this.MaxWidth         = SystemParameters.WorkArea.Size.Width;


            groupList     = customDataService.GetAllByType(CustomDataEnum.Group);
            diseaseList   = customDataService.GetAllByType(CustomDataEnum.Disease);
            diagnosisList = customDataService.GetAllByType(CustomDataEnum.Diagiosis);
            //初始化下拉框值
            c2.ItemsSource = groupList;
            c5.ItemsSource = diseaseList;
            c6.ItemsSource = diagnosisList;
            //护理程度下拉框
            c3.ItemsSource = DataCodeCache.GetInstance().GetDateCodeList(DataCodeTypeEnum.CareLevel);
            c4.ItemsSource = DataCodeCache.GetInstance().GetDateCodeList(DataCodeTypeEnum.CareLevel);
        }