• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Forms.DataGridView类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Forms.DataGridView的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.DataGridView类的具体用法?C# System.Windows.Forms.DataGridView怎么用?C# System.Windows.Forms.DataGridView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



System.Windows.Forms.DataGridView类属于命名空间,在下文中一共展示了System.Windows.Forms.DataGridView类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView
     //
     this.dataGridView.AllowUserToAddRows = false;
     this.dataGridView.AllowUserToDeleteRows = false;
     this.dataGridView.AllowUserToResizeRows = false;
     this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView.Location = new System.Drawing.Point(12, 12);
     this.dataGridView.Name = "dataGridView";
     this.dataGridView.ReadOnly = true;
     this.dataGridView.Size = new System.Drawing.Size(517, 337);
     this.dataGridView.TabIndex = 9;
     this.dataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentClick);
     //
     // CalificarVendedor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(541, 380);
     this.Controls.Add(this.dataGridView);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.Name = "CalificarVendedor";
     this.Text = "Calificar al Vendedor";
     this.Load += new System.EventHandler(this.CalificarVendedor_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:mllanos,项目名称:tp-gdd-2014-1c-ebay-frba-commerce,代码行数:38,代码来源:CalificarVendedor.designer.cs


示例2: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.grid = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
     this.SuspendLayout();
     //
     // grid
     //
     this.grid.AllowUserToAddRows = false;
     this.grid.AllowUserToDeleteRows = false;
     this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grid.Location = new System.Drawing.Point(0, 0);
     this.grid.Name = "grid";
     this.grid.ReadOnly = true;
     this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grid.Size = new System.Drawing.Size(606, 262);
     this.grid.TabIndex = 0;
     this.grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellContentClick);
     //
     // FrmGrid
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(606, 262);
     this.Controls.Add(this.grid);
     this.Name = "FrmGrid";
     this.ShowIcon = false;
     this.Text = "Esforço mínimo SQL";
     this.Load += new System.EventHandler(this.FrmGrid_Load);
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmGrid_FormClosed);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmGrid_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:WebAppsDevelopment,项目名称:SourceLib,代码行数:39,代码来源:FrmGrid.designer.cs


示例3: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.RowTemplate.Height = 23;
     this.dataGridView1.Size = new System.Drawing.Size(334, 310);
     this.dataGridView1.TabIndex = 0;
     this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     //
     // AttributeTableFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.ClientSize = new System.Drawing.Size(334, 310);
     this.Controls.Add(this.dataGridView1);
     this.Name = "AttributeTableFrm";
     this.Text = "AttributeTableFrm";
     this.Load += new System.EventHandler(this.AttributeTableFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:Krystal001025,项目名称:temp,代码行数:35,代码来源:AttributeTableFrm.designer.cs


示例4: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Location = new System.Drawing.Point(0, 0);
     this.dataGridView1.Margin = new System.Windows.Forms.Padding(0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.RowTemplate.Height = 23;
     this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.Size = new System.Drawing.Size(719, 367);
     this.dataGridView1.TabIndex = 17;
     this.dataGridView1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridView1_MouseDoubleClick);
     //
     // basic_model
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(719, 367);
     this.Controls.Add(this.dataGridView1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "basic_model";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = "药品生产商";
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:shenhx,项目名称:shenhongxiao_10207160518,代码行数:36,代码来源:basic_model.designer.cs


示例5: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fmPlayerLookup));
     this.dgPart = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dgPart)).BeginInit();
     this.SuspendLayout();
     //
     // dgPart
     //
     this.dgPart.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgPart.Location = new System.Drawing.Point(12, 12);
     this.dgPart.Name = "dgPart";
     this.dgPart.Size = new System.Drawing.Size(485, 368);
     this.dgPart.TabIndex = 0;
     this.dgPart.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgPart_CellDoubleClick);
     this.dgPart.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgPart_KeyPress);
     //
     // fmPlayerLookup
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(509, 392);
     this.Controls.Add(this.dgPart);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "fmPlayerLookup";
     this.Text = "Part Lookup";
     this.Load += new System.EventHandler(this.fmPartLookup_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgPart)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:JeromeVancouver,项目名称:DraftDayGuide,代码行数:34,代码来源:fmPlayerLookup.designer.cs


示例6: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Location = new System.Drawing.Point(12, 12);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(268, 249);
     this.dataGridView1.TabIndex = 0;
     //
     // SpamResultForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.dataGridView1);
     this.Name = "SpamResultForm";
     this.Text = "SpamResultForm";
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:slung,项目名称:fuzzyselector,代码行数:29,代码来源:SpamResultForm.designer.cs


示例7: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.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.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Column1,
     this.Column2,
     this.Column3});
     this.dataGridView1.Location = new System.Drawing.Point(12, 12);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.ReadOnly = true;
     this.dataGridView1.Size = new System.Drawing.Size(703, 612);
     this.dataGridView1.TabIndex = 0;
     //
     // Column1
     //
     this.Column1.HeaderText = "Номер канала";
     this.Column1.Name = "Column1";
     this.Column1.ReadOnly = true;
     this.Column1.Width = 150;
     //
     // Column2
     //
     this.Column2.HeaderText = "Описание";
     this.Column2.Name = "Column2";
     this.Column2.ReadOnly = true;
     this.Column2.Width = 300;
     //
     // Column3
     //
     this.Column3.HeaderText = "Текущее значение";
     this.Column3.Name = "Column3";
     this.Column3.ReadOnly = true;
     this.Column3.Width = 200;
     //
     // ChannelsViewForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(728, 636);
     this.Controls.Add(this.dataGridView1);
     this.Name = "ChannelsViewForm";
     this.Text = "Каналы";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChannelsViewForm_FormClosing);
     this.Load += new System.EventHandler(this.ChannelsViewForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:slawer,项目名称:devicemanager,代码行数:64,代码来源:ChannelsViewForm.designer.cs


示例8: CreateDataGridView

 private void CreateDataGridView()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this._gridResult2 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this._gridResult2)).BeginInit();
     this.tab_result2.Controls.Add(this._gridResult2);
     this._gridResult2.AllowUserToAddRows = false;
     this._gridResult2.AllowUserToDeleteRows = false;
     this._gridResult2.AllowUserToOrderColumns = true;
     this._gridResult2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     dataGridViewCellStyle1.NullValue = "(null)";
     this._gridResult2.DefaultCellStyle = dataGridViewCellStyle1;
     this._gridResult2.Dock = System.Windows.Forms.DockStyle.Fill;
     this._gridResult2.Location = new System.Drawing.Point(0, 0);
     this._gridResult2.Name = "grid_result2";
     this._gridResult2.ReadOnly = true;
     this._gridResult2.Size = new System.Drawing.Size(1048, 364);
     this._gridResult2.TabIndex = 0;
     this._gridResult2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.grid_result2_RowPostPaint);
     ((System.ComponentModel.ISupportInitialize)(this._gridResult2)).EndInit();
 }
开发者ID:labeuze,项目名称:source,代码行数:28,代码来源:RunSourceFormDataGridView.cs


示例9: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToOrderColumns = true;
     this.dataGridView1.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.dataGridView1.Location = new System.Drawing.Point(12, 12);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.ReadOnly = true;
     this.dataGridView1.Size = new System.Drawing.Size(968, 331);
     this.dataGridView1.TabIndex = 0;
     this.dataGridView1.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dataGridView1_CellPainting);
     //
     // FormFast
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(992, 355);
     this.Controls.Add(this.dataGridView1);
     this.Name = "FormFast";
     this.Text = "FormFast";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:vedran1,项目名称:sqlxdetails,代码行数:35,代码来源:FormFast.designer.cs


示例10: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(786, 428);
     this.dataGridView1.TabIndex = 0;
     //
     // frmVentasPesosCons
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(786, 428);
     this.Controls.Add(this.dataGridView1);
     this.Name = "frmVentasPesosCons";
     this.Text = "Consulta de venta en pesos";
     this.Load += new System.EventHandler(this.frmVentasPesosCons_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:BenjaOtero,项目名称:trend-pos-factura,代码行数:31,代码来源:frmVentasPesosCons.designer.cs


示例11: StatusWindow

        public StatusWindow()
        {
            InitializeComponent();

            statusDataGrid = new System.Windows.Forms.DataGridView();
            statusDataGrid.ColumnCount = 3;

            statusDataGrid.RowHeadersVisible = false;
            statusDataGrid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
            //statusDataGrid.Location = new System.Drawing.Point(8, 8);
            //statusDataGrid.Size = new System.Drawing.Size(500, 250);
            statusDataGrid.Name = "statusDataGridView";
            statusDataGrid.Columns[0].Name = Properties.Resources.StatusWindowGridStatus;
            statusDataGrid.Columns[1].Name = Properties.Resources.StatusWindowGridComponent;
            statusDataGrid.Columns[2].Name = Properties.Resources.StatusWindowGridMessage;
            statusDataGrid.Columns[0].Width = 80;
            statusDataGrid.Columns[1].Width = 120;
            statusDataGrid.Columns[2].Width = (int)formsHost.Width - 80 - 120;

            this.formsHost.Child = statusDataGrid;
            statusDataGrid.Width = (int)this.formsHost.Width;
            statusDataGrid.Height = (int)this.formsHost.Height;
            statusDataGrid.ScrollBars = System.Windows.Forms.ScrollBars.Both;

            this.SizeChanged += new SizeChangedEventHandler(StatusWindow_SizeChanged);
        }
开发者ID:Walid-Shouman,项目名称:AsTeRICS,代码行数:26,代码来源:StatusWindow.xaml.cs


示例12: InitializeComponent

 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.Tabla_Instancias = new System.Windows.Forms.DataGridView();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // Tabla_Instancias
     //
     this.Tabla_Instancias.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.Tabla_Instancias.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Tabla_Instancias.Location = new System.Drawing.Point(10, 10);
     this.Tabla_Instancias.Name = "Tabla_Instancias";
     this.Tabla_Instancias.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.Tabla_Instancias.Size = new System.Drawing.Size(526, 124);
     this.Tabla_Instancias.TabIndex = 0;
     this.Tabla_Instancias.DoubleClick += new System.EventHandler(this.Tabla_Instancias_DoubleClick);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Padding = new System.Windows.Forms.Padding(10);
     this.panel1.Size = new System.Drawing.Size(566, 164);
     this.panel1.TabIndex = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.Tabla_Instancias);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(10, 10);
     this.panel2.Name = "panel2";
     this.panel2.Padding = new System.Windows.Forms.Padding(10);
     this.panel2.Size = new System.Drawing.Size(546, 144);
     this.panel2.TabIndex = 0;
     //
     // FrmInstancia_SQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.DimGray;
     this.ClientSize = new System.Drawing.Size(566, 164);
     this.Controls.Add(this.panel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmInstancia_SQL";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Instancias SQL";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
开发者ID:24SieteConsulting,项目名称:AvoTrace,代码行数:64,代码来源:FrmInstancia_SQL.designer.cs


示例13: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnOK = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.grdProperties = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.grdProperties)).BeginInit();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Location = new System.Drawing.Point(168, 96);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 0;
     this.btnOK.Text = "OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(250, 96);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 1;
     this.btnCancel.Text = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // grdPendingProperties
     //
     this.grdProperties.AllowUserToAddRows = false;
     this.grdProperties.AllowUserToDeleteRows = false;
     this.grdProperties.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.grdProperties.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grdProperties.Location = new System.Drawing.Point(13, 13);
     this.grdProperties.Name = "grdPendingProperties";
     this.grdProperties.Size = new System.Drawing.Size(312, 77);
     this.grdProperties.TabIndex = 2;
     //
     // PendingParameterDialog
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(337, 131);
     this.Controls.Add(this.grdProperties);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Name = "PendingParameterDialog";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Set Additional Parameters";
     ((System.ComponentModel.ISupportInitialize)(this.grdProperties)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:jumpinjackie,项目名称:fdotoolbox,代码行数:64,代码来源:DictionaryDialog.designer.cs


示例14: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.grdWinter = new System.Windows.Forms.DataGridView();
     this.gridMenuStrip = new zaitun.GUI.GridMenuStrip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.grdWinter)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.dataGridViewTextBoxColumn1.HeaderText = "Value";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly = true;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.HeaderText = "Predicted";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly = true;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.HeaderText = "Residual";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly = true;
     //
     // grdWinter
     //
     this.grdWinter.AllowUserToAddRows = false;
     this.grdWinter.AllowUserToDeleteRows = false;
     this.grdWinter.AllowUserToResizeRows = false;
     this.grdWinter.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grdWinter.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grdWinter.ContextMenuStrip = this.gridMenuStrip;
     this.grdWinter.Location = new System.Drawing.Point(0, 0);
     this.grdWinter.Margin = new System.Windows.Forms.Padding(10);
     this.grdWinter.Name = "grdWinter";
     this.grdWinter.ReadOnly = true;
     this.grdWinter.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.grdWinter.RowTemplate.Height = 25;
     this.grdWinter.Size = new System.Drawing.Size(512, 353);
     this.grdWinter.TabIndex = 4;
     //
     // gridMenuStrip
     //
     this.gridMenuStrip.Name = "mnuGrid";
     this.gridMenuStrip.Size = new System.Drawing.Size(168, 142);
     //
     // TripleExponentialSmoothingWinterDataGrid
     //
     this.Controls.Add(this.grdWinter);
     this.Name = "TripleExponentialSmoothingWinterDataGrid";
     this.Size = new System.Drawing.Size(512, 353);
     ((System.ComponentModel.ISupportInitialize)(this.grdWinter)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:ammepuspita,项目名称:zaitun-time-series,代码行数:64,代码来源:TripleExponentialSmoothingWinterDataGrid.designer.cs


示例15: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows = false;
     this.dataGridView1.AllowUserToDeleteRows = false;
     this.dataGridView1.AllowUserToOrderColumns = true;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.ReadOnly = true;
     this.dataGridView1.Size = new System.Drawing.Size(647, 349);
     this.dataGridView1.TabIndex = 0;
     //
     // QueryResult
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(647, 349);
     this.Controls.Add(this.dataGridView1);
     this.Name = "QueryResult";
     this.Text = "QueryResult";
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:jamesmaxwell,项目名称:DesignPatternDemo,代码行数:34,代码来源:QueryResult.designer.cs


示例16: InitializeComponent

 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.dg_tipo_sector = new System.Windows.Forms.DataGridView();
     this.Column1 = new System.Windows.Forms.DataGridViewButtonColumn();
     this.btnSalir = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dg_tipo_sector)).BeginInit();
     this.SuspendLayout();
     //
     // dg_tipo_sector
     //
     this.dg_tipo_sector.AllowUserToAddRows = false;
     this.dg_tipo_sector.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dg_tipo_sector.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Column1});
     this.dg_tipo_sector.Location = new System.Drawing.Point(17, 31);
     this.dg_tipo_sector.Margin = new System.Windows.Forms.Padding(2);
     this.dg_tipo_sector.Name = "dg_tipo_sector";
     this.dg_tipo_sector.ReadOnly = true;
     this.dg_tipo_sector.RowTemplate.Height = 28;
     this.dg_tipo_sector.Size = new System.Drawing.Size(369, 196);
     this.dg_tipo_sector.TabIndex = 0;
     this.dg_tipo_sector.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dg_tipo_sector_CellContentClick);
     //
     // Column1
     //
     this.Column1.HeaderText = "";
     this.Column1.Name = "Column1";
     this.Column1.ReadOnly = true;
     this.Column1.Text = "Eliminar";
     this.Column1.ToolTipText = "Eliminar";
     this.Column1.UseColumnTextForButtonValue = true;
     //
     // btnSalir
     //
     this.btnSalir.Location = new System.Drawing.Point(280, 240);
     this.btnSalir.Margin = new System.Windows.Forms.Padding(2);
     this.btnSalir.Name = "btnSalir";
     this.btnSalir.Size = new System.Drawing.Size(109, 41);
     this.btnSalir.TabIndex = 1;
     this.btnSalir.Text = "Salir";
     this.btnSalir.UseVisualStyleBackColor = true;
     this.btnSalir.Click += new System.EventHandler(this.btnSalir_Click);
     //
     // EliminarTipoSector
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.ActiveCaption;
     this.ClientSize = new System.Drawing.Size(402, 301);
     this.Controls.Add(this.btnSalir);
     this.Controls.Add(this.dg_tipo_sector);
     this.Margin = new System.Windows.Forms.Padding(2);
     this.MaximizeBox = false;
     this.Name = "EliminarTipoSector";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Eliminar Tipo de Sector";
     this.Load += new System.EventHandler(this.EliminarTipoSector_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dg_tipo_sector)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:martinc2015,项目名称:KRISMAGIT,代码行数:64,代码来源:EliminarTipoSector.designer.cs


示例17: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.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.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Location = new System.Drawing.Point(1, 3);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(291, 170);
     this.dataGridView1.TabIndex = 0;
     //
     // EjemploDataReader2
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(293, 172);
     this.Controls.Add(this.dataGridView1);
     this.Name = "EjemploDataReader2";
     this.Text = "EjemploDataReader2";
     this.Load += new System.EventHandler(this.EjemploDataReader2_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:vvalotto,项目名称:PlataformaNET,代码行数:33,代码来源:EjemploDataReader2.designer.cs


示例18: InitializeComponent

 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this.DataGridView = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).BeginInit();
     this.SuspendLayout();
     //
     // DataGridView
     //
     this.DataGridView.AllowUserToAddRows = false;
     this.DataGridView.AllowUserToDeleteRows = false;
     this.DataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.DataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.DataGridView.Location = new System.Drawing.Point(0, 0);
     this.DataGridView.Name = "DataGridView";
     this.DataGridView.ReadOnly = true;
     this.DataGridView.RowTemplate.Height = 21;
     this.DataGridView.Size = new System.Drawing.Size(292, 273);
     this.DataGridView.TabIndex = 0;
     //
     // MatrixVisualizerForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.DataGridView);
     this.Name = "MatrixVisualizerForm";
     this.ShowIcon = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Matrix Visualizer";
     ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:krdlab,项目名称:lisys,代码行数:37,代码来源:MatrixVisualizerForm.designer.cs


示例19: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.DGV = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.DGV)).BeginInit();
     this.SuspendLayout();
     //
     // DGV
     //
     this.DGV.AllowUserToAddRows = false;
     this.DGV.AllowUserToDeleteRows = false;
     this.DGV.AllowUserToOrderColumns = true;
     this.DGV.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.DGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.DGV.Dock = System.Windows.Forms.DockStyle.Fill;
     this.DGV.Location = new System.Drawing.Point(0, 0);
     this.DGV.Name = "DGV";
     this.DGV.ReadOnly = true;
     this.DGV.Size = new System.Drawing.Size(628, 211);
     this.DGV.TabIndex = 0;
     this.DGV.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DGV_ColumnHeaderMouseClick);
     this.DGV.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEvent 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Forms.DataGridViewCellStyle类代码示例发布时间:2022-05-24
下一篇:
C# Forms.ContextMenuStrip类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap