Exemplo n.º 1
0
 private void UCTestCaseStatus_Load(object sender, EventArgs e)
 {
     this.projectGridView = new Wims.Common.UI.WimsGridView(this.components);
     this.Controls.Clear();
     this.Controls.Add(this.projectGridView);
     this.projectGridView.LoadData <TestCase>(new List <TestCase>(), hides);
 }
Exemplo n.º 2
0
        protected void InitializeComponent()
        {
            this.components        = new System.ComponentModel.Container();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.myToolStrip1      = new Wims.Common.UI.WimsToolStrip(this.components);
            this.myGridView1       = new Wims.Common.UI.WimsGridView(this.components);

            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.myGridView1)).BeginInit();
            this.SuspendLayout();
            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.myToolStrip1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.myGridView1, 0, 2);

            this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(6, 6, 6, 6);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 3;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 58F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 58F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Size     = new System.Drawing.Size(1360, 867);
            this.tableLayoutPanel1.TabIndex = 3;
            //
            // myToolStrip1
            //
            this.myToolStrip1.ActionClickAdd    = null;
            this.myToolStrip1.ActionClickDelete = null;
            this.myToolStrip1.ActionClickModify = null;
            this.myToolStrip1.ActionClickSelect = null;
            this.myToolStrip1.Dock             = System.Windows.Forms.DockStyle.Fill;
            this.myToolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
            this.myToolStrip1.Location         = new System.Drawing.Point(0, 0);
            this.myToolStrip1.Name             = "myToolStrip1";
            this.myToolStrip1.Padding          = new System.Windows.Forms.Padding(0, 0, 2, 0);
            this.myToolStrip1.ShowAdd          = true;
            this.myToolStrip1.ShowModify       = true;
            this.myToolStrip1.ShowSelect       = false;
            this.myToolStrip1.Size             = new System.Drawing.Size(1360, 58);
            this.myToolStrip1.TabIndex         = 0;
            this.myToolStrip1.Text             = "myToolStrip1";
            //
            // myGridView1
            // 6
            this.myGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.myGridView1.Location           = new System.Drawing.Point(6, 64);
            this.myGridView1.Margin             = new System.Windows.Forms.Padding(6, 6, 6, 6);
            this.myGridView1.Name               = "myGridView1";
            this.myGridView1.RowTemplate.Height = 23;
            this.myGridView1.Size               = new System.Drawing.Size(388, 67);
            this.myGridView1.TabIndex           = 1;



            //
            // FormProject
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1360, 867);
            this.Controls.Add(this.tableLayoutPanel1);
            this.Margin                = new System.Windows.Forms.Padding(9, 10, 9, 10);
            this.Name                  = "FormProject";
            this.Text                  = "管理";
            this.Load                 += new System.EventHandler(this.Form_Load);
            this.ucSearch              = new UCSearch <T>();
            this.ucSearch.EnumType     = this.EnumType;
            this.ucSearch.ActionSearch = this.Search;
            this.tableLayoutPanel1.Controls.Add(this.ucSearch, 0, 1);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.myGridView1)).EndInit();
            this.ResumeLayout(false);
        }