Esempio n. 1
0
 /// <summary>
 /// 条件字段, 如 住院号,姓名
 /// </summary>
 protected void insertConditionBox()
 {
     foreach (Control c in this.panel1.Controls)
     {
         if (c.Name == "condition" + iCurrentRow.ToString().PadLeft(2, '0'))
         {
             return;
         }
     }
     Neusoft.FrameWork.WinForms.Controls.NeuComboBox combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
     combox.Width = this.iConditionWidth;
     if (this.myDirection == enuDirection.H)
     {
         combox.Location = new Point(iBlankWidth, iCurrentRow * 21 + (iCurrentRow + 1) * iRowBlank);
     }
     else
     {
         combox.Location  = new Point(iBlankWidth, (iCurrentRow) * 21 + (iCurrentRow + 1) * (iRowBlank * 3));
         combox.ForeColor = Color.Blue;
     }
     //combox.IsShowCustomerList = true;
     combox.Visible  = true;
     combox.TabIndex = iCurrentRow * 10 + 1;
     combox.Name     = "condition" + iCurrentRow.ToString().PadLeft(2, '0');
     combox.AddItems(this.alConditions);
     combox.SelectedIndexChanged += new EventHandler(combox_SelectedIndexChanged);
     combox.KeyPress             += new KeyPressEventHandler(combox_KeyPress);
     combox.SelectedIndex         = 0;
     this.panel1.Controls.Add(combox);
 }
Esempio n. 2
0
        /// <summary>
        /// 关系  大于 等于 不等于
        /// </summary>
        protected void insertRelationBox()
        {
            if (this.alRelations == null)
            {
                this.initRelations();
            }
            Neusoft.FrameWork.WinForms.Controls.NeuComboBox combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
            combox.Width = 50;
            //combox.Location = new Point(this.ButtonOK.Left - iBlankWidth -50,iCurrentRow * 21+(iCurrentRow+1)*iRowBlank +10);
            //combox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            if (this.myDirection == enuDirection.H)
            {
                combox.Location = new Point(iBlankWidth * 4 + 50 + this.iConditionWidth + this.iValueWidth, iCurrentRow * 21 + (iCurrentRow + 1) * iRowBlank);
            }
            else
            {
                combox.Location = new Point(iBlankWidth * 2 + 10 + this.iValueWidth, iRowBlank * 2 + iCurrentRow * 21 + (iCurrentRow + 1) * (iRowBlank * 3));
            }
            //combox.IsShowCustomerList = true;
            combox.Visible  = true;
            combox.TabIndex = iCurrentRow * 10 + 4;
            combox.Name     = "relation" + iCurrentRow.ToString().PadLeft(2, '0');
            combox.AddItems(this.alRelations);
            combox.SelectedIndex         = 0;
            combox.IsListOnly            = true;
            combox.SelectedIndexChanged += new EventHandler(comboxRelation_SelectedIndexChanged);
            combox.KeyPress             += new KeyPressEventHandler(combox_KeyPress);

            this.panel1.Controls.Add(combox);
        }
Esempio n. 3
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要使用代码编辑器
        /// 修改此方法的内容。



        /// </summary>
        private void InitializeComponent()
        {
            this.components    = new System.ComponentModel.Container();
            this.lblBank       = new System.Windows.Forms.Label();
            this.cmbBank       = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.txtBankCardNo = new System.Windows.Forms.TextBox();
            this.txtPosNo      = new System.Windows.Forms.TextBox();
            this.lblBankCardNo = new System.Windows.Forms.Label();
            this.lblPosNo      = new System.Windows.Forms.Label();
            this.btnOK         = new System.Windows.Forms.Button();
            this.btnExit       = new System.Windows.Forms.Button();
            this.lblWorkName   = new System.Windows.Forms.Label();
            this.txtWorkName   = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // lblBank
            //
            this.lblBank.Location = new System.Drawing.Point(11, 56);
            this.lblBank.Name     = "lblBank";
            this.lblBank.Size     = new System.Drawing.Size(64, 16);
            this.lblBank.TabIndex = 1;
            this.lblBank.Text     = "银行:";
            //
            // cmbBank
            //
            this.cmbBank.ArrowBackColor     = System.Drawing.Color.Silver;
            this.cmbBank.IsEnter2Tab        = false;
            this.cmbBank.IsFlat             = false;
            this.cmbBank.IsLike             = true;
            this.cmbBank.IsListOnly         = false;
            this.cmbBank.IsShowCustomerList = false;
            this.cmbBank.IsShowID           = false;
            this.cmbBank.Location           = new System.Drawing.Point(67, 48);
            this.cmbBank.Name             = "cmbBank";
            this.cmbBank.PopForm          = null;
            this.cmbBank.ShowCustomerList = false;
            this.cmbBank.ShowID           = false;
            this.cmbBank.Size             = new System.Drawing.Size(176, 20);
            this.cmbBank.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Flat;
            this.cmbBank.TabIndex         = 1;
            this.cmbBank.Tag        = "";
            this.cmbBank.ToolBarUse = false;
            //
            // txtBankCardNo
            //
            this.txtBankCardNo.Location  = new System.Drawing.Point(67, 88);
            this.txtBankCardNo.MaxLength = 25;
            this.txtBankCardNo.Name      = "txtBankCardNo";
            this.txtBankCardNo.Size      = new System.Drawing.Size(176, 21);
            this.txtBankCardNo.TabIndex  = 2;
            //
            // txtPosNo
            //
            this.txtPosNo.Location  = new System.Drawing.Point(67, 128);
            this.txtPosNo.MaxLength = 15;
            this.txtPosNo.Name      = "txtPosNo";
            this.txtPosNo.Size      = new System.Drawing.Size(176, 21);
            this.txtPosNo.TabIndex  = 3;
            //
            // lblBankCardNo
            //
            this.lblBankCardNo.Location = new System.Drawing.Point(11, 96);
            this.lblBankCardNo.Name     = "lblBankCardNo";
            this.lblBankCardNo.Size     = new System.Drawing.Size(48, 24);
            this.lblBankCardNo.TabIndex = 5;
            this.lblBankCardNo.Text     = "帐号:";
            //
            // lblPosNo
            //
            this.lblPosNo.Location = new System.Drawing.Point(11, 136);
            this.lblPosNo.Name     = "lblPosNo";
            this.lblPosNo.Size     = new System.Drawing.Size(56, 24);
            this.lblPosNo.TabIndex = 6;
            this.lblPosNo.Text     = "小票号:";
            //
            // btnOK
            //
            this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.btnOK.Location  = new System.Drawing.Point(75, 168);
            this.btnOK.Name      = "btnOK";
            this.btnOK.Size      = new System.Drawing.Size(88, 24);
            this.btnOK.TabIndex  = 7;
            this.btnOK.Text      = "确定";
            this.btnOK.Click    += new System.EventHandler(this.btnOK_Click);
            //
            // btnExit
            //
            this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.btnExit.Location  = new System.Drawing.Point(163, 168);
            this.btnExit.Name      = "btnExit";
            this.btnExit.Size      = new System.Drawing.Size(88, 24);
            this.btnExit.TabIndex  = 8;
            this.btnExit.Text      = "取消";
            this.btnExit.Click    += new System.EventHandler(this.btnExit_Click);
            //
            // lblWorkName
            //
            this.lblWorkName.Location = new System.Drawing.Point(3, 22);
            this.lblWorkName.Name     = "lblWorkName";
            this.lblWorkName.Size     = new System.Drawing.Size(72, 16);
            this.lblWorkName.TabIndex = 10;
            this.lblWorkName.Text     = "开户单位:";
            //
            // txtWorkName
            //
            this.txtWorkName.Location  = new System.Drawing.Point(67, 16);
            this.txtWorkName.MaxLength = 25;
            this.txtWorkName.Name      = "txtWorkName";
            this.txtWorkName.Size      = new System.Drawing.Size(176, 21);
            this.txtWorkName.TabIndex  = 0;
            //
            // ucBank
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.Controls.Add(this.txtWorkName);
            this.Controls.Add(this.lblWorkName);
            this.Controls.Add(this.btnExit);
            this.Controls.Add(this.btnOK);
            this.Controls.Add(this.lblPosNo);
            this.Controls.Add(this.lblBankCardNo);
            this.Controls.Add(this.txtPosNo);
            this.Controls.Add(this.txtBankCardNo);
            this.Controls.Add(this.cmbBank);
            this.Controls.Add(this.lblBank);
            this.Name     = "ucBank";
            this.Size     = new System.Drawing.Size(264, 208);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ucBank_KeyDown);
            this.Load    += new System.EventHandler(this.ucBank_Load);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Esempio n. 4
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSealEMR));
     FarPoint.Win.Spread.TipAppearance         tipAppearance1 = new FarPoint.Win.Spread.TipAppearance();
     FarPoint.Win.Spread.CellType.TextCellType textCellType1  = new FarPoint.Win.Spread.CellType.TextCellType();
     this.toolBar1            = new System.Windows.Forms.ToolBar();
     this.toolBarButton1      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2      = new System.Windows.Forms.ToolBarButton();
     this.tbSeal              = new System.Windows.Forms.ToolBarButton();
     this.tbUnSeal            = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6      = new System.Windows.Forms.ToolBarButton();
     this.tbExit              = new System.Windows.Forms.ToolBarButton();
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.panel1              = new System.Windows.Forms.Panel();
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPage1            = new System.Windows.Forms.TabPage();
     this.ucQueryInpatientNo1 = new Common.Controls.ucQueryInpatientNo();
     this.groupBox3           = new System.Windows.Forms.GroupBox();
     this.dtOutBegin          = new System.Windows.Forms.DateTimePicker();
     this.dtOutEnd            = new System.Windows.Forms.DateTimePicker();
     this.cmbDept1            = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
     this.chk1             = new System.Windows.Forms.RadioButton();
     this.chk2             = new System.Windows.Forms.RadioButton();
     this.btnQuery         = new System.Windows.Forms.Button();
     this.tabPage2         = new System.Windows.Forms.TabPage();
     this.label2           = new System.Windows.Forms.Label();
     this.btnSave          = new System.Windows.Forms.Button();
     this.numericUpDown1   = new System.Windows.Forms.NumericUpDown();
     this.label1           = new System.Windows.Forms.Label();
     this.splitter1        = new System.Windows.Forms.Splitter();
     this.fpSpread1        = new FarPoint.Win.Spread.FpSpread();
     this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
     this.SuspendLayout();
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.tbSeal,
         this.tbUnSeal,
         this.toolBarButton6,
         this.tbExit
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(752, 41);
     this.toolBar1.TabIndex       = 0;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButton1
     //
     this.toolBarButton1.Name  = "toolBarButton1";
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton2
     //
     this.toolBarButton2.Name  = "toolBarButton2";
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbSeal
     //
     this.tbSeal.ImageIndex = 0;
     this.tbSeal.Name       = "tbSeal";
     this.tbSeal.Text       = "封存";
     //
     // tbUnSeal
     //
     this.tbUnSeal.ImageIndex = 1;
     this.tbUnSeal.Name       = "tbUnSeal";
     this.tbUnSeal.Text       = "解封";
     //
     // toolBarButton6
     //
     this.toolBarButton6.Name  = "toolBarButton6";
     this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbExit
     //
     this.tbExit.ImageIndex = 2;
     this.tbExit.Name       = "tbExit";
     this.tbExit.Text       = "退出";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Window;
     this.panel1.Controls.Add(this.tabControl1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 41);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(216, 605);
     this.panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(216, 605);
     this.tabControl1.TabIndex      = 31;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.White;
     this.tabPage1.Controls.Add(this.ucQueryInpatientNo1);
     this.tabPage1.Controls.Add(this.groupBox3);
     this.tabPage1.Controls.Add(this.chk1);
     this.tabPage1.Controls.Add(this.chk2);
     this.tabPage1.Controls.Add(this.btnQuery);
     this.tabPage1.Location = new System.Drawing.Point(4, 21);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(208, 580);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "条件";
     //
     // ucQueryInpatientNo1
     //
     this.ucQueryInpatientNo1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.ucQueryInpatientNo1.InputType = 0;
     this.ucQueryInpatientNo1.Location  = new System.Drawing.Point(16, 28);
     this.ucQueryInpatientNo1.Name      = "ucQueryInpatientNo1";
     this.ucQueryInpatientNo1.ShowState = Common.Controls.enuShowState.All;
     this.ucQueryInpatientNo1.Size      = new System.Drawing.Size(184, 27);
     this.ucQueryInpatientNo1.TabIndex  = 25;
     this.ucQueryInpatientNo1.myEvent  += new Common.Controls.myEventDelegate(this.ucQueryInpatientNo1_myEvent);
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Controls.Add(this.dtOutBegin);
     this.groupBox3.Controls.Add(this.dtOutEnd);
     this.groupBox3.Controls.Add(this.cmbDept1);
     this.groupBox3.Enabled  = false;
     this.groupBox3.Location = new System.Drawing.Point(16, 88);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(184, 96);
     this.groupBox3.TabIndex = 28;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "按出院时间";
     //
     // dtOutBegin
     //
     this.dtOutBegin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.dtOutBegin.CustomFormat = "yyyy-MM-dd HH:mm";
     this.dtOutBegin.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtOutBegin.Location     = new System.Drawing.Point(8, 24);
     this.dtOutBegin.Name         = "dtOutBegin";
     this.dtOutBegin.Size         = new System.Drawing.Size(163, 21);
     this.dtOutBegin.TabIndex     = 7;
     //
     // dtOutEnd
     //
     this.dtOutEnd.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.dtOutEnd.CustomFormat = "yyyy-MM-dd HH:mm";
     this.dtOutEnd.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtOutEnd.Location     = new System.Drawing.Point(8, 56);
     this.dtOutEnd.Name         = "dtOutEnd";
     this.dtOutEnd.Size         = new System.Drawing.Size(163, 21);
     this.dtOutEnd.TabIndex     = 17;
     //
     // cmbDept1
     //
     this.cmbDept1.ArrowBackColor   = System.Drawing.Color.Silver;
     this.cmbDept1.IsFlat           = true;
     this.cmbDept1.IsLike           = true;
     this.cmbDept1.Location         = new System.Drawing.Point(8, 24);
     this.cmbDept1.Name             = "cmbDept1";
     this.cmbDept1.PopForm          = null;
     this.cmbDept1.ShowCustomerList = false;
     this.cmbDept1.ShowID           = false;
     this.cmbDept1.Size             = new System.Drawing.Size(127, 20);
     this.cmbDept1.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.cmbDept1.TabIndex         = 25;
     this.cmbDept1.Tag        = "";
     this.cmbDept1.ToolBarUse = false;
     this.cmbDept1.Visible    = false;
     //
     // chk1
     //
     this.chk1.Checked  = true;
     this.chk1.Location = new System.Drawing.Point(0, 32);
     this.chk1.Name     = "chk1";
     this.chk1.Size     = new System.Drawing.Size(20, 24);
     this.chk1.TabIndex = 26;
     this.chk1.TabStop  = true;
     //
     // chk2
     //
     this.chk2.Location        = new System.Drawing.Point(0, 96);
     this.chk2.Name            = "chk2";
     this.chk2.Size            = new System.Drawing.Size(20, 24);
     this.chk2.TabIndex        = 29;
     this.chk2.CheckedChanged += new System.EventHandler(this.chk2_CheckedChanged);
     //
     // btnQuery
     //
     this.btnQuery.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnQuery.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnQuery.Location  = new System.Drawing.Point(120, 272);
     this.btnQuery.Name      = "btnQuery";
     this.btnQuery.Size      = new System.Drawing.Size(75, 23);
     this.btnQuery.TabIndex  = 30;
     this.btnQuery.Text      = "查询";
     this.btnQuery.Click    += new System.EventHandler(this.btnQuery_Click);
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.White;
     this.tabPage2.Controls.Add(this.label2);
     this.tabPage2.Controls.Add(this.btnSave);
     this.tabPage2.Controls.Add(this.numericUpDown1);
     this.tabPage2.Controls.Add(this.label1);
     this.tabPage2.Location = new System.Drawing.Point(4, 21);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(208, 580);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "自动封存设置";
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.Coral;
     this.label2.Location  = new System.Drawing.Point(8, 96);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(176, 40);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "设置出院多少天后系统自动封存病历";
     //
     // btnSave
     //
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnSave.Location  = new System.Drawing.Point(112, 160);
     this.btnSave.Name      = "btnSave";
     this.btnSave.Size      = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex  = 2;
     this.btnSave.Text      = "保存";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(96, 48);
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(80, 21);
     this.numericUpDown1.TabIndex = 1;
     this.numericUpDown1.Value    = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 48);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "出院天数:";
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(216, 41);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 605);
     this.splitter1.TabIndex = 2;
     this.splitter1.TabStop  = false;
     //
     // fpSpread1
     //
     this.fpSpread1.About = "2.5.2007.2005";
     this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1, Row 0, Column 0, ";
     this.fpSpread1.BackColor             = System.Drawing.Color.White;
     this.fpSpread1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.fpSpread1.Location = new System.Drawing.Point(219, 41);
     this.fpSpread1.Name     = "fpSpread1";
     this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpSpread1_Sheet1
     });
     this.fpSpread1.Size              = new System.Drawing.Size(533, 605);
     this.fpSpread1.TabIndex          = 3;
     tipAppearance1.BackColor         = System.Drawing.SystemColors.Info;
     tipAppearance1.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     tipAppearance1.ForeColor         = System.Drawing.SystemColors.InfoText;
     this.fpSpread1.TextTipAppearance = tipAppearance1;
     this.fpSpread1.SelectionChanged += new FarPoint.Win.Spread.SelectionChangedEventHandler(this.fpSpread1_SelectionChanged);
     //
     // fpSpread1_Sheet1
     //
     this.fpSpread1_Sheet1.Reset();
     this.fpSpread1_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fpSpread1_Sheet1.ColumnCount    = 9;
     this.fpSpread1_Sheet1.RowCount       = 0;
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "住院流水号";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "住院号";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "姓名";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "性别";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "年龄";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "科室";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "入院日期";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "出院日期";
     this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "状态";
     this.fpSpread1_Sheet1.Columns.Get(0).Label                = "住院流水号";
     this.fpSpread1_Sheet1.Columns.Get(0).Width                = 82F;
     this.fpSpread1_Sheet1.Columns.Get(1).CellType             = textCellType1;
     this.fpSpread1_Sheet1.Columns.Get(1).Label                = "住院号";
     this.fpSpread1_Sheet1.Columns.Get(1).Width                = 78F;
     this.fpSpread1_Sheet1.Columns.Get(2).Label                = "姓名";
     this.fpSpread1_Sheet1.Columns.Get(2).Width                = 80F;
     this.fpSpread1_Sheet1.Columns.Get(5).Label                = "科室";
     this.fpSpread1_Sheet1.Columns.Get(5).Width                = 88F;
     this.fpSpread1_Sheet1.Columns.Get(6).Label                = "入院日期";
     this.fpSpread1_Sheet1.Columns.Get(6).Width                = 91F;
     this.fpSpread1_Sheet1.Columns.Get(7).Label                = "出院日期";
     this.fpSpread1_Sheet1.Columns.Get(7).Width                = 79F;
     this.fpSpread1_Sheet1.Columns.Get(8).Label                = "状态";
     this.fpSpread1_Sheet1.Columns.Get(8).Width                = 81F;
     this.fpSpread1_Sheet1.GrayAreaBackColor                   = System.Drawing.Color.White;
     this.fpSpread1_Sheet1.OperationMode                       = FarPoint.Win.Spread.OperationMode.ExtendedSelect;
     this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
     this.fpSpread1_Sheet1.SelectionPolicy                     = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange;
     this.fpSpread1_Sheet1.SelectionUnit                       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
     this.fpSpread1_Sheet1.ReferenceStyle                      = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     this.fpSpread1.SetActiveViewport(1, 0);
     //
     // frmSealEMR
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(752, 646);
     this.Controls.Add(this.fpSpread1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolBar1);
     this.Name        = "frmSealEMR";
     this.Text        = "病历封存解封窗口";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components   = new System.ComponentModel.Container();
     this.neuSplitter1 = new Neusoft.FrameWork.WinForms.Controls.NeuSplitter();
     this.neuLabel3    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.neuTextBox1  = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
     this.neuLabel4    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.neuTextBox2  = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
     this.neuLabel5    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.cbstate      = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
     this.neuComboBox1 = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
     this.neuLabel6    = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.plLeft.SuspendLayout();
     this.plRight.SuspendLayout();
     this.plQueryCondition.SuspendLayout();
     this.plMain.SuspendLayout();
     this.plTop.SuspendLayout();
     this.plBottom.SuspendLayout();
     this.plRightTop.SuspendLayout();
     this.plRightBottom.SuspendLayout();
     this.gbMid.SuspendLayout();
     this.SuspendLayout();
     //
     // plLeft
     //
     this.plLeft.Size = new System.Drawing.Size(0, 394);
     //
     // plRight
     //
     this.plRight.Location = new System.Drawing.Point(0, 5);
     this.plRight.Size     = new System.Drawing.Size(800, 394);
     //
     // plQueryCondition
     //
     this.plQueryCondition.Size = new System.Drawing.Size(0, 33);
     //
     // plMain
     //
     this.plMain.Size = new System.Drawing.Size(800, 464);
     //
     // plTop
     //
     this.plTop.Controls.Add(this.neuLabel6);
     this.plTop.Controls.Add(this.neuComboBox1);
     this.plTop.Controls.Add(this.cbstate);
     this.plTop.Controls.Add(this.neuLabel5);
     this.plTop.Controls.Add(this.neuTextBox2);
     this.plTop.Controls.Add(this.neuLabel3);
     this.plTop.Controls.Add(this.neuTextBox1);
     this.plTop.Controls.Add(this.neuLabel4);
     this.plTop.Size = new System.Drawing.Size(800, 65);
     this.plTop.Controls.SetChildIndex(this.neuLabel4, 0);
     this.plTop.Controls.SetChildIndex(this.neuTextBox1, 0);
     this.plTop.Controls.SetChildIndex(this.neuLabel3, 0);
     this.plTop.Controls.SetChildIndex(this.neuTextBox2, 0);
     this.plTop.Controls.SetChildIndex(this.dtpBeginTime, 0);
     this.plTop.Controls.SetChildIndex(this.neuLabel1, 0);
     this.plTop.Controls.SetChildIndex(this.neuLabel2, 0);
     this.plTop.Controls.SetChildIndex(this.dtpEndTime, 0);
     this.plTop.Controls.SetChildIndex(this.neuLabel5, 0);
     this.plTop.Controls.SetChildIndex(this.cbstate, 0);
     this.plTop.Controls.SetChildIndex(this.neuComboBox1, 0);
     this.plTop.Controls.SetChildIndex(this.neuLabel6, 0);
     //
     // plBottom
     //
     this.plBottom.Location = new System.Drawing.Point(0, 65);
     this.plBottom.Size     = new System.Drawing.Size(800, 399);
     //
     // slLeft
     //
     this.slLeft.Location = new System.Drawing.Point(0, 5);
     this.slLeft.Size     = new System.Drawing.Size(3, 394);
     //
     // plLeftControl
     //
     this.plLeftControl.Size = new System.Drawing.Size(0, 361);
     //
     // plRightTop
     //
     this.plRightTop.Controls.Add(this.neuSplitter1);
     this.plRightTop.Size = new System.Drawing.Size(800, 391);
     this.plRightTop.Controls.SetChildIndex(this.neuSplitter1, 0);
     this.plRightTop.Controls.SetChildIndex(this.dwMain, 0);
     //
     // slTop
     //
     this.slTop.Location = new System.Drawing.Point(0, 391);
     this.slTop.Size     = new System.Drawing.Size(800, 3);
     //
     // plRightBottom
     //
     this.plRightBottom.Location = new System.Drawing.Point(0, 394);
     this.plRightBottom.Size     = new System.Drawing.Size(800, 0);
     //
     // gbMid
     //
     this.gbMid.Size = new System.Drawing.Size(792, 38);
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(1509, 9);
     //
     // dwMain
     //
     this.dwMain.DataWindowObject = "d_fin_ipr_inpatient_query";
     this.dwMain.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.dwMain.LibraryList      = "Report\\finipb.pbd;Report\\finipb.pbl";
     this.dwMain.Location         = new System.Drawing.Point(3, 0);
     this.dwMain.Name             = "dwMain";
     this.dwMain.ScrollBars       = Sybase.DataWindow.DataWindowScrollBars.Both;
     this.dwMain.Size             = new System.Drawing.Size(797, 391);
     this.dwMain.TabIndex         = 0;
     this.dwMain.Text             = "neuDataWindow1";
     //
     // neuSplitter1
     //
     this.neuSplitter1.Location = new System.Drawing.Point(0, 0);
     this.neuSplitter1.Name     = "neuSplitter1";
     this.neuSplitter1.Size     = new System.Drawing.Size(3, 391);
     this.neuSplitter1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuSplitter1.TabIndex = 1;
     this.neuSplitter1.TabStop  = false;
     //
     // neuLabel3
     //
     this.neuLabel3.AutoSize  = true;
     this.neuLabel3.ForeColor = System.Drawing.Color.OliveDrab;
     this.neuLabel3.Location  = new System.Drawing.Point(383, 41);
     this.neuLabel3.Name      = "neuLabel3";
     this.neuLabel3.Size      = new System.Drawing.Size(29, 12);
     this.neuLabel3.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel3.TabIndex  = 4;
     this.neuLabel3.Text      = "姓名";
     //
     // neuTextBox1
     //
     this.neuTextBox1.Location     = new System.Drawing.Point(418, 38);
     this.neuTextBox1.Name         = "neuTextBox1";
     this.neuTextBox1.Size         = new System.Drawing.Size(100, 21);
     this.neuTextBox1.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuTextBox1.TabIndex     = 5;
     this.neuTextBox1.TextChanged += new System.EventHandler(this.neuTextBox1_TextChanged);
     //
     // neuLabel4
     //
     this.neuLabel4.AutoSize  = true;
     this.neuLabel4.ForeColor = System.Drawing.Color.OliveDrab;
     this.neuLabel4.Location  = new System.Drawing.Point(524, 41);
     this.neuLabel4.Name      = "neuLabel4";
     this.neuLabel4.Size      = new System.Drawing.Size(53, 12);
     this.neuLabel4.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel4.TabIndex  = 6;
     this.neuLabel4.Text      = "住院科室";
     //
     // neuTextBox2
     //
     this.neuTextBox2.Location     = new System.Drawing.Point(584, 36);
     this.neuTextBox2.Name         = "neuTextBox2";
     this.neuTextBox2.Size         = new System.Drawing.Size(100, 21);
     this.neuTextBox2.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuTextBox2.TabIndex     = 7;
     this.neuTextBox2.TextChanged += new System.EventHandler(this.neuTextBox1_TextChanged);
     //
     // neuLabel5
     //
     this.neuLabel5.AutoSize  = true;
     this.neuLabel5.ForeColor = System.Drawing.Color.OliveDrab;
     this.neuLabel5.Location  = new System.Drawing.Point(9, 45);
     this.neuLabel5.Name      = "neuLabel5";
     this.neuLabel5.Size      = new System.Drawing.Size(29, 12);
     this.neuLabel5.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel5.TabIndex  = 8;
     this.neuLabel5.Text      = "状态";
     //
     // cbstate
     //
     this.cbstate.ArrowBackColor   = System.Drawing.Color.Silver;
     this.cbstate.IsFlat           = true;
     this.cbstate.IsLike           = true;
     this.cbstate.Location         = new System.Drawing.Point(44, 39);
     this.cbstate.Name             = "cbstate";
     this.cbstate.PopForm          = null;
     this.cbstate.ShowCustomerList = false;
     this.cbstate.ShowID           = false;
     this.cbstate.Size             = new System.Drawing.Size(121, 20);
     this.cbstate.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.cbstate.TabIndex         = 9;
     this.cbstate.Tag        = "";
     this.cbstate.ToolBarUse = false;
     //
     // neuComboBox1
     //
     this.neuComboBox1.ArrowBackColor   = System.Drawing.Color.Silver;
     this.neuComboBox1.IsFlat           = true;
     this.neuComboBox1.IsLike           = true;
     this.neuComboBox1.Location         = new System.Drawing.Point(246, 40);
     this.neuComboBox1.Name             = "neuComboBox1";
     this.neuComboBox1.PopForm          = null;
     this.neuComboBox1.ShowCustomerList = false;
     this.neuComboBox1.ShowID           = false;
     this.neuComboBox1.Size             = new System.Drawing.Size(121, 20);
     this.neuComboBox1.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuComboBox1.TabIndex         = 9;
     this.neuComboBox1.Tag                   = "";
     this.neuComboBox1.ToolBarUse            = false;
     this.neuComboBox1.SelectedIndexChanged += new System.EventHandler(this.neuComboBox1_SelectedIndexChanged);
     //
     // neuLabel6
     //
     this.neuLabel6.AutoSize  = true;
     this.neuLabel6.ForeColor = System.Drawing.Color.OliveDrab;
     this.neuLabel6.Location  = new System.Drawing.Point(187, 45);
     this.neuLabel6.Name      = "neuLabel6";
     this.neuLabel6.Size      = new System.Drawing.Size(53, 12);
     this.neuLabel6.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.neuLabel6.TabIndex  = 10;
     this.neuLabel6.Text      = "合同单位";
     //
     // ucFinIprInpatientQuery
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.IsLeftVisible       = false;
     this.MainDWDataObject    = "d_fin_ipr_inpatient_query";
     this.MainDWLabrary       = "Report\\finipb.pbd;Report\\finipb.pbl";
     this.Name = "ucFinIprInpatientQuery";
     this.Size = new System.Drawing.Size(800, 464);
     this.plLeft.ResumeLayout(false);
     this.plRight.ResumeLayout(false);
     this.plQueryCondition.ResumeLayout(false);
     this.plMain.ResumeLayout(false);
     this.plTop.ResumeLayout(false);
     this.plTop.PerformLayout();
     this.plBottom.ResumeLayout(false);
     this.plRightTop.ResumeLayout(false);
     this.plRightBottom.ResumeLayout(false);
     this.gbMid.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.label1     = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.comperson  = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.comDept    = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.label2     = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label3     = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txCardNo   = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.ckValue    = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.button1    = new System.Windows.Forms.Button();
            this.button2    = new System.Windows.Forms.Button();
            this.ckContinue = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.groupBox1  = new System.Windows.Forms.GroupBox();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(16, 40);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(53, 12);
            this.label1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label1.TabIndex  = 0;
            this.label1.Text      = "姓    名";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // comperson
            //
            this.comperson.ArrowBackColor     = System.Drawing.Color.Silver;
            this.comperson.IsEnter2Tab        = false;
            this.comperson.IsFlat             = false;
            this.comperson.IsLike             = true;
            this.comperson.IsListOnly         = false;
            this.comperson.IsPopForm          = true;
            this.comperson.IsShowCustomerList = false;
            this.comperson.IsShowID           = false;
            this.comperson.Location           = new System.Drawing.Point(112, 32);
            this.comperson.Name             = "comperson";
            this.comperson.PopForm          = null;
            this.comperson.ShowCustomerList = false;
            this.comperson.ShowID           = false;
            this.comperson.Size             = new System.Drawing.Size(112, 20);
            this.comperson.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Flat;
            this.comperson.TabIndex         = 1;
            this.comperson.Tag                   = "";
            this.comperson.ToolBarUse            = false;
            this.comperson.SelectedIndexChanged += new System.EventHandler(this.comperson_SelectedIndexChanged);
            this.comperson.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.comperson_KeyDown);
            //
            // comDept
            //
            this.comDept.ArrowBackColor     = System.Drawing.Color.Silver;
            this.comDept.IsEnter2Tab        = false;
            this.comDept.IsFlat             = false;
            this.comDept.IsLike             = true;
            this.comDept.IsListOnly         = false;
            this.comDept.IsPopForm          = true;
            this.comDept.IsShowCustomerList = false;
            this.comDept.IsShowID           = false;
            this.comDept.Location           = new System.Drawing.Point(112, 72);
            this.comDept.Name             = "comDept";
            this.comDept.PopForm          = null;
            this.comDept.ShowCustomerList = false;
            this.comDept.ShowID           = false;
            this.comDept.Size             = new System.Drawing.Size(112, 20);
            this.comDept.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Flat;
            this.comDept.TabIndex         = 3;
            this.comDept.Tag        = "";
            this.comDept.ToolBarUse = false;
            this.comDept.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.comDept_KeyDown);
            //
            // label2
            //
            this.label2.AutoSize  = true;
            this.label2.Location  = new System.Drawing.Point(16, 80);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(53, 12);
            this.label2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label2.TabIndex  = 2;
            this.label2.Text      = "科    室";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label3
            //
            this.label3.AutoSize  = true;
            this.label3.Location  = new System.Drawing.Point(16, 114);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(53, 12);
            this.label3.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label3.TabIndex  = 4;
            this.label3.Text      = "借阅编号";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // txCardNo
            //
            this.txCardNo.BackColor   = System.Drawing.Color.White;
            this.txCardNo.IsEnter2Tab = false;
            this.txCardNo.Location    = new System.Drawing.Point(112, 110);
            this.txCardNo.Name        = "txCardNo";
            this.txCardNo.ReadOnly    = true;
            this.txCardNo.Size        = new System.Drawing.Size(112, 21);
            this.txCardNo.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txCardNo.TabIndex    = 5;
            this.txCardNo.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.txCardNo_KeyDown);
            //
            // ckValue
            //
            this.ckValue.Location = new System.Drawing.Point(112, 136);
            this.ckValue.Name     = "ckValue";
            this.ckValue.Size     = new System.Drawing.Size(56, 24);
            this.ckValue.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.ckValue.TabIndex = 6;
            this.ckValue.Text     = "有效";
            this.ckValue.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ckValue_KeyDown);
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(104, 192);
            this.button1.Name     = "button1";
            this.button1.Size     = new System.Drawing.Size(64, 23);
            this.button1.TabIndex = 7;
            this.button1.Text     = "保存(&S)";
            this.button1.Click   += new System.EventHandler(this.button1_Click);
            //
            // button2
            //
            this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button2.Location     = new System.Drawing.Point(192, 192);
            this.button2.Name         = "button2";
            this.button2.Size         = new System.Drawing.Size(64, 23);
            this.button2.TabIndex     = 8;
            this.button2.Text         = "退出(&X)";
            this.button2.Click       += new System.EventHandler(this.button2_Click);
            //
            // ckContinue
            //
            this.ckContinue.Location = new System.Drawing.Point(16, 192);
            this.ckContinue.Name     = "ckContinue";
            this.ckContinue.Size     = new System.Drawing.Size(80, 24);
            this.ckContinue.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.ckContinue.TabIndex = 9;
            this.ckContinue.Text     = "连续录入";
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txCardNo);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.ckValue);
            this.groupBox1.Controls.Add(this.comperson);
            this.groupBox1.Controls.Add(this.comDept);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(16, 16);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(248, 168);
            this.groupBox1.TabIndex = 10;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "基本信息";
            //
            // frmCaseCard
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.CancelButton      = this.button2;
            this.ClientSize        = new System.Drawing.Size(272, 218);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.ckContinue);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.MaximizeBox   = false;
            this.MaximumSize   = new System.Drawing.Size(288, 256);
            this.MinimumSize   = new System.Drawing.Size(288, 256);
            this.Name          = "frmCaseCard";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "病案借阅证管理";
            this.Load         += new System.EventHandler(this.frmCaseCard_Load);
            this.Closing      += new System.ComponentModel.CancelEventHandler(this.frmCaseCard_Closing);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
        }
Esempio n. 7
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components    = new System.ComponentModel.Container();
            this.label1        = new System.Windows.Forms.Label();
            this.comSearchText = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
            this.cbExact       = new System.Windows.Forms.CheckBox();
            this.tbNext        = new System.Windows.Forms.Button();
            this.tbCancel      = new System.Windows.Forms.Button();
            this.cbUper        = new System.Windows.Forms.CheckBox();
            this.groupBox1     = new System.Windows.Forms.GroupBox();
            this.rbTag         = new System.Windows.Forms.RadioButton();
            this.rbText        = new System.Windows.Forms.RadioButton();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(16, 16);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(72, 17);
            this.label1.TabIndex  = 0;
            this.label1.Text      = "查找内容(N)";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // comSearchText
            //
            //this.comSearchText.ArrowBackColor = System.Drawing.Color.Silver;
            this.comSearchText.IsFlat           = false;
            this.comSearchText.IsLike           = true;
            this.comSearchText.Location         = new System.Drawing.Point(112, 16);
            this.comSearchText.Name             = "comSearchText";
            this.comSearchText.PopForm          = null;
            this.comSearchText.ShowCustomerList = false;
            this.comSearchText.ShowID           = false;
            this.comSearchText.Size             = new System.Drawing.Size(136, 20);
            this.comSearchText.TabIndex         = 1;
            this.comSearchText.Tag      = "";
            this.comSearchText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comSearchText_KeyDown);
            //
            // cbExact
            //
            this.cbExact.Location        = new System.Drawing.Point(16, 48);
            this.cbExact.Name            = "cbExact";
            this.cbExact.Size            = new System.Drawing.Size(96, 24);
            this.cbExact.TabIndex        = 3;
            this.cbExact.Text            = "精确查找";
            this.cbExact.CheckedChanged += new System.EventHandler(this.cbExact_CheckedChanged);
            //
            // tbNext
            //
            this.tbNext.Location = new System.Drawing.Point(264, 16);
            this.tbNext.Name     = "tbNext";
            this.tbNext.Size     = new System.Drawing.Size(96, 23);
            this.tbNext.TabIndex = 2;
            this.tbNext.Text     = "查找下一个(&F)";
            this.tbNext.Click   += new System.EventHandler(this.tbNext_Click);
            //
            // tbCancel
            //
            this.tbCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.tbCancel.Location     = new System.Drawing.Point(264, 48);
            this.tbCancel.Name         = "tbCancel";
            this.tbCancel.Size         = new System.Drawing.Size(96, 23);
            this.tbCancel.TabIndex     = 6;
            this.tbCancel.Text         = "取消";
            this.tbCancel.Click       += new System.EventHandler(this.tbCancel_Click);
            //
            // cbUper
            //
            this.cbUper.Location        = new System.Drawing.Point(16, 80);
            this.cbUper.Name            = "cbUper";
            this.cbUper.TabIndex        = 4;
            this.cbUper.Text            = "区分大小写";
            this.cbUper.CheckedChanged += new System.EventHandler(this.cbUper_CheckedChanged);
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.rbTag);
            this.groupBox1.Controls.Add(this.rbText);
            this.groupBox1.Location = new System.Drawing.Point(112, 48);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(136, 56);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "类型";
            //
            // rbTag
            //
            this.rbTag.Location        = new System.Drawing.Point(72, 24);
            this.rbTag.Name            = "rbTag";
            this.rbTag.Size            = new System.Drawing.Size(48, 24);
            this.rbTag.TabIndex        = 1;
            this.rbTag.Text            = "键值";
            this.rbTag.CheckedChanged += new System.EventHandler(this.rbTag_CheckedChanged);
            //
            // rbText
            //
            this.rbText.Checked         = true;
            this.rbText.Location        = new System.Drawing.Point(16, 24);
            this.rbText.Name            = "rbText";
            this.rbText.Size            = new System.Drawing.Size(48, 24);
            this.rbText.TabIndex        = 0;
            this.rbText.TabStop         = true;
            this.rbText.Text            = "文本";
            this.rbText.CheckedChanged += new System.EventHandler(this.rbText_CheckedChanged);
            //
            // frmTreeNodeSearch
            //
            this.AcceptButton      = this.tbNext;
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.CancelButton      = this.tbCancel;
            this.ClientSize        = new System.Drawing.Size(376, 117);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.cbUper);
            this.Controls.Add(this.tbCancel);
            this.Controls.Add(this.tbNext);
            this.Controls.Add(this.cbExact);
            this.Controls.Add(this.comSearchText);
            this.Controls.Add(this.label1);
            this.MaximizeBox   = false;
            this.MaximumSize   = new System.Drawing.Size(384, 144);
            this.Name          = "frmTreeNodeSearch";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "查找";
            this.TopMost       = true;
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Esempio n. 8
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            FarPoint.Win.Spread.TipAppearance tipAppearance3 = new FarPoint.Win.Spread.TipAppearance();
            FarPoint.Win.Spread.TipAppearance tipAppearance4 = new FarPoint.Win.Spread.TipAppearance();
            this.groupBox1    = new System.Windows.Forms.GroupBox();
            this.dtInDate     = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.dtOutDate    = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.label8       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label7       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label6       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txDeptOut    = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label5       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txDeptIn     = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label4       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txSex        = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label3       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txName       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label2       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.caseNo       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label1       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.dtBirthDate  = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.groupBox2    = new System.Windows.Forms.GroupBox();
            this.label13      = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label12      = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.comType      = new System.Windows.Forms.ComboBox();
            this.comPerson    = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.label10      = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label9       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.CardNO       = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.txReturnTime = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
            this.fpSpread1    = new FarPoint.Win.Spread.FpSpread();
            this.caseDetail   = new FarPoint.Win.Spread.SheetView();
            this.tabControl1  = new System.Windows.Forms.TabControl();
            this.tabPage1     = new System.Windows.Forms.TabPage();
            this.fpSpread2    = new FarPoint.Win.Spread.FpSpread();
            this.caseMain     = new FarPoint.Win.Spread.SheetView();
            this.tabPage2     = new System.Windows.Forms.TabPage();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.caseDetail)).BeginInit();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.caseMain)).BeginInit();
            this.tabPage2.SuspendLayout();
            this.SuspendLayout();
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.dtInDate);
            this.groupBox1.Controls.Add(this.dtOutDate);
            this.groupBox1.Controls.Add(this.label8);
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.txDeptOut);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.txDeptIn);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.txSex);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txName);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.caseNo);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.dtBirthDate);
            this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.groupBox1.Location = new System.Drawing.Point(0, 53);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(874, 53);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "病案信息";
            //
            // dtInDate
            //
            this.dtInDate.Enabled     = false;
            this.dtInDate.IsEnter2Tab = false;
            this.dtInDate.Location    = new System.Drawing.Point(440, 52);
            this.dtInDate.Name        = "dtInDate";
            this.dtInDate.Size        = new System.Drawing.Size(104, 21);
            this.dtInDate.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtInDate.TabIndex    = 16;
            //
            // dtOutDate
            //
            this.dtOutDate.Enabled     = false;
            this.dtOutDate.IsEnter2Tab = false;
            this.dtOutDate.Location    = new System.Drawing.Point(88, 84);
            this.dtOutDate.Name        = "dtOutDate";
            this.dtOutDate.Size        = new System.Drawing.Size(104, 21);
            this.dtOutDate.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtOutDate.TabIndex    = 15;
            //
            // label8
            //
            this.label8.AutoSize  = true;
            this.label8.Location  = new System.Drawing.Point(200, 88);
            this.label8.Name      = "label8";
            this.label8.Size      = new System.Drawing.Size(53, 12);
            this.label8.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label8.TabIndex  = 14;
            this.label8.Text      = "出生日期";
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label7
            //
            this.label7.AutoSize  = true;
            this.label7.Location  = new System.Drawing.Point(24, 88);
            this.label7.Name      = "label7";
            this.label7.Size      = new System.Drawing.Size(53, 12);
            this.label7.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label7.TabIndex  = 12;
            this.label7.Text      = "出院日期";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label6
            //
            this.label6.AutoSize  = true;
            this.label6.Location  = new System.Drawing.Point(376, 56);
            this.label6.Name      = "label6";
            this.label6.Size      = new System.Drawing.Size(53, 12);
            this.label6.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label6.TabIndex  = 10;
            this.label6.Text      = "入院日期";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // txDeptOut
            //
            this.txDeptOut.BackColor   = System.Drawing.Color.Azure;
            this.txDeptOut.IsEnter2Tab = false;
            this.txDeptOut.Location    = new System.Drawing.Point(264, 52);
            this.txDeptOut.Name        = "txDeptOut";
            this.txDeptOut.ReadOnly    = true;
            this.txDeptOut.Size        = new System.Drawing.Size(100, 21);
            this.txDeptOut.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txDeptOut.TabIndex    = 9;
            //
            // label5
            //
            this.label5.AutoSize  = true;
            this.label5.Location  = new System.Drawing.Point(200, 56);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(53, 12);
            this.label5.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label5.TabIndex  = 8;
            this.label5.Text      = "出院科室";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // txDeptIn
            //
            this.txDeptIn.BackColor   = System.Drawing.Color.Azure;
            this.txDeptIn.IsEnter2Tab = false;
            this.txDeptIn.Location    = new System.Drawing.Point(88, 52);
            this.txDeptIn.Name        = "txDeptIn";
            this.txDeptIn.ReadOnly    = true;
            this.txDeptIn.Size        = new System.Drawing.Size(100, 21);
            this.txDeptIn.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txDeptIn.TabIndex    = 7;
            //
            // label4
            //
            this.label4.AutoSize  = true;
            this.label4.Location  = new System.Drawing.Point(24, 56);
            this.label4.Name      = "label4";
            this.label4.Size      = new System.Drawing.Size(53, 12);
            this.label4.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label4.TabIndex  = 6;
            this.label4.Text      = "入院科室";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // txSex
            //
            this.txSex.BackColor   = System.Drawing.Color.Azure;
            this.txSex.IsEnter2Tab = false;
            this.txSex.Location    = new System.Drawing.Point(440, 24);
            this.txSex.Name        = "txSex";
            this.txSex.ReadOnly    = true;
            this.txSex.Size        = new System.Drawing.Size(100, 21);
            this.txSex.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txSex.TabIndex    = 5;
            //
            // label3
            //
            this.label3.AutoSize  = true;
            this.label3.Location  = new System.Drawing.Point(376, 24);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(53, 12);
            this.label3.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label3.TabIndex  = 4;
            this.label3.Text      = "性    别";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // txName
            //
            this.txName.BackColor   = System.Drawing.Color.Azure;
            this.txName.IsEnter2Tab = false;
            this.txName.Location    = new System.Drawing.Point(264, 24);
            this.txName.Name        = "txName";
            this.txName.ReadOnly    = true;
            this.txName.Size        = new System.Drawing.Size(100, 21);
            this.txName.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txName.TabIndex    = 3;
            //
            // label2
            //
            this.label2.AutoSize  = true;
            this.label2.Location  = new System.Drawing.Point(200, 24);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(53, 12);
            this.label2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label2.TabIndex  = 2;
            this.label2.Text      = "姓    名";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // caseNo
            //
            this.caseNo.IsEnter2Tab = false;
            this.caseNo.Location    = new System.Drawing.Point(88, 24);
            this.caseNo.Name        = "caseNo";
            this.caseNo.Size        = new System.Drawing.Size(100, 21);
            this.caseNo.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.caseNo.TabIndex    = 1;
            this.caseNo.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.caseNo_KeyDown);
            this.caseNo.Enter      += new System.EventHandler(this.caseNo_Enter);
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(24, 24);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(53, 12);
            this.label1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label1.TabIndex  = 0;
            this.label1.Text      = "病 案 号";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // dtBirthDate
            //
            this.dtBirthDate.Enabled     = false;
            this.dtBirthDate.IsEnter2Tab = false;
            this.dtBirthDate.Location    = new System.Drawing.Point(264, 84);
            this.dtBirthDate.Name        = "dtBirthDate";
            this.dtBirthDate.Size        = new System.Drawing.Size(104, 21);
            this.dtBirthDate.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.dtBirthDate.TabIndex    = 0;
            //
            // groupBox2
            //
            this.groupBox2.Controls.Add(this.label13);
            this.groupBox2.Controls.Add(this.label12);
            this.groupBox2.Controls.Add(this.comType);
            this.groupBox2.Controls.Add(this.comPerson);
            this.groupBox2.Controls.Add(this.label10);
            this.groupBox2.Controls.Add(this.label9);
            this.groupBox2.Controls.Add(this.CardNO);
            this.groupBox2.Controls.Add(this.txReturnTime);
            this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.groupBox2.Location = new System.Drawing.Point(0, 0);
            this.groupBox2.Name     = "groupBox2";
            this.groupBox2.Size     = new System.Drawing.Size(874, 53);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop  = false;
            this.groupBox2.Text     = "个人信息";
            //
            // label13
            //
            this.label13.AutoSize  = true;
            this.label13.Location  = new System.Drawing.Point(570, 21);
            this.label13.Name      = "label13";
            this.label13.Size      = new System.Drawing.Size(77, 12);
            this.label13.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label13.TabIndex  = 27;
            this.label13.Text      = "预计返还时间";
            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label12
            //
            this.label12.AutoSize  = true;
            this.label12.Location  = new System.Drawing.Point(384, 21);
            this.label12.Name      = "label12";
            this.label12.Size      = new System.Drawing.Size(53, 12);
            this.label12.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label12.TabIndex  = 25;
            this.label12.Text      = "借阅方式";
            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // comType
            //
            this.comType.Items.AddRange(new object[] {
                "内借",
                "外借"
            });
            this.comType.Location = new System.Drawing.Point(448, 17);
            this.comType.Name     = "comType";
            this.comType.Size     = new System.Drawing.Size(104, 20);
            this.comType.TabIndex = 22;
            this.comType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comType_KeyDown);
            //
            // comPerson
            //
            this.comPerson.ArrowBackColor     = System.Drawing.Color.Silver;
            this.comPerson.Enabled            = false;
            this.comPerson.IsEnter2Tab        = false;
            this.comPerson.IsFlat             = false;
            this.comPerson.IsLike             = true;
            this.comPerson.IsListOnly         = false;
            this.comPerson.IsPopForm          = true;
            this.comPerson.IsShowCustomerList = false;
            this.comPerson.IsShowID           = false;
            this.comPerson.Location           = new System.Drawing.Point(264, 17);
            this.comPerson.Name             = "comPerson";
            this.comPerson.PopForm          = null;
            this.comPerson.ShowCustomerList = false;
            this.comPerson.ShowID           = false;
            this.comPerson.Size             = new System.Drawing.Size(104, 20);
            this.comPerson.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Flat;
            this.comPerson.TabIndex         = 21;
            this.comPerson.Tag        = "";
            this.comPerson.ToolBarUse = false;
            //
            // label10
            //
            this.label10.AutoSize  = true;
            this.label10.Location  = new System.Drawing.Point(200, 21);
            this.label10.Name      = "label10";
            this.label10.Size      = new System.Drawing.Size(53, 12);
            this.label10.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label10.TabIndex  = 19;
            this.label10.Text      = "姓    名";
            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label9
            //
            this.label9.AutoSize  = true;
            this.label9.Location  = new System.Drawing.Point(24, 21);
            this.label9.Name      = "label9";
            this.label9.Size      = new System.Drawing.Size(53, 12);
            this.label9.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label9.TabIndex  = 17;
            this.label9.Text      = "工    号";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // CardNO
            //
            this.CardNO.IsEnter2Tab = false;
            this.CardNO.Location    = new System.Drawing.Point(88, 17);
            this.CardNO.Name        = "CardNO";
            this.CardNO.Size        = new System.Drawing.Size(100, 21);
            this.CardNO.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.CardNO.TabIndex    = 18;
            this.CardNO.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.CardNO_KeyDown);
            this.CardNO.Enter      += new System.EventHandler(this.CardNO_Enter);
            //
            // txReturnTime
            //
            this.txReturnTime.IsEnter2Tab = false;
            this.txReturnTime.Location    = new System.Drawing.Point(650, 17);
            this.txReturnTime.Name        = "txReturnTime";
            this.txReturnTime.Size        = new System.Drawing.Size(122, 21);
            this.txReturnTime.Style       = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.txReturnTime.TabIndex    = 17;
            this.txReturnTime.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.txReturnTime_KeyDown);
            //
            // fpSpread1
            //
            this.fpSpread1.About = "3.0.2004.2005";
            this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1";
            this.fpSpread1.BackColor             = System.Drawing.Color.Transparent;
            this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread1.Location = new System.Drawing.Point(3, 3);
            this.fpSpread1.Name     = "fpSpread1";
            this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.caseDetail
            });
            this.fpSpread1.Size                    = new System.Drawing.Size(860, 494);
            this.fpSpread1.TabIndex                = 2;
            tipAppearance3.BackColor               = System.Drawing.SystemColors.Info;
            tipAppearance3.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance3.ForeColor               = System.Drawing.SystemColors.InfoText;
            this.fpSpread1.TextTipAppearance       = tipAppearance3;
            this.fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // caseDetail
            //
            this.caseDetail.Reset();
            this.caseDetail.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.caseDetail.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.caseDetail.ColumnCount    = 8;
            this.caseDetail.RowCount       = 0;
            this.caseDetail.ColumnHeader.Cells.Get(0, 0).Value = "住院流水号";
            this.caseDetail.ColumnHeader.Cells.Get(0, 1).Value = "住院号";
            this.caseDetail.ColumnHeader.Cells.Get(0, 2).Value = "病案号";
            this.caseDetail.ColumnHeader.Cells.Get(0, 3).Value = "姓名";
            this.caseDetail.ColumnHeader.Cells.Get(0, 4).Value = "入院科室";
            this.caseDetail.ColumnHeader.Cells.Get(0, 5).Value = "入院日期";
            this.caseDetail.ColumnHeader.Cells.Get(0, 6).Value = "出院科室";
            this.caseDetail.ColumnHeader.Cells.Get(0, 7).Value = "出院日期";
            this.caseDetail.Columns.Get(0).Label = "住院流水号";
            this.caseDetail.Columns.Get(0).Width = 77F;
            this.caseDetail.Columns.Get(4).Label = "入院科室";
            this.caseDetail.Columns.Get(4).Width = 68F;
            this.caseDetail.OperationMode        = FarPoint.Win.Spread.OperationMode.ReadOnly;
            this.caseDetail.RowHeader.Columns.Default.Resizable = false;
            this.caseDetail.RowHeader.Columns.Get(0).Width      = 37F;
            this.caseDetail.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpSpread1.SetActiveViewport(0, 1, 0);
            //
            // tabControl1
            //
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location      = new System.Drawing.Point(0, 106);
            this.tabControl1.Name          = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size          = new System.Drawing.Size(874, 526);
            this.tabControl1.TabIndex      = 3;
            //
            // tabPage1
            //
            this.tabPage1.Controls.Add(this.fpSpread2);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name     = "tabPage1";
            this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size     = new System.Drawing.Size(866, 500);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text     = "病案基本信息";
            this.tabPage1.UseVisualStyleBackColor = true;
            //
            // fpSpread2
            //
            this.fpSpread2.About = "3.0.2004.2005";
            this.fpSpread2.AccessibleDescription = "fpSpread2, Sheet1, Row 0, Column 0, ";
            this.fpSpread2.BackColor             = System.Drawing.Color.Transparent;
            this.fpSpread2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.fpSpread2.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread2.Location = new System.Drawing.Point(3, 3);
            this.fpSpread2.Name     = "fpSpread2";
            this.fpSpread2.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.caseMain
            });
            this.fpSpread2.Size                    = new System.Drawing.Size(860, 494);
            this.fpSpread2.TabIndex                = 3;
            tipAppearance4.BackColor               = System.Drawing.SystemColors.Info;
            tipAppearance4.Font                    = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            tipAppearance4.ForeColor               = System.Drawing.SystemColors.InfoText;
            this.fpSpread2.TextTipAppearance       = tipAppearance4;
            this.fpSpread2.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpSpread2.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread2_CellDoubleClick);
            this.fpSpread2.CellClick              += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread2_CellClick);
            //
            // caseMain
            //
            this.caseMain.Reset();
            this.caseMain.SheetName = "Sheet1";
            // Formulas and custom names must be loaded with R1C1 reference style
            this.caseMain.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
            this.caseMain.ColumnCount    = 8;
            this.caseMain.RowCount       = 0;
            this.caseMain.ColumnHeader.Cells.Get(0, 0).Value = "病案号";
            this.caseMain.ColumnHeader.Cells.Get(0, 1).Value = "姓名";
            this.caseMain.ColumnHeader.Cells.Get(0, 2).Value = "性别";
            this.caseMain.ColumnHeader.Cells.Get(0, 3).Value = "民族";
            this.caseMain.ColumnHeader.Cells.Get(0, 4).Value = "出生日期";
            this.caseMain.ColumnHeader.Cells.Get(0, 5).Value = "出生地";
            this.caseMain.ColumnHeader.Cells.Get(0, 6).Value = "联系电话";
            this.caseMain.ColumnHeader.Cells.Get(0, 7).Value = "联系地址";
            this.caseMain.Columns.Get(0).Label = "病案号";
            this.caseMain.Columns.Get(0).Width = 87F;
            this.caseMain.Columns.Get(6).Label = "联系电话";
            this.caseMain.Columns.Get(6).Width = 79F;
            this.caseMain.Columns.Get(7).Label = "联系地址";
            this.caseMain.Columns.Get(7).Width = 117F;
            this.caseMain.OperationMode        = FarPoint.Win.Spread.OperationMode.ReadOnly;
            this.caseMain.RowHeader.Columns.Default.Resizable = false;
            this.caseMain.RowHeader.Columns.Get(0).Width      = 37F;
            this.caseMain.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
            this.fpSpread2.SetActiveViewport(0, 1, 0);
            //
            // tabPage2
            //
            this.tabPage2.Controls.Add(this.fpSpread1);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name     = "tabPage2";
            this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size     = new System.Drawing.Size(866, 500);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text     = "病案详细信息";
            this.tabPage2.UseVisualStyleBackColor = true;
            //
            // ucBorrowCase
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.BackColor           = System.Drawing.Color.Azure;
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox2);
            this.Name  = "ucBorrowCase";
            this.Size  = new System.Drawing.Size(874, 632);
            this.Load += new System.EventHandler(this.frmLendCard_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.caseDetail)).EndInit();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.fpSpread2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.caseMain)).EndInit();
            this.tabPage2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Esempio n. 9
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmProperty));
     this.propertyGrid1  = new System.Windows.Forms.PropertyGrid();
     this.chkUseDefault  = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
     this.btnRestore     = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider();
     this.cboControlList = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.button1        = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.notifyIcon1    = new System.Windows.Forms.NotifyIcon(this.components);
     this.contextMenu1   = new System.Windows.Forms.ContextMenu();
     this.menuItem1      = new System.Windows.Forms.MenuItem();
     this.menuItem2      = new System.Windows.Forms.MenuItem();
     this.menuItem4      = new System.Windows.Forms.MenuItem();
     this.menuItem3      = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsVisibleIfAvailable = true;
     this.propertyGrid1.LargeButtons          = false;
     this.propertyGrid1.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location              = new System.Drawing.Point(8, 64);
     this.propertyGrid1.Name                  = "propertyGrid1";
     this.propertyGrid1.Size                  = new System.Drawing.Size(312, 360);
     this.propertyGrid1.TabIndex              = 0;
     this.propertyGrid1.Text                  = "propertyGrid1";
     this.propertyGrid1.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.propertyGrid1.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_PropertyValueChanged);
     //
     // chkUseDefault
     //
     this.chkUseDefault.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.chkUseDefault.Location        = new System.Drawing.Point(16, 8);
     this.chkUseDefault.Name            = "chkUseDefault";
     this.chkUseDefault.Style           = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.chkUseDefault.TabIndex        = 1;
     this.chkUseDefault.Text            = "使用默认窗体";
     this.chkUseDefault.CheckedChanged += new System.EventHandler(this.chkUseDefault_CheckedChanged);
     //
     // btnRestore
     //
     this.btnRestore.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnRestore.Location     = new System.Drawing.Point(248, 8);
     this.btnRestore.Name         = "btnRestore";
     this.btnRestore.Size         = new System.Drawing.Size(72, 24);
     this.btnRestore.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.btnRestore.TabIndex     = 2;
     this.btnRestore.Text         = "恢复配置";
     this.btnRestore.Type         = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.btnRestore.Click       += new System.EventHandler(this.btnRestore_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // cboControlList
     //
     this.cboControlList.DropDownStyle      = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboControlList.IsLike             = true;
     this.cboControlList.Location           = new System.Drawing.Point(8, 40);
     this.cboControlList.Name               = "cboControlList";
     this.cboControlList.PopForm            = null;
     this.cboControlList.IsShowCustomerList = false;
     this.cboControlList.ShowID             = false;
     this.cboControlList.Size               = new System.Drawing.Size(312, 20);
     this.cboControlList.Style              = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.cboControlList.TabIndex           = 3;
     this.cboControlList.Tag = "";
     this.cboControlList.SelectedIndexChanged += new System.EventHandler(this.cboControlList_SelectedIndexChanged);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(160, 8);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(80, 24);
     this.button1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.button1.TabIndex = 4;
     this.button1.Text     = "隐藏";
     this.button1.Type     = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // notifyIcon1
     //
     this.notifyIcon1.ContextMenu  = this.contextMenu1;
     this.notifyIcon1.Icon         = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text         = "自定义设置";
     this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem4,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "打开";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "-";
     //
     // menuItem4
     //
     this.menuItem4.Index  = 2;
     this.menuItem4.Text   = "恢复上次配置";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 3;
     this.menuItem3.Text   = "保存并退出";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // frmProperty
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(330, 431);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.cboControlList);
     this.Controls.Add(this.chkUseDefault);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.btnRestore);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmProperty";
     this.ShowInTaskbar   = false;
     this.Text            = "设置";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.frmProperty_KeyDown);
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.frmProperty_Closing);
     this.Load           += new System.EventHandler(this.frmProperty_Load);
     this.ResumeLayout(false);
 }
Esempio n. 10
0
        /// <summary>
        /// 根据输入的类型,显示不同的输入控件
        /// </summary>
        /// <param name="type"></param>
        /// <param name="defaultValue"></param>
        protected void insertValueBox(string type, string defaultValue)
        {
            //Neusoft.FrameWork.WinForms.Controls.NeuComboBox combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
            Control combox = null;

            if (type == "INT")
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.ValidatedTextBox1();
                ((Neusoft.FrameWork.WinForms.Controls.ValidatedTextBox1)combox).TextFormatType = (Neusoft.FrameWork.WinForms.Controls.ValidatedTextBox1.TextFormatTypes) 1;
            }
            else if (type == "BOOL")
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ArrayList al = new ArrayList();
                Neusoft.FrameWork.Models.NeuObject objtrue = new Neusoft.FrameWork.Models.NeuObject();
                objtrue.ID   = "1";
                objtrue.Name = "是";
                objtrue.Memo = "true";
                al.Add(objtrue);

                Neusoft.FrameWork.Models.NeuObject objfalse = new Neusoft.FrameWork.Models.NeuObject();
                objfalse.ID   = "0";
                objfalse.Name = "否";
                objfalse.Memo = "false";
                al.Add(objfalse);
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(al);
            }
            else if (type == "DATETIME")
            {
                combox = new DateTimePicker();
                ((DateTimePicker)combox).CustomFormat = "yyyy-MM-dd HH:mm";
                ((DateTimePicker)combox).Format       = DateTimePickerFormat.Custom;
            }
            else if (type == "DEPARTMENT")//科室
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(deptManager.GetDeptmentAll());
            }
            else if (type == "SEX")//性别
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(Neusoft.HISFC.Models.Base.SexEnumService.List());
            }
            else if (type == "MARI")//婚姻状况
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(Neusoft.HISFC.Models.RADT.MaritalStatusEnumService.List());
            }
            else if (type == "OPERATOR")//人员
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(personManager.GetEmployeeAll());
            }
            else if (type == "STRING")//字符串
            {
                combox = new TextBox();
            }
            else//其它用户定义
            {
                combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
                ArrayList alList = new ArrayList();
                string[]  s      = type.Split(',');
                try
                {
                    for (int iList = 0; iList < s.Length; iList++)
                    {
                        Neusoft.FrameWork.Models.NeuObject obj = new Neusoft.FrameWork.Models.NeuObject();
                        obj.ID   = s[iList].Split(' ')[0];
                        obj.Name = s[iList].Split(' ')[1];
                        alList.Add(obj);
                    }
                }
                catch { }
                ((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).AddItems(alList);
            }

            if (this.myDirection == enuDirection.H)
            {
                combox.Location = new Point(iBlankWidth * 3 + 50 + iConditionWidth, iCurrentRow * 21 + (iCurrentRow + 1) * iRowBlank);
            }
            else
            {
                combox.Location  = new Point(iBlankWidth + 10, iRowBlank * 2 + iCurrentRow * 21 + (iCurrentRow + 1) * (iRowBlank * 3));
                combox.ForeColor = Color.Red;
            }
            try
            {
                //((Neusoft.FrameWork.WinForms.Controls.NeuComboBox)combox).IsShowCustomerList = true;
            }
            catch { }
            combox.TabIndex = iCurrentRow * 10 + 3;
            combox.Width    = this.ValueWidth;
            //combox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right |System.Windows.Forms.AnchorStyles.Left )));
            combox.KeyPress += new KeyPressEventHandler(combox_KeyPress);

            combox.Visible = true;
            combox.Name    = "value" + iCurrentRow.ToString().PadLeft(2, '0');

            this.panel1.Controls.Add(combox);
        }
Esempio n. 11
0
        protected void insertOperationBox(string type)
        {
            if (this.alOperations == null)
            {
                this.initOperations();
            }
            if (this.alOperations == null)
            {
                MessageBox.Show("获取操作符失败");
                return;
            }
            Neusoft.FrameWork.WinForms.Controls.NeuComboBox combox = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
            combox.Width = 50;
            if (this.myDirection == enuDirection.H)
            {
                combox.Location = new Point(iBlankWidth * 2 + this.iConditionWidth, iCurrentRow * 21 + (iCurrentRow + 1) * iRowBlank);
            }
            else
            {
                combox.Location  = new Point(iBlankWidth * 2 + this.iConditionWidth, (iCurrentRow) * 21 + (iCurrentRow + 1) * (iRowBlank * 3));
                combox.ForeColor = Color.Blue;
            }
            //combox.IsShowCustomerList = true;
            combox.Visible    = true;
            combox.TabIndex   = iCurrentRow * 10 + 2;
            combox.Name       = "operation" + iCurrentRow.ToString().PadLeft(2, '0');
            combox.KeyPress  += new KeyPressEventHandler(combox_KeyPress);
            combox.IsListOnly = true;
            try
            {
                ArrayList al = this.alOperations.Clone() as ArrayList;
                if (type == "INT")
                {
                    al.RemoveAt(3);//去掉包含
                }
                else if (type == "BOOL")
                {
                    al = new ArrayList();
                    Neusoft.FrameWork.Models.NeuObject obj = new Neusoft.FrameWork.Models.NeuObject();
                    obj.ID   = "=";
                    obj.Name = "等于";
                    obj.Memo = "dy";
                    al.Add(obj);
                }
                else if (type == "DATETIME")
                {
                    al.RemoveAt(3);//去掉包含
                }

                else//字符串
                {
                    //					al = new ArrayList();
                    //					Neusoft.FrameWork.Models.NeuObject obj = new Neusoft.FrameWork.Models.NeuObject();
                    //					obj.ID = "=";
                    //					obj.Name = "等于";
                    //					obj.Memo = "dy";
                    //					al.Add(obj);
                    //
                    //					obj = new Neusoft.FrameWork.Models.NeuObject();
                    //					obj.ID = "like";
                    //					obj.Name = "包含";
                    //					obj.Memo = "bh";
                    //					al.Add(obj);
                    //
                    //					obj = new Neusoft.FrameWork.Models.NeuObject();
                    //					obj.ID = "<>";
                    //					obj.Name = "不等于";
                    //					obj.Memo = "bdy";
                    //					al.Add(obj);
                }
                combox.AddItems(al);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            //判断下拉列表里的选项
            if (combox.Items.Count > 0)
            {
                combox.SelectedIndex = 0;
            }
            this.panel1.Controls.Add(combox);
        }
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。

        /// </summary>
        private void InitializeComponent()
        {
            this.components    = new System.ComponentModel.Container();
            this.label1        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label2        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label3        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label4        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.label5        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.textSeqNO     = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.textICDid     = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.textSpellCode = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.textUserCode  = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.groupBox1     = new System.Windows.Forms.GroupBox();
            this.IsValid       = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.IsTumour      = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.IsInfection   = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.cbTraditional = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.Is30Illness   = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.ContinueInput = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
            this.button1       = new System.Windows.Forms.Button();
            this.button2       = new System.Windows.Forms.Button();
            this.textICDName   = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.WBCode        = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.label6        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.SexComBox     = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
            this.label7        = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(32, 168);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(53, 12);
            this.label1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label1.TabIndex  = 0;
            this.label1.Text      = "副诊断码";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label2
            //
            this.label2.AutoSize  = true;
            this.label2.ForeColor = System.Drawing.Color.Crimson;
            this.label2.Location  = new System.Drawing.Point(32, 8);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(53, 12);
            this.label2.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label2.TabIndex  = 1;
            this.label2.Text      = "ICD 编码";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label3
            //
            this.label3.AutoSize  = true;
            this.label3.ForeColor = System.Drawing.Color.Crimson;
            this.label3.Location  = new System.Drawing.Point(32, 40);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(53, 12);
            this.label3.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label3.TabIndex  = 2;
            this.label3.Text      = "ICD 名称";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label4
            //
            this.label4.AutoSize  = true;
            this.label4.Location  = new System.Drawing.Point(32, 72);
            this.label4.Name      = "label4";
            this.label4.Size      = new System.Drawing.Size(53, 12);
            this.label4.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label4.TabIndex  = 3;
            this.label4.Text      = "拼 音 码";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label5
            //
            this.label5.AutoSize  = true;
            this.label5.Location  = new System.Drawing.Point(32, 136);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(53, 12);
            this.label5.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label5.TabIndex  = 4;
            this.label5.Text      = "统 计 码";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // textSeqNO
            //
            this.textSeqNO.Location  = new System.Drawing.Point(120, 168);
            this.textSeqNO.MaxLength = 10;
            this.textSeqNO.Name      = "textSeqNO";
            this.textSeqNO.Size      = new System.Drawing.Size(144, 21);
            this.textSeqNO.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.textSeqNO.TabIndex  = 0;
            this.textSeqNO.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textSeqNO_KeyPress);
            //
            // textICDid
            //
            this.textICDid.Location  = new System.Drawing.Point(120, 8);
            this.textICDid.MaxLength = 10;
            this.textICDid.Name      = "textICDid";
            this.textICDid.Size      = new System.Drawing.Size(144, 21);
            this.textICDid.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.textICDid.TabIndex  = 1;
            this.textICDid.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textICDid_KeyPress);
            //
            // textSpellCode
            //
            this.textSpellCode.Location  = new System.Drawing.Point(120, 72);
            this.textSpellCode.MaxLength = 8;
            this.textSpellCode.Name      = "textSpellCode";
            this.textSpellCode.Size      = new System.Drawing.Size(144, 21);
            this.textSpellCode.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.textSpellCode.TabIndex  = 3;
            this.textSpellCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textSpellCode_KeyPress);
            //
            // textUserCode
            //
            this.textUserCode.Location  = new System.Drawing.Point(120, 136);
            this.textUserCode.MaxLength = 8;
            this.textUserCode.Name      = "textUserCode";
            this.textUserCode.Size      = new System.Drawing.Size(144, 21);
            this.textUserCode.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.textUserCode.TabIndex  = 4;
            this.textUserCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textUserCode_KeyPress);
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.IsValid);
            this.groupBox1.Controls.Add(this.IsTumour);
            this.groupBox1.Controls.Add(this.IsInfection);
            this.groupBox1.Controls.Add(this.cbTraditional);
            this.groupBox1.Controls.Add(this.Is30Illness);
            this.groupBox1.Location = new System.Drawing.Point(0, 224);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(304, 75);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop  = false;
            //
            // IsValid
            //
            this.IsValid.Location  = new System.Drawing.Point(36, 46);
            this.IsValid.Name      = "IsValid";
            this.IsValid.Size      = new System.Drawing.Size(56, 24);
            this.IsValid.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.IsValid.TabIndex  = 8;
            this.IsValid.Text      = "有效";
            this.IsValid.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.IsValid_KeyPress);
            //
            // IsTumour
            //
            this.IsTumour.Location  = new System.Drawing.Point(188, 16);
            this.IsTumour.Name      = "IsTumour";
            this.IsTumour.Size      = new System.Drawing.Size(80, 24);
            this.IsTumour.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.IsTumour.TabIndex  = 7;
            this.IsTumour.Text      = "恶性肿瘤";
            this.IsTumour.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.IsTumour_KeyPress);
            //
            // IsInfection
            //
            this.IsInfection.Location  = new System.Drawing.Point(116, 16);
            this.IsInfection.Name      = "IsInfection";
            this.IsInfection.Size      = new System.Drawing.Size(88, 23);
            this.IsInfection.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.IsInfection.TabIndex  = 6;
            this.IsInfection.Text      = "传染病";
            this.IsInfection.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.IsInfection_KeyPress);
            //
            // cbTraditional
            //
            this.cbTraditional.Location  = new System.Drawing.Point(115, 46);
            this.cbTraditional.Name      = "cbTraditional";
            this.cbTraditional.Size      = new System.Drawing.Size(80, 24);
            this.cbTraditional.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.cbTraditional.TabIndex  = 5;
            this.cbTraditional.Text      = "中医诊断";
            this.cbTraditional.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Is30Illness_KeyPress);
            //
            // Is30Illness
            //
            this.Is30Illness.Location  = new System.Drawing.Point(36, 16);
            this.Is30Illness.Name      = "Is30Illness";
            this.Is30Illness.Size      = new System.Drawing.Size(80, 24);
            this.Is30Illness.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.Is30Illness.TabIndex  = 5;
            this.Is30Illness.Text      = "30种疾病";
            this.Is30Illness.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Is30Illness_KeyPress);
            //
            // ContinueInput
            //
            this.ContinueInput.Location  = new System.Drawing.Point(16, 305);
            this.ContinueInput.Name      = "ContinueInput";
            this.ContinueInput.Size      = new System.Drawing.Size(88, 24);
            this.ContinueInput.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.ContinueInput.TabIndex  = 9;
            this.ContinueInput.Text      = "连续输入";
            this.ContinueInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ContinueInput_KeyPress);
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(120, 305);
            this.button1.Name     = "button1";
            this.button1.Size     = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 10;
            this.button1.Text     = "确定(&O)";
            this.button1.Click   += new System.EventHandler(this.button1_Click);
            //
            // button2
            //
            this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button2.Location     = new System.Drawing.Point(216, 305);
            this.button2.Name         = "button2";
            this.button2.Size         = new System.Drawing.Size(75, 23);
            this.button2.TabIndex     = 11;
            this.button2.Text         = "关闭(&C)";
            this.button2.Click       += new System.EventHandler(this.button2_Click);
            //
            // textICDName
            //
            this.textICDName.Location  = new System.Drawing.Point(120, 40);
            this.textICDName.MaxLength = 100;
            this.textICDName.Name      = "textICDName";
            this.textICDName.Size      = new System.Drawing.Size(144, 21);
            this.textICDName.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.textICDName.TabIndex  = 2;
            this.textICDName.Leave    += new System.EventHandler(this.textICDName_Leave);
            this.textICDName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textICDName_KeyPress);
            //
            // WBCode
            //
            this.WBCode.Location  = new System.Drawing.Point(120, 104);
            this.WBCode.MaxLength = 8;
            this.WBCode.Name      = "WBCode";
            this.WBCode.Size      = new System.Drawing.Size(144, 21);
            this.WBCode.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.WBCode.TabIndex  = 13;
            this.WBCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WBCode_KeyPress);
            //
            // label6
            //
            this.label6.AutoSize  = true;
            this.label6.Location  = new System.Drawing.Point(32, 104);
            this.label6.Name      = "label6";
            this.label6.Size      = new System.Drawing.Size(53, 12);
            this.label6.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label6.TabIndex  = 12;
            this.label6.Text      = "五 笔 码";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // SexComBox
            //
            this.SexComBox.ArrowBackColor   = System.Drawing.Color.Silver;
            this.SexComBox.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.SexComBox.IsFlat           = false;
            this.SexComBox.IsLike           = true;
            this.SexComBox.Location         = new System.Drawing.Point(120, 200);
            this.SexComBox.MaxLength        = 10;
            this.SexComBox.Name             = "SexComBox";
            this.SexComBox.PopForm          = null;
            this.SexComBox.ShowCustomerList = false;
            this.SexComBox.ShowID           = false;
            this.SexComBox.Size             = new System.Drawing.Size(144, 20);
            this.SexComBox.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.SexComBox.TabIndex         = 15;
            this.SexComBox.Tag        = "";
            this.SexComBox.ToolBarUse = false;
            //
            // label7
            //
            this.label7.AutoSize  = true;
            this.label7.Location  = new System.Drawing.Point(32, 200);
            this.label7.Name      = "label7";
            this.label7.Size      = new System.Drawing.Size(53, 12);
            this.label7.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
            this.label7.TabIndex  = 14;
            this.label7.Text      = "适用性别";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // frmICDInfo
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize        = new System.Drawing.Size(314, 332);
            this.Controls.Add(this.SexComBox);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.WBCode);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.textICDName);
            this.Controls.Add(this.textUserCode);
            this.Controls.Add(this.textSpellCode);
            this.Controls.Add(this.textICDid);
            this.Controls.Add(this.textSeqNO);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.ContinueInput);
            this.Controls.Add(this.groupBox1);
            this.MaximizeBox   = false;
            this.MaximumSize   = new System.Drawing.Size(322, 366);
            this.MinimumSize   = new System.Drawing.Size(320, 336);
            this.Name          = "frmICDInfo";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text          = "frmICDInfo";
            this.Load         += new System.EventHandler(this.ucICDInfo_Load);
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Esempio n. 13
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ucQCScoreSetInput));
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.cboType       = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox();
     this.button2       = new System.Windows.Forms.Button();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.txtID         = new System.Windows.Forms.TextBox();
     this.txtName       = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.txtMemo       = new System.Windows.Forms.TextBox();
     this.label4        = new System.Windows.Forms.Label();
     this.txtMiniScore  = new System.Windows.Forms.TextBox();
     this.label5        = new System.Windows.Forms.Label();
     this.label6        = new System.Windows.Forms.Label();
     this.txtTotalScore = new System.Windows.Forms.TextBox();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.okButton      = new System.Windows.Forms.Button();
     this.pictureBox1   = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cboType);
     this.groupBox1.Controls.Add(this.button2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtID);
     this.groupBox1.Controls.Add(this.txtName);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtMemo);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtMiniScore);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.txtTotalScore);
     this.groupBox1.Controls.Add(this.pictureBox1);
     this.groupBox1.Location = new System.Drawing.Point(32, 16);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(341, 240);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // cboType
     //
     this.cboType.ArrowBackColor   = System.Drawing.Color.Silver;
     this.cboType.DrawMode         = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cboType.IsFlat           = false;
     this.cboType.IsLike           = true;
     this.cboType.Location         = new System.Drawing.Point(144, 104);
     this.cboType.Name             = "cboType";
     this.cboType.PopForm          = null;
     this.cboType.ShowCustomerList = false;
     this.cboType.ShowID           = false;
     this.cboType.Size             = new System.Drawing.Size(168, 22);
     this.cboType.TabIndex         = 6;
     this.cboType.Tag = "";
     this.cboType.SelectedIndexChanged += new System.EventHandler(this.cboType_SelectedIndexChanged);
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Location  = new System.Drawing.Point(261, 38);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(48, 24);
     this.button2.TabIndex  = 2;
     this.button2.Text      = "添加新用户";
     this.button2.Click    += new System.EventHandler(this.button2_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(72, 40);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(54, 17);
     this.label1.TabIndex = 0;
     this.label1.Text     = "条件编码";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(72, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(54, 17);
     this.label2.TabIndex = 3;
     this.label2.Text     = "质控名称";
     //
     // txtID
     //
     this.txtID.BackColor   = System.Drawing.SystemColors.Window;
     this.txtID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtID.Location    = new System.Drawing.Point(144, 38);
     this.txtID.MaxLength   = 10;
     this.txtID.Name        = "txtID";
     this.txtID.Size        = new System.Drawing.Size(109, 21);
     this.txtID.TabIndex    = 1;
     this.txtID.Text        = "";
     //
     // txtName
     //
     this.txtName.AcceptsTab  = true;
     this.txtName.BackColor   = System.Drawing.SystemColors.Window;
     this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtName.Location    = new System.Drawing.Point(144, 72);
     this.txtName.Name        = "txtName";
     this.txtName.Size        = new System.Drawing.Size(168, 21);
     this.txtName.TabIndex    = 4;
     this.txtName.Text        = "";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(72, 104);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(54, 17);
     this.label3.TabIndex = 5;
     this.label3.Text     = "项目类别";
     //
     // txtMemo
     //
     this.txtMemo.BackColor   = System.Drawing.SystemColors.HighlightText;
     this.txtMemo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMemo.Location    = new System.Drawing.Point(144, 136);
     this.txtMemo.MaxLength   = 20;
     this.txtMemo.Name        = "txtMemo";
     this.txtMemo.Size        = new System.Drawing.Size(168, 21);
     this.txtMemo.TabIndex    = 8;
     this.txtMemo.Text        = "";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(72, 168);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(54, 17);
     this.label4.TabIndex = 9;
     this.label4.Text     = "扣分标准";
     //
     // txtMiniScore
     //
     this.txtMiniScore.BackColor   = System.Drawing.SystemColors.HighlightText;
     this.txtMiniScore.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMiniScore.Location    = new System.Drawing.Point(144, 168);
     this.txtMiniScore.MaxLength   = 50;
     this.txtMiniScore.Name        = "txtMiniScore";
     this.txtMiniScore.Size        = new System.Drawing.Size(168, 21);
     this.txtMiniScore.TabIndex    = 10;
     this.txtMiniScore.Text        = "";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(72, 136);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(29, 17);
     this.label5.TabIndex = 7;
     this.label5.Text     = "备注";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(72, 200);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(66, 17);
     this.label6.TabIndex = 11;
     this.label6.Text     = "项目总分值";
     //
     // txtTotalScore
     //
     this.txtTotalScore.BackColor   = System.Drawing.SystemColors.HighlightText;
     this.txtTotalScore.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTotalScore.Location    = new System.Drawing.Point(144, 200);
     this.txtTotalScore.MaxLength   = 50;
     this.txtTotalScore.Name        = "txtTotalScore";
     this.txtTotalScore.Size        = new System.Drawing.Size(168, 21);
     this.txtTotalScore.TabIndex    = 12;
     this.txtTotalScore.Text        = "";
     //
     // cancelButton
     //
     this.cancelButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
     this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cancelButton.Location  = new System.Drawing.Point(296, 272);
     this.cancelButton.Name      = "cancelButton";
     this.cancelButton.TabIndex  = 2;
     this.cancelButton.Text      = "取消";
     this.cancelButton.Click    += new System.EventHandler(this.cancelButton_Click);
     //
     // okButton
     //
     this.okButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.okButton.Location  = new System.Drawing.Point(200, 272);
     this.okButton.Name      = "okButton";
     this.okButton.TabIndex  = 1;
     this.okButton.Text      = "确定";
     this.okButton.Click    += new System.EventHandler(this.okButton_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(19, 33);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(44, 44);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 7;
     this.pictureBox1.TabStop  = false;
     //
     // ucQCScoreSetInput
     //
     this.BackColor = System.Drawing.Color.SeaShell;
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Name  = "ucQCScoreSetInput";
     this.Size  = new System.Drawing.Size(408, 312);
     this.Load += new System.EventHandler(this.ucQCScoreSetInput_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 14
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     FarPoint.Win.Spread.TipAppearance tipAppearance1         = new FarPoint.Win.Spread.TipAppearance();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQueryMessage));
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.groupBox3        = new System.Windows.Forms.GroupBox();
     this.radioButton2     = new System.Windows.Forms.RadioButton();
     this.radioButton1     = new System.Windows.Forms.RadioButton();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.dateTimePicker2  = new System.Windows.Forms.DateTimePicker();
     this.dateTimePicker1  = new System.Windows.Forms.DateTimePicker();
     this.label1           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.comboBox1        = new Neusoft.FrameWork.WinForms.Controls.NeuComboBox(this.components);
     this.textBox1         = new System.Windows.Forms.TextBox();
     this.label4           = new System.Windows.Forms.Label();
     this.fpSpread1        = new FarPoint.Win.Spread.FpSpread();
     this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.toolBar1         = new System.Windows.Forms.ToolBar();
     this.toolBarButton1   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3   = new System.Windows.Forms.ToolBarButton();
     this.imageList1       = new System.Windows.Forms.ImageList(this.components);
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.groupBox3);
     this.groupBox1.Controls.Add(this.radioButton2);
     this.groupBox1.Controls.Add(this.radioButton1);
     this.groupBox1.Controls.Add(this.groupBox2);
     this.groupBox1.Location = new System.Drawing.Point(8, 40);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(712, 115);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // groupBox3
     //
     this.groupBox3.Location = new System.Drawing.Point(363, 18);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(333, 81);
     this.groupBox3.TabIndex = 10;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "本人发通知查询";
     //
     // radioButton2
     //
     this.radioButton2.Location = new System.Drawing.Point(347, 22);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.Size     = new System.Drawing.Size(21, 24);
     this.radioButton2.TabIndex = 9;
     //
     // radioButton1
     //
     this.radioButton1.Checked  = true;
     this.radioButton1.Location = new System.Drawing.Point(8, 24);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.Size     = new System.Drawing.Size(13, 20);
     this.radioButton1.TabIndex = 8;
     this.radioButton1.TabStop  = true;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.dateTimePicker2);
     this.groupBox2.Controls.Add(this.dateTimePicker1);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.comboBox1);
     this.groupBox2.Controls.Add(this.textBox1);
     this.groupBox2.Location = new System.Drawing.Point(24, 19);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(306, 80);
     this.groupBox2.TabIndex = 7;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "科室统计";
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CustomFormat = "yyyy-MM-dd 23:59:59";
     this.dateTimePicker2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location     = new System.Drawing.Point(200, 16);
     this.dateTimePicker2.Name         = "dateTimePicker2";
     this.dateTimePicker2.Size         = new System.Drawing.Size(90, 21);
     this.dateTimePicker2.TabIndex     = 2;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "yyyy-MM-dd 00:00:00";
     this.dateTimePicker1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location     = new System.Drawing.Point(88, 16);
     this.dateTimePicker1.Name         = "dateTimePicker1";
     this.dateTimePicker1.Size         = new System.Drawing.Size(88, 21);
     this.dateTimePicker1.TabIndex     = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "通知时间:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(13, 47);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(72, 23);
     this.label3.TabIndex = 5;
     this.label3.Text     = "接收科室:";
     //
     // comboBox1
     //
     this.comboBox1.ArrowBackColor   = System.Drawing.Color.Silver;
     this.comboBox1.IsEnter2Tab      = false;
     this.comboBox1.IsFlat           = false;
     this.comboBox1.IsLike           = true;
     this.comboBox1.Location         = new System.Drawing.Point(94, 43);
     this.comboBox1.Name             = "comboBox1";
     this.comboBox1.PopForm          = null;
     this.comboBox1.ShowCustomerList = false;
     this.comboBox1.ShowID           = false;
     this.comboBox1.Size             = new System.Drawing.Size(96, 20);
     this.comboBox1.Style            = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.comboBox1.TabIndex         = 4;
     this.comboBox1.Tag                   = "";
     this.comboBox1.ToolBarUse            = false;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // textBox1
     //
     this.textBox1.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox1.Font        = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.textBox1.Location    = new System.Drawing.Point(182, 16);
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(20, 23);
     this.textBox1.TabIndex    = 9;
     this.textBox1.Text        = "-";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.Color.Red;
     this.label4.Location  = new System.Drawing.Point(16, 159);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(137, 12);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "粉色代表没有处理的通知";
     //
     // fpSpread1
     //
     this.fpSpread1.About = "2.5.2007.2005";
     this.fpSpread1.AccessibleDescription = "fpSpread1";
     this.fpSpread1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.fpSpread1.Location = new System.Drawing.Point(8, 176);
     this.fpSpread1.Name     = "fpSpread1";
     this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpSpread1_Sheet1
     });
     this.fpSpread1.Size              = new System.Drawing.Size(704, 232);
     this.fpSpread1.TabIndex          = 1;
     tipAppearance1.BackColor         = System.Drawing.SystemColors.Info;
     tipAppearance1.Font              = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     tipAppearance1.ForeColor         = System.Drawing.SystemColors.InfoText;
     this.fpSpread1.TextTipAppearance = tipAppearance1;
     this.fpSpread1.CellDoubleClick  += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellDoubleClick);
     this.fpSpread1_Sheet1.Reset();
     this.fpSpread1_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton4,
         this.toolBarButton3
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(720, 41);
     this.toolBar1.TabIndex       = 2;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 0;
     this.toolBarButton1.Name       = "toolBarButton1";
     this.toolBarButton1.Text       = "查询";
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 1;
     this.toolBarButton2.Name       = "toolBarButton2";
     this.toolBarButton2.Style      = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 0;
     this.toolBarButton4.Name       = "toolBarButton4";
     this.toolBarButton4.Style      = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 1;
     this.toolBarButton3.Name       = "toolBarButton3";
     this.toolBarButton3.Text       = "退出";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "退出.bmp");
     this.imageList1.Images.SetKeyName(1, "查找.bmp");
     //
     // frmQueryMessage
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(720, 422);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.fpSpread1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label4);
     this.Name        = "frmQueryMessage";
     this.Text        = "查询通知信息";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.QueryMessage_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }