示例#1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1    = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
     this.lblMessage   = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.button1      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.linkLabel1   = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
     this.richTextBox1 = new Neusoft.FrameWork.WinForms.Controls.NeuRichTextBox();
     this.groupBox1.SuspendLayout();
     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.lblMessage);
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Controls.Add(this.linkLabel1);
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(274, 152);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // lblMessage
     //
     this.lblMessage.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.lblMessage.Location  = new System.Drawing.Point(32, 24);
     this.lblMessage.Name      = "lblMessage";
     this.lblMessage.Size      = new System.Drawing.Size(216, 80);
     this.lblMessage.TabIndex  = 2;
     this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.button1.Location  = new System.Drawing.Point(88, 112);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(80, 24);
     this.button1.TabIndex  = 1;
     this.button1.Text      = "确定(&O)";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(232, 120);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(32, 16);
     this.linkLabel1.TabIndex     = 0;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = ">>>";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.ForeColor   = System.Drawing.SystemColors.HotTrack;
     this.richTextBox1.Location    = new System.Drawing.Point(0, 152);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.ReadOnly    = true;
     this.richTextBox1.Size        = new System.Drawing.Size(272, 104);
     this.richTextBox1.TabIndex    = 1;
     this.richTextBox1.Text        = "";
     //
     // frmMessageBox
     //
     this.AcceptButton      = this.button1;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(274, 151);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmMessageBox";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "错误";
     this.Load           += new System.EventHandler(this.frmMessageBox_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#2
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmChooseDate));
     this.dtpBeginDate = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
     this.dtpEndDate   = new Neusoft.FrameWork.WinForms.Controls.NeuDateTimePicker();
     this.lblBeginDate = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.lblEndDate   = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.pictureBox1  = new Neusoft.FrameWork.WinForms.Controls.NeuPictureBox();
     this.label3       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.btnOK        = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.btnExit      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.SuspendLayout();
     //
     // dtpBeginDate
     //
     this.dtpBeginDate.CustomFormat = "yyyy-MM-dd HH:mm:ss";
     this.dtpBeginDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpBeginDate.Location     = new System.Drawing.Point(117, 50);
     this.dtpBeginDate.Name         = "dtpBeginDate";
     this.dtpBeginDate.Size         = new System.Drawing.Size(151, 21);
     this.dtpBeginDate.TabIndex     = 0;
     //
     // dtpEndDate
     //
     this.dtpEndDate.CustomFormat = "yyyy-MM-dd HH:mm:ss";
     this.dtpEndDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpEndDate.Location     = new System.Drawing.Point(117, 75);
     this.dtpEndDate.Name         = "dtpEndDate";
     this.dtpEndDate.Size         = new System.Drawing.Size(151, 21);
     this.dtpEndDate.TabIndex     = 0;
     //
     // lblBeginDate
     //
     this.lblBeginDate.Location  = new System.Drawing.Point(54, 52);
     this.lblBeginDate.Name      = "lblBeginDate";
     this.lblBeginDate.Size      = new System.Drawing.Size(60, 17);
     this.lblBeginDate.TabIndex  = 2;
     this.lblBeginDate.Text      = "起始时间:";
     this.lblBeginDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblEndDate
     //
     this.lblEndDate.Location  = new System.Drawing.Point(54, 77);
     this.lblEndDate.Name      = "lblEndDate";
     this.lblEndDate.Size      = new System.Drawing.Size(60, 17);
     this.lblEndDate.TabIndex  = 2;
     this.lblEndDate.Text      = "终止时间:";
     this.lblEndDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(12, 7);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(32, 32);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop  = false;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(54, 21);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 17);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "请选择日期:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(78, 106);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(79, 23);
     this.btnOK.TabIndex = 4;
     this.btnOK.Text     = "确定(&O)";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnExit
     //
     this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnExit.Location     = new System.Drawing.Point(169, 106);
     this.btnExit.Name         = "btnExit";
     this.btnExit.Size         = new System.Drawing.Size(79, 23);
     this.btnExit.TabIndex     = 4;
     this.btnExit.Text         = "退出(&X)";
     this.btnExit.Click       += new System.EventHandler(this.btnExit_Click);
     //
     // frmChooseDate
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnExit;
     this.ClientSize        = new System.Drawing.Size(313, 145);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.lblBeginDate);
     this.Controls.Add(this.lblEndDate);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.dtpBeginDate);
     this.Controls.Add(this.dtpEndDate);
     this.Controls.Add(this.btnExit);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "frmChooseDate";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "日期选择";
     this.Load           += new System.EventHandler(this.frmChooseDate_Load);
     this.ResumeLayout(false);
 }
示例#3
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要使用代码编辑器
        /// 修改此方法的内容。
        /// </summary>
        protected void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ucChooseList));
            this.fpChooseList        = new FarPoint.Win.Spread.FpSpread();
            this.fpChooseList_Sheet1 = new FarPoint.Win.Spread.SheetView();
            this.label1       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.groupBox1    = new Neusoft.FrameWork.WinForms.Controls.NeuGroupBox();
            this.lblCaption   = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
            this.txtQueryCode = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
            this.panelData    = new Neusoft.FrameWork.WinForms.Controls.NeuPanel();
            this.tvList       = new System.Windows.Forms.TreeView();
            this.btn1         = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            this.btnClose     = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
            ((System.ComponentModel.ISupportInitialize)(this.fpChooseList)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpChooseList_Sheet1)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.panelData.SuspendLayout();
            this.SuspendLayout();
            //
            // fpChooseList
            //
            this.fpChooseList.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.fpChooseList.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            this.fpChooseList.Location = new System.Drawing.Point(0, 24);
            this.fpChooseList.Name     = "fpChooseList";
            this.fpChooseList.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
                this.fpChooseList_Sheet1
            });
            this.fpChooseList.Size     = new System.Drawing.Size(351, 317);
            this.fpChooseList.TabIndex = 1;
            this.fpChooseList.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
            //
            // fpChooseList_Sheet1
            //
            this.fpChooseList_Sheet1.Reset();
            this.fpChooseList_Sheet1.ColumnCount = 13;
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 0).Text   = "药品编码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 1).Text   = "商品名称";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 2).Text   = "规格";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 3).Text   = "零售价";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 4).Text   = "包装单位";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 5).Text   = "包装数量";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 6).Text   = "拼音码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 7).Text   = "五笔码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 8).Text   = "自定义码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 9).Text   = "通用名";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 10).Text  = "通用名拼音码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 11).Text  = "通用名五笔码";
            this.fpChooseList_Sheet1.ColumnHeader.Cells.Get(0, 12).Text  = "通用名自定义码";
            this.fpChooseList_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.SystemColors.Control;
            this.fpChooseList_Sheet1.ColumnHeader.DefaultStyle.Parent    = "HeaderDefault";
            this.fpChooseList_Sheet1.ColumnHeader.Rows.Get(0).Height     = 23F;
            this.fpChooseList_Sheet1.Columns.Get(0).Label               = "药品编码";
            this.fpChooseList_Sheet1.Columns.Get(0).Visible             = false;
            this.fpChooseList_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpChooseList_Sheet1.Columns.Get(1).Label               = "商品名称";
            this.fpChooseList_Sheet1.Columns.Get(1).Width               = 136F;
            this.fpChooseList_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
            this.fpChooseList_Sheet1.Columns.Get(2).Label               = "规格";
            this.fpChooseList_Sheet1.Columns.Get(2).Width               = 76F;
            this.fpChooseList_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpChooseList_Sheet1.Columns.Get(3).Label               = "零售价";
            this.fpChooseList_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
            this.fpChooseList_Sheet1.Columns.Get(4).Label               = "包装单位";
            this.fpChooseList_Sheet1.Columns.Get(4).Width               = 57F;
            this.fpChooseList_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
            this.fpChooseList_Sheet1.Columns.Get(5).Label               = "包装数量";
            this.fpChooseList_Sheet1.Columns.Get(5).Width               = 58F;
            this.fpChooseList_Sheet1.Columns.Get(6).Label               = "拼音码";
            this.fpChooseList_Sheet1.Columns.Get(6).Visible             = false;
            this.fpChooseList_Sheet1.Columns.Get(7).Label               = "五笔码";
            this.fpChooseList_Sheet1.Columns.Get(7).Visible             = false;
            this.fpChooseList_Sheet1.Columns.Get(8).Label               = "自定义码";
            this.fpChooseList_Sheet1.Columns.Get(8).Visible             = false;
            this.fpChooseList_Sheet1.Columns.Get(9).Label               = "通用名";
            this.fpChooseList_Sheet1.Columns.Get(9).Visible             = false;
            this.fpChooseList_Sheet1.Columns.Get(10).Label              = "通用名拼音码";
            this.fpChooseList_Sheet1.Columns.Get(10).Visible            = false;
            this.fpChooseList_Sheet1.Columns.Get(11).Label              = "通用名五笔码";
            this.fpChooseList_Sheet1.Columns.Get(11).Visible            = false;
            this.fpChooseList_Sheet1.Columns.Get(12).Label              = "通用名自定义码";
            this.fpChooseList_Sheet1.Columns.Get(12).Visible            = false;
            this.fpChooseList_Sheet1.DefaultStyle.Parent            = "DataAreaDefault";
            this.fpChooseList_Sheet1.DefaultStyle.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
            this.fpChooseList_Sheet1.GrayAreaBackColor = System.Drawing.Color.White;
            this.fpChooseList_Sheet1.OperationMode     = FarPoint.Win.Spread.OperationMode.SingleSelect;
            this.fpChooseList_Sheet1.RowHeader.Columns.Default.Resizable = false;
            this.fpChooseList_Sheet1.RowHeader.Visible   = false;
            this.fpChooseList_Sheet1.Rows.Default.Height = 21F;
            this.fpChooseList_Sheet1.SelectionPolicy     = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
            this.fpChooseList_Sheet1.SelectionUnit       = FarPoint.Win.Spread.Model.SelectionUnit.Row;
            this.fpChooseList_Sheet1.SheetName           = "Sheet1";
            //
            // label1
            //
            this.label1.Location  = new System.Drawing.Point(5, 3);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(48, 19);
            this.label1.TabIndex  = 2;
            this.label1.Text      = "查询码:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // 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.btn1);
            this.groupBox1.Controls.Add(this.btnClose);
            this.groupBox1.Controls.Add(this.lblCaption);
            this.groupBox1.Location = new System.Drawing.Point(0, -6);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(351, 26);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop  = false;
            //
            // lblCaption
            //
            this.lblCaption.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.lblCaption.Location = new System.Drawing.Point(4, 9);
            this.lblCaption.Name     = "lblCaption";
            this.lblCaption.Size     = new System.Drawing.Size(152, 13);
            this.lblCaption.TabIndex = 0;
            this.lblCaption.Text     = "选择项目";
            //
            // txtQueryCode
            //
            this.txtQueryCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.txtQueryCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtQueryCode.Location        = new System.Drawing.Point(52, 2);
            this.txtQueryCode.Name            = "txtQueryCode";
            this.txtQueryCode.Size            = new System.Drawing.Size(299, 21);
            this.txtQueryCode.TabIndex        = 0;
            this.txtQueryCode.Text            = "";
            this.txtQueryCode.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.txtQueryCode_KeyDown);
            //
            // panelData
            //
            this.panelData.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.panelData.Controls.Add(this.label1);
            this.panelData.Controls.Add(this.txtQueryCode);
            this.panelData.Controls.Add(this.fpChooseList);
            this.panelData.Location = new System.Drawing.Point(0, 21);
            this.panelData.Name     = "panelData";
            this.panelData.Size     = new System.Drawing.Size(353, 342);
            this.panelData.TabIndex = 7;
            //
            // tvList
            //
            this.tvList.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.tvList.Font               = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.tvList.HideSelection      = false;
            this.tvList.ImageIndex         = -1;
            this.tvList.Location           = new System.Drawing.Point(0, 21);
            this.tvList.Name               = "tvList";
            this.tvList.SelectedImageIndex = -1;
            this.tvList.Size               = new System.Drawing.Size(351, 342);
            this.tvList.TabIndex           = 8;
            this.tvList.Visible            = false;
            //
            // btn1
            //
            this.btn1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btn1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.btn1.Image     = ((System.Drawing.Image)(resources.GetObject("btn1.Image")));
            this.btn1.Location  = new System.Drawing.Point(320, 8);
            this.btn1.Name      = "btn1";
            this.btn1.Size      = new System.Drawing.Size(13, 15);
            this.btn1.TabIndex  = 4;
            this.btn1.TabStop   = false;
            this.btn1.Visible   = false;
            //
            // btnClose
            //
            this.btnClose.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.btnClose.Image     = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
            this.btnClose.Location  = new System.Drawing.Point(335, 8);
            this.btnClose.Name      = "btnClose";
            this.btnClose.Size      = new System.Drawing.Size(13, 15);
            this.btnClose.TabIndex  = 3;
            this.btnClose.TabStop   = false;
            this.btnClose.Visible   = false;
            //
            // ucChooseList
            //
            this.Controls.Add(this.panelData);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.tvList);
            this.Name  = "ucChooseList";
            this.Size  = new System.Drawing.Size(352, 363);
            this.Load += new System.EventHandler(this.ucChooseList_Load);
            ((System.ComponentModel.ISupportInitialize)(this.fpChooseList)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fpChooseList_Sheet1)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.panelData.ResumeLayout(false);
            this.ResumeLayout(false);

            Neusoft.FrameWork.WinForms.Classes.Function.SetFarPointStyle(fpChooseList);
        }
示例#4
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);
 }
示例#5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEasyChoose));
     FarPoint.Win.Spread.TipAppearance tipAppearance1         = new FarPoint.Win.Spread.TipAppearance();
     this.txtQueryCode  = new Neusoft.FrameWork.WinForms.Controls.NeuTextBox();
     this.fpData        = new FarPoint.Win.Spread.FpSpread();
     this.fpData_Sheet1 = new FarPoint.Win.Spread.SheetView();
     this.btnOK         = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.btnCancel     = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.chbMisty      = new Neusoft.FrameWork.WinForms.Controls.NeuCheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.fpData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpData_Sheet1)).BeginInit();
     this.SuspendLayout();
     //
     // txtQueryCode
     //
     this.txtQueryCode.AccessibleDescription = null;
     this.txtQueryCode.AccessibleName        = null;
     resources.ApplyResources(this.txtQueryCode, "txtQueryCode");
     this.txtQueryCode.BackgroundImage = null;
     this.txtQueryCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtQueryCode.Font            = null;
     this.txtQueryCode.IsEnter2Tab     = false;
     this.txtQueryCode.Name            = "txtQueryCode";
     this.txtQueryCode.Style           = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.txtQueryCode.TextChanged    += new System.EventHandler(this.txtQueryCode_TextChanged);
     this.txtQueryCode.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.txtQueryCode_KeyDown);
     this.txtQueryCode.KeyPress       += new System.Windows.Forms.KeyPressEventHandler(this.txtQueryCode_KeyPress);
     //
     // fpData
     //
     this.fpData.About = "3.0.2004.2005";
     resources.ApplyResources(this.fpData, "fpData");
     this.fpData.AccessibleName            = null;
     this.fpData.BackColor                 = System.Drawing.SystemColors.Control;
     this.fpData.BackgroundImage           = null;
     this.fpData.Font                      = null;
     this.fpData.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpData.Name                      = "fpData";
     this.fpData.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
         this.fpData_Sheet1
     });
     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.fpData.TextTipAppearance       = tipAppearance1;
     this.fpData.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
     this.fpData.CellDoubleClick        += new FarPoint.Win.Spread.CellClickEventHandler(this.fpData_CellDoubleClick);
     this.fpData.KeyPress               += new System.Windows.Forms.KeyPressEventHandler(this.fpData_KeyPress);
     //
     // fpData_Sheet1
     //
     this.fpData_Sheet1.Reset();
     this.fpData_Sheet1.SheetName = "Sheet1";
     // Formulas and custom names must be loaded with R1C1 reference style
     this.fpData_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
     this.fpData_Sheet1.ColumnCount    = 6;
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "编码";
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "名称";
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "其他";
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "拼音码";
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "五笔码";
     this.fpData_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "自定义码";
     this.fpData_Sheet1.ColumnHeader.Rows.Get(0).Height    = 24F;
     this.fpData_Sheet1.Columns.Get(0).AllowAutoSort       = true;
     this.fpData_Sheet1.Columns.Get(0).Label  = "编码";
     this.fpData_Sheet1.Columns.Get(0).Locked = true;
     this.fpData_Sheet1.Columns.Get(0).Width  = 79F;
     this.fpData_Sheet1.Columns.Get(1).Label  = "名称";
     this.fpData_Sheet1.Columns.Get(1).Locked = true;
     this.fpData_Sheet1.Columns.Get(1).Width  = 148F;
     this.fpData_Sheet1.Columns.Get(2).Label  = "其他";
     this.fpData_Sheet1.Columns.Get(2).Locked = true;
     this.fpData_Sheet1.Columns.Get(2).Width  = 64F;
     this.fpData_Sheet1.Columns.Get(3).Label  = "拼音码";
     this.fpData_Sheet1.Columns.Get(3).Locked = true;
     this.fpData_Sheet1.Columns.Get(3).Width  = 84F;
     this.fpData_Sheet1.Columns.Get(4).Label  = "五笔码";
     this.fpData_Sheet1.Columns.Get(4).Locked = true;
     this.fpData_Sheet1.Columns.Get(4).Width  = 76F;
     this.fpData_Sheet1.Columns.Get(5).Label  = "自定义码";
     this.fpData_Sheet1.Columns.Get(5).Locked = true;
     this.fpData_Sheet1.Columns.Get(5).Width  = 92F;
     this.fpData_Sheet1.DataAutoHeadings      = false;
     this.fpData_Sheet1.DataAutoSizeColumns   = false;
     this.fpData_Sheet1.GrayAreaBackColor     = System.Drawing.Color.Honeydew;
     this.fpData_Sheet1.OperationMode         = FarPoint.Win.Spread.OperationMode.RowMode;
     this.fpData_Sheet1.RowHeader.Columns.Default.Resizable    = false;
     this.fpData_Sheet1.RowHeader.Columns.Get(0).AllowAutoSort = true;
     this.fpData_Sheet1.RowHeader.Columns.Get(0).Width         = 21F;
     this.fpData_Sheet1.SelectionForeColor                 = System.Drawing.Color.White;
     this.fpData_Sheet1.SheetCornerStyle.Locked            = false;
     this.fpData_Sheet1.SheetCornerStyle.Parent            = "HeaderDefault";
     this.fpData_Sheet1.SheetCornerStyle.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
     this.fpData_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
     //
     // btnOK
     //
     this.btnOK.AccessibleDescription = null;
     this.btnOK.AccessibleName        = null;
     resources.ApplyResources(this.btnOK, "btnOK");
     this.btnOK.BackgroundImage = null;
     this.btnOK.Font            = null;
     this.btnOK.Name            = "btnOK";
     this.btnOK.Style           = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.btnOK.Type            = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.btnOK.Click          += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.AccessibleDescription = null;
     this.btnCancel.AccessibleName        = null;
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.BackgroundImage = null;
     this.btnCancel.DialogResult    = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font            = null;
     this.btnCancel.Name            = "btnCancel";
     this.btnCancel.Style           = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.btnCancel.Type            = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.btnCancel.Click          += new System.EventHandler(this.btnCancel_Click);
     //
     // chbMisty
     //
     this.chbMisty.AccessibleDescription = null;
     this.chbMisty.AccessibleName        = null;
     resources.ApplyResources(this.chbMisty, "chbMisty");
     this.chbMisty.BackgroundImage = null;
     this.chbMisty.Checked         = true;
     this.chbMisty.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chbMisty.Font            = null;
     this.chbMisty.Name            = "chbMisty";
     this.chbMisty.Style           = Neusoft.FrameWork.WinForms.Controls.StyleType.VS2003;
     this.chbMisty.CheckedChanged += new System.EventHandler(this.chbMisty_CheckedChanged_2);
     //
     // frmEasyChoose
     //
     this.AcceptButton          = this.btnOK;
     this.AccessibleDescription = null;
     this.AccessibleName        = null;
     resources.ApplyResources(this, "$this");
     this.BackgroundImage = null;
     this.CancelButton    = this.btnCancel;
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.fpData);
     this.Controls.Add(this.txtQueryCode);
     this.Controls.Add(this.chbMisty);
     this.Font            = null;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = null;
     this.KeyPreview      = true;
     this.Name            = "frmEasyChoose";
     this.Activated      += new System.EventHandler(this.frmEasyChoose_Activated);
     this.FormClosed     += new System.Windows.Forms.FormClosedEventHandler(this.frmEasyChoose_FormClosed);
     ((System.ComponentModel.ISupportInitialize)(this.fpData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fpData_Sheet1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#6
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmWait));
     this.label1       = new Neusoft.FrameWork.WinForms.Controls.NeuLabel();
     this.progressBar1 = new Neusoft.FrameWork.WinForms.Controls.NeuProgressBar();
     this.pictureBox1  = new Neusoft.FrameWork.WinForms.Controls.NeuPictureBox();
     this.button1      = new Neusoft.FrameWork.WinForms.Controls.NeuButton();
     this.linkLabel1   = new Neusoft.FrameWork.WinForms.Controls.NeuLinkLabel();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(76, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(200, 25);
     this.label1.Style     = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.label1.TabIndex  = 0;
     this.label1.Text      = "正在处理,请稍候...";
     //
     // progressBar1
     //
     this.progressBar1.BackgroundBitmap    = null;
     this.progressBar1.BackgroundColor     = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(237)))), ((int)(((byte)(223)))));
     this.progressBar1.Border3D            = System.Windows.Forms.Border3DStyle.Flat;
     this.progressBar1.BorderColor         = System.Drawing.SystemColors.Highlight;
     this.progressBar1.EnableBorder3D      = false;
     this.progressBar1.ForegroundBitmap    = null;
     this.progressBar1.ForegroundColor     = System.Drawing.SystemColors.Highlight;
     this.progressBar1.GradientEndColor    = System.Drawing.Color.Empty;
     this.progressBar1.GradientMiddleColor = System.Drawing.Color.Empty;
     this.progressBar1.GradientStartColor  = System.Drawing.Color.Empty;
     this.progressBar1.Location            = new System.Drawing.Point(72, 45);
     this.progressBar1.Maximum             = 100;
     this.progressBar1.Minimum             = 0;
     this.progressBar1.Name = "progressBar1";
     this.progressBar1.ProgressTextColor         = System.Drawing.Color.Empty;
     this.progressBar1.ProgressTextHiglightColor = System.Drawing.Color.Empty;
     this.progressBar1.ShowProgressText          = false;
     this.progressBar1.Size     = new System.Drawing.Size(200, 8);
     this.progressBar1.Smooth   = false;
     this.progressBar1.Step     = 1;
     this.progressBar1.TabIndex = 1;
     this.progressBar1.Value    = 0;
     this.progressBar1.Visible  = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(5, 5);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(56, 40);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.pictureBox1.TabIndex = 2;
     this.pictureBox1.TabStop  = false;
     //
     // button1
     //
     this.button1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
     this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.button1.Location = new System.Drawing.Point(263, 3);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(12, 12);
     this.button1.Style    = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.button1.TabIndex = 3;
     this.button1.Type     = Neusoft.FrameWork.WinForms.Controls.General.ButtonType.None;
     this.button1.Visible  = false;
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(225, 4);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(33, 16);
     this.linkLabel1.Style        = Neusoft.FrameWork.WinForms.Controls.StyleType.Fixed3D;
     this.linkLabel1.TabIndex     = 4;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "取消";
     this.linkLabel1.Visible      = false;
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // frmWait
     //
     this.ClientSize = new System.Drawing.Size(280, 56);
     this.ControlBox = false;
     this.Controls.Add(this.linkLabel1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.label1);
     this.KeyPreview    = true;
     this.Name          = "frmWait";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "";
     this.TopMost       = true;
     this.Load         += new System.EventHandler(this.frmWait_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmWait_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }