/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridGroupSummaryItem gridGroupSummaryItem1 = new DevExpress.XtraGrid.GridGroupSummaryItem();
     this.gbMain = new DevExpress.XtraEditors.GroupControl();
     this.gcMain = new DevExpress.XtraGrid.GridControl();
     this.gcView = new DevExpress.XtraGrid.Views.Grid.GridView();
     ((System.ComponentModel.ISupportInitialize)(this.gbMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcView)).BeginInit();
     this.SuspendLayout();
     //
     // gbMain
     //
     this.gbMain.Controls.Add(this.gcMain);
     this.gbMain.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gbMain.Location = new System.Drawing.Point(0, 0);
     this.gbMain.Name     = "gbMain";
     this.gbMain.Size     = new System.Drawing.Size(1090, 390);
     this.gbMain.TabIndex = 0;
     this.gbMain.Text     = "{Collection} - {Type}";
     //
     // gcMain
     //
     this.gcMain.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gcMain.Location = new System.Drawing.Point(2, 20);
     this.gcMain.MainView = this.gcView;
     this.gcMain.Name     = "gcMain";
     this.gcMain.Size     = new System.Drawing.Size(1086, 368);
     this.gcMain.TabIndex = 0;
     this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gcView
     });
     //
     // gcView
     //
     this.gcView.GridControl           = this.gcMain;
     gridGroupSummaryItem1.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.gcView.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         gridGroupSummaryItem1
     });
     this.gcView.Name = "gcView";
     this.gcView.OptionsSelection.InvertSelection = true;
     this.gcView.OptionsView.ColumnAutoWidth      = false;
     this.gcView.OptionsView.ShowFooter           = true;
     this.gcView.OptionsView.ShowGroupedColumns   = true;
     this.gcView.OptionsView.ShowGroupPanel       = false;
     this.gcView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gcView_RowCellClick);
     //
     // TypeCollectionViewBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gbMain);
     this.Name = "TypeCollectionViewBox";
     this.Size = new System.Drawing.Size(1090, 390);
     ((System.ComponentModel.ISupportInitialize)(this.gbMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcView)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 public void InitSummary()
 {
     GroupChooseNeedSummary = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, ChooseColumnName, null, "Count:{0}")
     {
         Tag = "GroupChooseNeedSummary"
     };
     ChooseNeedSummary = new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Custom, "", "{0}");
 }
Esempio n. 3
0
 private DevExpress.XtraGrid.GridSummaryItem[] makeGroupSummaryItems(string fieldname)
 {
     DevExpress.XtraGrid.GridSummaryItem[] result = new DevExpress.XtraGrid.GridSummaryItem[3];
     result[0] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Avg:{0}");
     result[1] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Max:{0}");
     result[2] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Min:{0}");
     return(result);
 }
Esempio n. 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            DataSet ds = createData();

            // MB.XWinLib.XtraGrid.XtraGridHelper.Instance.BindingToXtraGrid(gridControlEx1, ds, "testHViewDataConvert");
            gridControlEx1.DataSource = ds.Tables[0].DefaultView;
            //gridView1.Columns[5].SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
            //var dc = gridView1.Columns[5];

            var s = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, "SUM(Count)", null, "总数={0}");

            gridView1.GroupSummary.Add(s);
            //s = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Count, "Count", dc, "Count={0}");
            //gridView1.GroupSummary.Add(s);
        }
Esempio n. 5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources             = new System.ComponentModel.ComponentResourceManager(typeof(FrmPath_Jbxx));
     DevExpress.XtraGrid.GridGroupSummaryItem       gridGroupSummaryItem1 = new DevExpress.XtraGrid.GridGroupSummaryItem();
     this.txt_PATHWAY_NAME     = new DevExpress.XtraEditors.TextEdit();
     this.lbl_PATHWAY_NAME     = new System.Windows.Forms.Label();
     this.txt_PATHWAY_VERSION  = new DevExpress.XtraEditors.TextEdit();
     this.lbl_PATHWAY_VERSION  = new System.Windows.Forms.Label();
     this.ce_MIN_HOSPITAL_DAYS = new DevExpress.XtraEditors.CalcEdit();
     this.lbl_HOSPITAL_DAYS    = new System.Windows.Forms.Label();
     this.ce_MAX_HOSPITAL_DAYS = new DevExpress.XtraEditors.CalcEdit();
     this.label3                = new System.Windows.Forms.Label();
     this.label4                = new System.Windows.Forms.Label();
     this.label5                = new System.Windows.Forms.Label();
     this.label6                = new System.Windows.Forms.Label();
     this.ce_MAX_COST           = new DevExpress.XtraEditors.CalcEdit();
     this.ce_MIN_COST           = new DevExpress.XtraEditors.CalcEdit();
     this.lbl_COST              = new System.Windows.Forms.Label();
     this.lbl_SYBZ              = new System.Windows.Forms.Label();
     this.panel_hide            = new DevExpress.XtraEditors.PanelControl();
     this.lbl_MONOCONDITION     = new System.Windows.Forms.Label();
     this.lbl_STATUS            = new System.Windows.Forms.Label();
     this.lbl_id                = new DevExpress.XtraEditors.TextEdit();
     this.lbl_UPDATE_DATE       = new DevExpress.XtraEditors.DateEdit();
     this.lbl_CREATE_DATE       = new DevExpress.XtraEditors.DateEdit();
     this.lbl_EMP_ID_UPDATE     = new System.Windows.Forms.Label();
     this.lbl_EMP_ID_CREATE     = new System.Windows.Forms.Label();
     this.lbl_WBM               = new System.Windows.Forms.Label();
     this.lbl_PYM               = new System.Windows.Forms.Label();
     this.lbl_PATHWAY_STATUS    = new System.Windows.Forms.Label();
     this.lookEditCmb1          = new Trasen.Base.Cmb.LookEditCmb();
     this.showPopup1            = new Trasen.Base.Cmb.ShowPopup();
     this.label1                = new System.Windows.Forms.Label();
     this.gridControl1          = new DevExpress.XtraGrid.GridControl();
     this.gridView1             = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gc_PATHWAY_DISEASE_ID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gc_DISEASE_NAME       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gc_ICD_CODE           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.showPopupComponent1   = new Trasen.Base.Cmb.ShowPopupComponent();
     this.showPopup2            = new Trasen.Base.Cmb.ShowPopup();
     this.chkConfig             = new DevExpress.XtraEditors.CheckEdit();
     this.lbZXKS                = new System.Windows.Forms.Label();
     this.lookEditCmb2          = new Trasen.Base.Cmb.LookEditCmb();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.paneMain.SuspendLayout();
     this.panelbtn.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_PATHWAY_NAME.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_PATHWAY_VERSION.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MIN_HOSPITAL_DAYS.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MAX_HOSPITAL_DAYS.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MAX_COST.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MIN_COST.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panel_hide)).BeginInit();
     this.panel_hide.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_id.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_UPDATE_DATE.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_CREATE_DATE.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookEditCmb1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.showPopup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.showPopup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkConfig.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookEditCmb2.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Size = new System.Drawing.Size(452, 327);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.chkConfig);
     this.groupBox2.Location = new System.Drawing.Point(0, 327);
     this.groupBox2.Size     = new System.Drawing.Size(452, 39);
     this.groupBox2.Controls.SetChildIndex(this.chkConfig, 0);
     this.groupBox2.Controls.SetChildIndex(this.panelbtn, 0);
     //
     // paneMain
     //
     this.paneMain.Controls.Add(this.lookEditCmb2);
     this.paneMain.Controls.Add(this.lbZXKS);
     this.paneMain.Controls.Add(this.panel_hide);
     this.paneMain.Controls.Add(this.gridControl1);
     this.paneMain.Controls.Add(this.label1);
     this.paneMain.Controls.Add(this.lookEditCmb1);
     this.paneMain.Controls.Add(this.lbl_SYBZ);
     this.paneMain.Controls.Add(this.label5);
     this.paneMain.Controls.Add(this.label6);
     this.paneMain.Controls.Add(this.ce_MAX_COST);
     this.paneMain.Controls.Add(this.ce_MIN_COST);
     this.paneMain.Controls.Add(this.lbl_COST);
     this.paneMain.Controls.Add(this.label4);
     this.paneMain.Controls.Add(this.label3);
     this.paneMain.Controls.Add(this.ce_MAX_HOSPITAL_DAYS);
     this.paneMain.Controls.Add(this.ce_MIN_HOSPITAL_DAYS);
     this.paneMain.Controls.Add(this.lbl_HOSPITAL_DAYS);
     this.paneMain.Controls.Add(this.txt_PATHWAY_VERSION);
     this.paneMain.Controls.Add(this.lbl_PATHWAY_VERSION);
     this.paneMain.Controls.Add(this.txt_PATHWAY_NAME);
     this.paneMain.Controls.Add(this.lbl_PATHWAY_NAME);
     this.paneMain.Size = new System.Drawing.Size(446, 307);
     //
     // panelbtn
     //
     this.panelbtn.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
     this.panelbtn.Location = new System.Drawing.Point(74, 9);
     //
     // barClose
     //
     this.barClose.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barClose.Appearance.Options.UseFont = true;
     //
     // barCancel
     //
     this.barCancel.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barCancel.Appearance.Options.UseFont = true;
     //
     // barSave
     //
     this.barSave.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barSave.Appearance.Options.UseFont = true;
     this.barSave.Click += new System.EventHandler(this.barSave_Click);
     //
     // barAdd
     //
     this.barAdd.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barAdd.Appearance.Options.UseFont = true;
     this.barAdd.Text = "新建(&A)";
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.Images.SetKeyName(0, "node.bmp");
     this.imageList1.Images.SetKeyName(1, "nodeopen.bmp");
     this.imageList1.Images.SetKeyName(2, "leaf.bmp");
     this.imageList1.Images.SetKeyName(3, "leafedit.bmp");
     //
     // txt_PATHWAY_NAME
     //
     this.txt_PATHWAY_NAME.Location = new System.Drawing.Point(89, 12);
     this.txt_PATHWAY_NAME.Name     = "txt_PATHWAY_NAME";
     this.txt_PATHWAY_NAME.Properties.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_PATHWAY_NAME.Properties.Appearance.Options.UseFont = true;
     this.txt_PATHWAY_NAME.Size     = new System.Drawing.Size(348, 20);
     this.txt_PATHWAY_NAME.TabIndex = 3;
     //
     // lbl_PATHWAY_NAME
     //
     this.lbl_PATHWAY_NAME.AutoSize  = true;
     this.lbl_PATHWAY_NAME.ForeColor = System.Drawing.Color.Red;
     this.lbl_PATHWAY_NAME.Location  = new System.Drawing.Point(29, 15);
     this.lbl_PATHWAY_NAME.Name      = "lbl_PATHWAY_NAME";
     this.lbl_PATHWAY_NAME.Size      = new System.Drawing.Size(53, 12);
     this.lbl_PATHWAY_NAME.TabIndex  = 2;
     this.lbl_PATHWAY_NAME.Text      = "路径名称";
     //
     // txt_PATHWAY_VERSION
     //
     this.txt_PATHWAY_VERSION.Location = new System.Drawing.Point(89, 31);
     this.txt_PATHWAY_VERSION.Name     = "txt_PATHWAY_VERSION";
     this.txt_PATHWAY_VERSION.Properties.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_PATHWAY_VERSION.Properties.Appearance.Options.UseFont = true;
     this.txt_PATHWAY_VERSION.Size     = new System.Drawing.Size(193, 20);
     this.txt_PATHWAY_VERSION.TabIndex = 5;
     //
     // lbl_PATHWAY_VERSION
     //
     this.lbl_PATHWAY_VERSION.AutoSize  = true;
     this.lbl_PATHWAY_VERSION.ForeColor = System.Drawing.Color.Red;
     this.lbl_PATHWAY_VERSION.Location  = new System.Drawing.Point(29, 34);
     this.lbl_PATHWAY_VERSION.Name      = "lbl_PATHWAY_VERSION";
     this.lbl_PATHWAY_VERSION.Size      = new System.Drawing.Size(53, 12);
     this.lbl_PATHWAY_VERSION.TabIndex  = 4;
     this.lbl_PATHWAY_VERSION.Text      = "版 本 号";
     //
     // ce_MIN_HOSPITAL_DAYS
     //
     this.ce_MIN_HOSPITAL_DAYS.AllowDrop = true;
     this.ce_MIN_HOSPITAL_DAYS.Location  = new System.Drawing.Point(89, 50);
     this.ce_MIN_HOSPITAL_DAYS.Name      = "ce_MIN_HOSPITAL_DAYS";
     this.ce_MIN_HOSPITAL_DAYS.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, false, false, DevExpress.Utils.HorzAlignment.Center, null)
     });
     this.ce_MIN_HOSPITAL_DAYS.Size     = new System.Drawing.Size(88, 21);
     this.ce_MIN_HOSPITAL_DAYS.TabIndex = 27;
     //
     // lbl_HOSPITAL_DAYS
     //
     this.lbl_HOSPITAL_DAYS.AutoSize  = true;
     this.lbl_HOSPITAL_DAYS.ForeColor = System.Drawing.Color.Red;
     this.lbl_HOSPITAL_DAYS.Location  = new System.Drawing.Point(29, 55);
     this.lbl_HOSPITAL_DAYS.Name      = "lbl_HOSPITAL_DAYS";
     this.lbl_HOSPITAL_DAYS.Size      = new System.Drawing.Size(53, 12);
     this.lbl_HOSPITAL_DAYS.TabIndex  = 28;
     this.lbl_HOSPITAL_DAYS.Text      = "住院天数";
     //
     // ce_MAX_HOSPITAL_DAYS
     //
     this.ce_MAX_HOSPITAL_DAYS.Location = new System.Drawing.Point(194, 50);
     this.ce_MAX_HOSPITAL_DAYS.Name     = "ce_MAX_HOSPITAL_DAYS";
     this.ce_MAX_HOSPITAL_DAYS.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, false, false, DevExpress.Utils.HorzAlignment.Center, null)
     });
     this.ce_MAX_HOSPITAL_DAYS.Size     = new System.Drawing.Size(88, 21);
     this.ce_MAX_HOSPITAL_DAYS.TabIndex = 29;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.ForeColor = System.Drawing.Color.Red;
     this.label3.Location  = new System.Drawing.Point(182, 55);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(11, 12);
     this.label3.TabIndex  = 30;
     this.label3.Text      = "-";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.Color.Red;
     this.label4.Location  = new System.Drawing.Point(288, 55);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(17, 12);
     this.label4.TabIndex  = 31;
     this.label4.Text      = "天";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.ForeColor = System.Drawing.Color.Red;
     this.label5.Location  = new System.Drawing.Point(288, 75);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(17, 12);
     this.label5.TabIndex  = 36;
     this.label5.Text      = "元";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.ForeColor = System.Drawing.Color.Red;
     this.label6.Location  = new System.Drawing.Point(182, 75);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(11, 12);
     this.label6.TabIndex  = 35;
     this.label6.Text      = "-";
     //
     // ce_MAX_COST
     //
     this.ce_MAX_COST.Location = new System.Drawing.Point(194, 70);
     this.ce_MAX_COST.Name     = "ce_MAX_COST";
     this.ce_MAX_COST.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, false, false, DevExpress.Utils.HorzAlignment.Center, null)
     });
     this.ce_MAX_COST.Size     = new System.Drawing.Size(88, 21);
     this.ce_MAX_COST.TabIndex = 34;
     //
     // ce_MIN_COST
     //
     this.ce_MIN_COST.Location = new System.Drawing.Point(89, 70);
     this.ce_MIN_COST.Name     = "ce_MIN_COST";
     this.ce_MIN_COST.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, false, false, DevExpress.Utils.HorzAlignment.Center, null)
     });
     this.ce_MIN_COST.Size     = new System.Drawing.Size(88, 21);
     this.ce_MIN_COST.TabIndex = 32;
     //
     // lbl_COST
     //
     this.lbl_COST.AutoSize  = true;
     this.lbl_COST.ForeColor = System.Drawing.Color.Red;
     this.lbl_COST.Location  = new System.Drawing.Point(29, 75);
     this.lbl_COST.Name      = "lbl_COST";
     this.lbl_COST.Size      = new System.Drawing.Size(53, 12);
     this.lbl_COST.TabIndex  = 33;
     this.lbl_COST.Text      = "费用区间";
     //
     // lbl_SYBZ
     //
     this.lbl_SYBZ.AutoSize  = true;
     this.lbl_SYBZ.ForeColor = System.Drawing.Color.Red;
     this.lbl_SYBZ.Location  = new System.Drawing.Point(29, 93);
     this.lbl_SYBZ.Name      = "lbl_SYBZ";
     this.lbl_SYBZ.Size      = new System.Drawing.Size(53, 12);
     this.lbl_SYBZ.TabIndex  = 38;
     this.lbl_SYBZ.Text      = "适应病症";
     //
     // panel_hide
     //
     this.panel_hide.Controls.Add(this.lbl_MONOCONDITION);
     this.panel_hide.Controls.Add(this.lbl_STATUS);
     this.panel_hide.Controls.Add(this.lbl_id);
     this.panel_hide.Controls.Add(this.lbl_UPDATE_DATE);
     this.panel_hide.Controls.Add(this.lbl_CREATE_DATE);
     this.panel_hide.Controls.Add(this.lbl_EMP_ID_UPDATE);
     this.panel_hide.Controls.Add(this.lbl_EMP_ID_CREATE);
     this.panel_hide.Controls.Add(this.lbl_WBM);
     this.panel_hide.Controls.Add(this.lbl_PYM);
     this.panel_hide.Controls.Add(this.lbl_PATHWAY_STATUS);
     this.panel_hide.Location = new System.Drawing.Point(31, 198);
     this.panel_hide.Name     = "panel_hide";
     this.panel_hide.Size     = new System.Drawing.Size(388, 77);
     this.panel_hide.TabIndex = 39;
     this.panel_hide.Text     = "panelControl1";
     //
     // lbl_MONOCONDITION
     //
     this.lbl_MONOCONDITION.AutoSize  = true;
     this.lbl_MONOCONDITION.ForeColor = System.Drawing.Color.Black;
     this.lbl_MONOCONDITION.Location  = new System.Drawing.Point(196, 27);
     this.lbl_MONOCONDITION.Name      = "lbl_MONOCONDITION";
     this.lbl_MONOCONDITION.Size      = new System.Drawing.Size(83, 12);
     this.lbl_MONOCONDITION.TabIndex  = 68;
     this.lbl_MONOCONDITION.Text      = "MONOCONDITION";
     //
     // lbl_STATUS
     //
     this.lbl_STATUS.AutoSize  = true;
     this.lbl_STATUS.ForeColor = System.Drawing.Color.Black;
     this.lbl_STATUS.Location  = new System.Drawing.Point(294, 26);
     this.lbl_STATUS.Name      = "lbl_STATUS";
     this.lbl_STATUS.Size      = new System.Drawing.Size(41, 12);
     this.lbl_STATUS.TabIndex  = 67;
     this.lbl_STATUS.Text      = "STATUS";
     //
     // lbl_id
     //
     this.lbl_id.Location = new System.Drawing.Point(7, 41);
     this.lbl_id.Name     = "lbl_id";
     this.lbl_id.Properties.Appearance.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl_id.Properties.Appearance.Options.UseFont = true;
     this.lbl_id.Size     = new System.Drawing.Size(330, 20);
     this.lbl_id.TabIndex = 40;
     //
     // lbl_UPDATE_DATE
     //
     this.lbl_UPDATE_DATE.EditValue = new System.DateTime(2012, 6, 1, 0, 0, 0, 0);
     this.lbl_UPDATE_DATE.Location  = new System.Drawing.Point(233, 0);
     this.lbl_UPDATE_DATE.Name      = "lbl_UPDATE_DATE";
     this.lbl_UPDATE_DATE.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.lbl_UPDATE_DATE.Size     = new System.Drawing.Size(39, 23);
     this.lbl_UPDATE_DATE.TabIndex = 66;
     //
     // lbl_CREATE_DATE
     //
     this.lbl_CREATE_DATE.EditValue = new System.DateTime(2012, 6, 1, 0, 0, 0, 0);
     this.lbl_CREATE_DATE.Location  = new System.Drawing.Point(55, 2);
     this.lbl_CREATE_DATE.Name      = "lbl_CREATE_DATE";
     this.lbl_CREATE_DATE.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.lbl_CREATE_DATE.Size     = new System.Drawing.Size(39, 23);
     this.lbl_CREATE_DATE.TabIndex = 65;
     //
     // lbl_EMP_ID_UPDATE
     //
     this.lbl_EMP_ID_UPDATE.AutoSize  = true;
     this.lbl_EMP_ID_UPDATE.ForeColor = System.Drawing.Color.Black;
     this.lbl_EMP_ID_UPDATE.Location  = new System.Drawing.Point(294, 2);
     this.lbl_EMP_ID_UPDATE.Name      = "lbl_EMP_ID_UPDATE";
     this.lbl_EMP_ID_UPDATE.Size      = new System.Drawing.Size(83, 12);
     this.lbl_EMP_ID_UPDATE.TabIndex  = 64;
     this.lbl_EMP_ID_UPDATE.Text      = "EMP_ID_UPDATE";
     //
     // lbl_EMP_ID_CREATE
     //
     this.lbl_EMP_ID_CREATE.AutoSize  = true;
     this.lbl_EMP_ID_CREATE.ForeColor = System.Drawing.Color.Black;
     this.lbl_EMP_ID_CREATE.Location  = new System.Drawing.Point(106, 2);
     this.lbl_EMP_ID_CREATE.Name      = "lbl_EMP_ID_CREATE";
     this.lbl_EMP_ID_CREATE.Size      = new System.Drawing.Size(83, 12);
     this.lbl_EMP_ID_CREATE.TabIndex  = 63;
     this.lbl_EMP_ID_CREATE.Text      = "EMP_ID_CREATE";
     //
     // lbl_WBM
     //
     this.lbl_WBM.AutoSize  = true;
     this.lbl_WBM.ForeColor = System.Drawing.Color.Black;
     this.lbl_WBM.Location  = new System.Drawing.Point(150, 26);
     this.lbl_WBM.Name      = "lbl_WBM";
     this.lbl_WBM.Size      = new System.Drawing.Size(23, 12);
     this.lbl_WBM.TabIndex  = 62;
     this.lbl_WBM.Text      = "WBM";
     //
     // lbl_PYM
     //
     this.lbl_PYM.AutoSize  = true;
     this.lbl_PYM.ForeColor = System.Drawing.Color.Black;
     this.lbl_PYM.Location  = new System.Drawing.Point(115, 26);
     this.lbl_PYM.Name      = "lbl_PYM";
     this.lbl_PYM.Size      = new System.Drawing.Size(23, 12);
     this.lbl_PYM.TabIndex  = 61;
     this.lbl_PYM.Text      = "PYM";
     //
     // lbl_PATHWAY_STATUS
     //
     this.lbl_PATHWAY_STATUS.AutoSize  = true;
     this.lbl_PATHWAY_STATUS.ForeColor = System.Drawing.Color.Black;
     this.lbl_PATHWAY_STATUS.Location  = new System.Drawing.Point(5, 26);
     this.lbl_PATHWAY_STATUS.Name      = "lbl_PATHWAY_STATUS";
     this.lbl_PATHWAY_STATUS.Size      = new System.Drawing.Size(89, 12);
     this.lbl_PATHWAY_STATUS.TabIndex  = 50;
     this.lbl_PATHWAY_STATUS.Text      = "PATHWAY_STATUS";
     //
     // lookEditCmb1
     //
     this.lookEditCmb1.DisplayMember = "";
     this.lookEditCmb1.Location      = new System.Drawing.Point(89, 281);
     this.lookEditCmb1.Name          = "lookEditCmb1";
     this.lookEditCmb1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo),
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus, "增加", -1, true, true, false, DevExpress.Utils.HorzAlignment.Center, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), "增加")
     });
     this.lookEditCmb1.Size        = new System.Drawing.Size(345, 23);
     this.lookEditCmb1.TabIndex    = 40;
     this.lookEditCmb1.ValueMember = "";
     //
     // showPopup1
     //
     this.showPopup1.DisplayMember = "";
     this.showPopup1.KeyMember     = "";
     this.showPopup1.Location      = new System.Drawing.Point(0, 0);
     this.showPopup1.Name          = "showPopup1";
     this.showPopup1.Size          = new System.Drawing.Size(400, 200);
     this.showPopup1.TabIndex      = 0;
     this.showPopup1.Text          = "showPopup1";
     this.showPopup1.ValueMember   = "";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(30, 286);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(53, 12);
     this.label1.TabIndex  = 42;
     this.label1.Text      = "选择病症";
     //
     // gridControl1
     //
     this.gridControl1.EmbeddedNavigator.Buttons.Append.Visible     = false;
     this.gridControl1.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControl1.EmbeddedNavigator.Buttons.CustomButtons.AddRange(new DevExpress.XtraEditors.NavigatorCustomButton[] {
         new DevExpress.XtraEditors.NavigatorCustomButton(-1, 10, true, true, "删除", "Del")
     });
     this.gridControl1.EmbeddedNavigator.Buttons.Edit.Visible     = false;
     this.gridControl1.EmbeddedNavigator.Buttons.EndEdit.Visible  = false;
     this.gridControl1.EmbeddedNavigator.Buttons.NextPage.Visible = false;
     this.gridControl1.EmbeddedNavigator.Buttons.PrevPage.Visible = false;
     this.gridControl1.EmbeddedNavigator.Buttons.Remove.Visible   = false;
     this.gridControl1.EmbeddedNavigator.Name             = "";
     this.gridControl1.EmbeddedNavigator.TextStringFormat = "{0} /共 {1}";
     this.gridControl1.EmbeddedNavigator.ButtonClick     += new DevExpress.XtraEditors.NavigatorButtonClickEventHandler(this.gridControl1_EmbeddedNavigator_ButtonClick);
     this.gridControl1.Location             = new System.Drawing.Point(89, 90);
     this.gridControl1.MainView             = this.gridView1;
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.Size                 = new System.Drawing.Size(346, 190);
     this.gridControl1.TabIndex             = 43;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView1.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gc_PATHWAY_DISEASE_ID,
         this.gc_DISEASE_NAME,
         this.gc_ICD_CODE
     });
     this.gridView1.GridControl          = this.gridControl1;
     gridGroupSummaryItem1.DisplayFormat = "{0}条";
     gridGroupSummaryItem1.SummaryType   = DevExpress.Data.SummaryItemType.Count;
     this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         gridGroupSummaryItem1
     });
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.Editable         = false;
     this.gridView1.OptionsMenu.EnableFooterMenu     = false;
     this.gridView1.OptionsPrint.PrintFooter         = false;
     this.gridView1.OptionsSelection.InvertSelection = true;
     this.gridView1.OptionsView.ColumnAutoWidth      = false;
     this.gridView1.OptionsView.ShowColumnHeaders    = false;
     this.gridView1.OptionsView.ShowFilterPanel      = false;
     this.gridView1.OptionsView.ShowGroupPanel       = false;
     //
     // gc_PATHWAY_DISEASE_ID
     //
     this.gc_PATHWAY_DISEASE_ID.Caption   = "Id";
     this.gc_PATHWAY_DISEASE_ID.FieldName = "PATHWAY_DISEASE_ID";
     this.gc_PATHWAY_DISEASE_ID.Fixed     = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gc_PATHWAY_DISEASE_ID.Name      = "gc_PATHWAY_DISEASE_ID";
     this.gc_PATHWAY_DISEASE_ID.Width     = 70;
     //
     // gc_DISEASE_NAME
     //
     this.gc_DISEASE_NAME.Caption      = "名称";
     this.gc_DISEASE_NAME.FieldName    = "DISEASE_ID";
     this.gc_DISEASE_NAME.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gc_DISEASE_NAME.Name         = "gc_DISEASE_NAME";
     this.gc_DISEASE_NAME.Visible      = true;
     this.gc_DISEASE_NAME.VisibleIndex = 0;
     this.gc_DISEASE_NAME.Width        = 430;
     //
     // gc_ICD_CODE
     //
     this.gc_ICD_CODE.Caption        = "ICD_CODE";
     this.gc_ICD_CODE.FieldName      = "ICD_CODE";
     this.gc_ICD_CODE.Name           = "gc_ICD_CODE";
     this.gc_ICD_CODE.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
     this.gc_ICD_CODE.Width          = 79;
     //
     // showPopupComponent1
     //
     this.showPopupComponent1.ShowPopups = new Trasen.Base.Cmb.ShowPopup[] {
         this.showPopup1,
         this.showPopup2
     };
     //
     // showPopup2
     //
     this.showPopup2.DisplayMember = "";
     this.showPopup2.KeyMember     = "";
     this.showPopup2.Location      = new System.Drawing.Point(0, 0);
     this.showPopup2.Name          = "showPopup2";
     this.showPopup2.Size          = new System.Drawing.Size(400, 200);
     this.showPopup2.TabIndex      = 0;
     this.showPopup2.Text          = "showPopup2";
     this.showPopup2.ValueMember   = "";
     //
     // chkConfig
     //
     this.chkConfig.Location           = new System.Drawing.Point(6, 15);
     this.chkConfig.Name               = "chkConfig";
     this.chkConfig.Properties.Caption = "立即配置";
     this.chkConfig.Size               = new System.Drawing.Size(75, 19);
     this.chkConfig.TabIndex           = 1;
     //
     // lbZXKS
     //
     this.lbZXKS.AutoSize  = true;
     this.lbZXKS.ForeColor = System.Drawing.Color.Red;
     this.lbZXKS.Location  = new System.Drawing.Point(288, 35);
     this.lbZXKS.Name      = "lbZXKS";
     this.lbZXKS.Size      = new System.Drawing.Size(53, 12);
     this.lbZXKS.TabIndex  = 44;
     this.lbZXKS.Text      = "执行科室";
     //
     // lookEditCmb2
     //
     this.lookEditCmb2.DisplayMember = "";
     this.lookEditCmb2.Location      = new System.Drawing.Point(341, 31);
     this.lookEditCmb2.Name          = "lookEditCmb2";
     this.lookEditCmb2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.lookEditCmb2.Properties.PopupControl = this.showPopup1;
     this.lookEditCmb2.Size              = new System.Drawing.Size(96, 23);
     this.lookEditCmb2.TabIndex          = 45;
     this.lookEditCmb2.ValueMember       = "";
     this.lookEditCmb2.EditValueChanged += new System.EventHandler(this.lookEditCmb2_EditValueChanged);
     //
     // FrmPath_Jbxx
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(452, 388);
     this.Name = "FrmPath_Jbxx";
     this.Text = "路径基本信息";
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.paneMain.ResumeLayout(false);
     this.paneMain.PerformLayout();
     this.panelbtn.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_PATHWAY_NAME.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_PATHWAY_VERSION.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MIN_HOSPITAL_DAYS.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MAX_HOSPITAL_DAYS.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MAX_COST.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ce_MIN_COST.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panel_hide)).EndInit();
     this.panel_hide.ResumeLayout(false);
     this.panel_hide.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_id.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_UPDATE_DATE.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lbl_CREATE_DATE.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookEditCmb1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.showPopup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.showPopup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkConfig.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookEditCmb2.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 6
0
 private DevExpress.XtraGrid.GridSummaryItem[] makeGroupSummaryItems(string fieldname)
 {
     DevExpress.XtraGrid.GridSummaryItem[] result = new DevExpress.XtraGrid.GridSummaryItem[3];
     result[0] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Avg:{0}");
     result[1] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Max:{0}");
     result[2] = new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, fieldname, null, "Min:{0}");
      return result;
 }