Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MyBrowseForm));
     this.dataGridView1 = new KDS.UI.Component.DataGridViewBase();
     this.btnOK         = new KDS.UI.Component.ButtonBase();
     this.btnCancel     = new KDS.UI.Component.ButtonBase();
     this.lblRemark     = new KDS.UI.Component.LableBase();
     this.btnMore       = new KDS.UI.Component.ButtonBase();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // _txtDefaultFocus
     //
     this._txtDefaultFocus.AccessibleDescription = null;
     this._txtDefaultFocus.AccessibleName        = null;
     resources.ApplyResources(this._txtDefaultFocus, "_txtDefaultFocus");
     this._txtDefaultFocus.BackgroundImage = null;
     this._txtDefaultFocus.Font            = null;
     //
     // dataGridView1
     //
     this.dataGridView1.AccessibleDescription   = null;
     this.dataGridView1.AccessibleName          = null;
     this.dataGridView1.AllowUserToAddRows      = false;
     this.dataGridView1.AllowUserToDeleteRows   = false;
     this.dataGridView1.AllowUserToOrderColumns = true;
     this.dataGridView1.AllowUserToResizeRows   = false;
     resources.ApplyResources(this.dataGridView1, "dataGridView1");
     this.dataGridView1.BackgroundColor    = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(241)))), ((int)(((byte)(254)))));
     this.dataGridView1.BackgroundImage    = null;
     this.dataGridView1.Font               = null;
     this.dataGridView1.Name               = "dataGridView1";
     this.dataGridView1.ReadOnly           = true;
     this.dataGridView1.RowHeadersVisible  = false;
     this.dataGridView1.RowTemplate.Height = 23;
     this.dataGridView1.SelectionMode      = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.DoubleClick       += new System.EventHandler(this.dataGridView1_DoubleClick);
     this.dataGridView1.KeyDown           += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
     //
     // 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.UseVisualStyleBackColor = true;
     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.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // lblRemark
     //
     this.lblRemark.AccessibleDescription = null;
     this.lblRemark.AccessibleName        = null;
     resources.ApplyResources(this.lblRemark, "lblRemark");
     this.lblRemark.BackColor = System.Drawing.Color.Transparent;
     this.lblRemark.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.lblRemark.Name      = "lblRemark";
     //
     // btnMore
     //
     this.btnMore.AccessibleDescription = null;
     this.btnMore.AccessibleName        = null;
     resources.ApplyResources(this.btnMore, "btnMore");
     this.btnMore.BackgroundImage         = null;
     this.btnMore.Font                    = null;
     this.btnMore.Name                    = "btnMore";
     this.btnMore.UseVisualStyleBackColor = true;
     //
     // MyBrowseForm
     //
     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.btnMore);
     this.Controls.Add(this.lblRemark);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.dataGridView1);
     this.Font            = null;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = null;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MyBrowseForm";
     this.Load           += new System.EventHandler(this.MyBrowseForm_Load);
     this.Controls.SetChildIndex(this.dataGridView1, 0);
     this.Controls.SetChildIndex(this.btnOK, 0);
     this.Controls.SetChildIndex(this.btnCancel, 0);
     this.Controls.SetChildIndex(this._txtDefaultFocus, 0);
     this.Controls.SetChildIndex(this.lblRemark, 0);
     this.Controls.SetChildIndex(this.btnMore, 0);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 2
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FilterForm));
     this.toolStrip1    = new System.Windows.Forms.ToolStrip();
     this.tsbFilter     = new System.Windows.Forms.ToolStripButton();
     this.tsbLoadFilter = new System.Windows.Forms.ToolStripButton();
     this.tsbSaveFilter = new System.Windows.Forms.ToolStripButton();
     this.tsbCancel     = new System.Windows.Forms.ToolStripButton();
     this.btnClose      = new KDS.UI.Component.ButtonBase();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStrip1
     //
     this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbFilter,
         this.tsbLoadFilter,
         this.tsbSaveFilter,
         this.tsbCancel
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(610, 40);
     this.toolStrip1.TabIndex = 3;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // tsbFilter
     //
     this.tsbFilter.Image = ((System.Drawing.Image)(resources.GetObject("tsbFilter.Image")));
     this.tsbFilter.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbFilter.Name = "tsbFilter";
     this.tsbFilter.Size = new System.Drawing.Size(52, 37);
     this.tsbFilter.Text = "检索(&R)";
     this.tsbFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbFilter.Click            += new System.EventHandler(this.tsbFilter_Click);
     //
     // tsbLoadFilter
     //
     this.tsbLoadFilter.Image = ((System.Drawing.Image)(resources.GetObject("tsbLoadFilter.Image")));
     this.tsbLoadFilter.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbLoadFilter.Name = "tsbLoadFilter";
     this.tsbLoadFilter.Size = new System.Drawing.Size(54, 37);
     this.tsbLoadFilter.Text = "打开(&O)";
     this.tsbLoadFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbLoadFilter.ToolTipText       = "载入已保存的条件";
     this.tsbLoadFilter.Click            += new System.EventHandler(this.tsbLoadFilter_Click);
     //
     // tsbSaveFilter
     //
     this.tsbSaveFilter.Image = ((System.Drawing.Image)(resources.GetObject("tsbSaveFilter.Image")));
     this.tsbSaveFilter.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbSaveFilter.Name = "tsbSaveFilter";
     this.tsbSaveFilter.Size = new System.Drawing.Size(51, 37);
     this.tsbSaveFilter.Text = "保存(&S)";
     this.tsbSaveFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbSaveFilter.ToolTipText       = "将当前的条件保存";
     this.tsbSaveFilter.Click            += new System.EventHandler(this.tsbSaveFilter_Click);
     //
     // tsbCancel
     //
     this.tsbCancel.Image = ((System.Drawing.Image)(resources.GetObject("tsbCancel.Image")));
     this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbCancel.Name = "tsbCancel";
     this.tsbCancel.Size = new System.Drawing.Size(52, 37);
     this.tsbCancel.Text = "取消(&X)";
     this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.tsbCancel.Click            += new System.EventHandler(this.tsbCancel_Click);
     //
     // btnClose
     //
     this.btnClose.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle               = System.Windows.Forms.FlatStyle.Popup;
     this.btnClose.Location                = new System.Drawing.Point(-100, -100);
     this.btnClose.Name                    = "btnClose";
     this.btnClose.Size                    = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex                = 4;
     this.btnClose.Text                    = "关闭";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click                  += new System.EventHandler(this.btnClose_Click);
     //
     // FilterForm
     //
     this.CancelButton = this.btnClose;
     this.ClientSize   = new System.Drawing.Size(610, 398);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.toolStrip1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FilterForm";
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "条件选择";
     this.Controls.SetChildIndex(this.toolStrip1, 0);
     this.Controls.SetChildIndex(this.btnClose, 0);
     this.Controls.SetChildIndex(this._txtDefaultFocus, 0);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 3
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FilterForm));
     this.toolStrip1    = new System.Windows.Forms.ToolStrip();
     this.tsbFilter     = new System.Windows.Forms.ToolStripButton();
     this.tsbLoadFilter = new System.Windows.Forms.ToolStripButton();
     this.tsbSaveFilter = new System.Windows.Forms.ToolStripButton();
     this.tsbCancel     = new System.Windows.Forms.ToolStripButton();
     this.btnClose      = new KDS.UI.Component.ButtonBase();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStrip1
     //
     this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbFilter,
         this.tsbLoadFilter,
         this.tsbSaveFilter,
         this.tsbCancel
     });
     resources.ApplyResources(this.toolStrip1, "toolStrip1");
     this.toolStrip1.Name = "toolStrip1";
     //
     // tsbFilter
     //
     resources.ApplyResources(this.tsbFilter, "tsbFilter");
     this.tsbFilter.Name   = "tsbFilter";
     this.tsbFilter.Click += new System.EventHandler(this.tsbFilter_Click);
     //
     // tsbLoadFilter
     //
     resources.ApplyResources(this.tsbLoadFilter, "tsbLoadFilter");
     this.tsbLoadFilter.Name   = "tsbLoadFilter";
     this.tsbLoadFilter.Click += new System.EventHandler(this.tsbLoadFilter_Click);
     //
     // tsbSaveFilter
     //
     resources.ApplyResources(this.tsbSaveFilter, "tsbSaveFilter");
     this.tsbSaveFilter.Name   = "tsbSaveFilter";
     this.tsbSaveFilter.Click += new System.EventHandler(this.tsbSaveFilter_Click);
     //
     // tsbCancel
     //
     resources.ApplyResources(this.tsbCancel, "tsbCancel");
     this.tsbCancel.Name   = "tsbCancel";
     this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.btnClose, "btnClose");
     this.btnClose.Name = "btnClose";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // FilterForm
     //
     this.CancelButton = this.btnClose;
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.toolStrip1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "FilterForm";
     this.ShowIcon    = false;
     this.Controls.SetChildIndex(this.toolStrip1, 0);
     this.Controls.SetChildIndex(this.btnClose, 0);
     this.Controls.SetChildIndex(this._txtDefaultFocus, 0);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }