📄 form1.designer.cs
字号:
using System.Diagnostics;
using System;
using System.Windows.Forms;
using System.Collections;
using System.Drawing;
using Microsoft.VisualBasic;
using System.Data;
using System.Collections.Generic;
namespace SqlCeResultSet
{
public partial class Form1 : System.Windows.Forms.Form
{
//Form overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.EmployeesDataGridView = new System.Windows.Forms.DataGridView();
this.EmployeeBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.LoadButton = new System.Windows.Forms.Button();
this.LoadButton.Click += new System.EventHandler(LoadButton_Click);
this.UpdateUnderlyingDataButton = new System.Windows.Forms.Button();
this.UpdateUnderlyingDataButton.Click += new System.EventHandler(UpdateUnderlyingDataButton_Click);
this.EmployeeIdTextBox = new System.Windows.Forms.TextBox();
this.EmployeeNameTextBox = new System.Windows.Forms.TextBox();
this.Label1 = new System.Windows.Forms.Label();
this.Label2 = new System.Windows.Forms.Label();
this.Panel1 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize) this.EmployeesDataGridView).BeginInit();
((System.ComponentModel.ISupportInitialize) this.EmployeeBindingSource).BeginInit();
this.Panel1.SuspendLayout();
this.SuspendLayout();
//
//EmployeesDataGridView
//
this.EmployeesDataGridView.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.EmployeesDataGridView.AutoGenerateColumns = false;
this.EmployeesDataGridView.BackgroundColor = System.Drawing.Color.White;
this.EmployeesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.EmployeesDataGridView.DataSource = this.EmployeeBindingSource;
this.EmployeesDataGridView.Location = new System.Drawing.Point(22, 238);
this.EmployeesDataGridView.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.EmployeesDataGridView.Name = "EmployeesDataGridView";
this.EmployeesDataGridView.Size = new System.Drawing.Size(802, 230);
this.EmployeesDataGridView.TabIndex = 1;
//
//LoadButton
//
this.LoadButton.CausesValidation = false;
this.LoadButton.Location = new System.Drawing.Point(24, 24);
this.LoadButton.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.LoadButton.Name = "LoadButton";
this.LoadButton.Size = new System.Drawing.Size(137, 42);
this.LoadButton.TabIndex = 0;
this.LoadButton.Text = "Load";
this.LoadButton.UseVisualStyleBackColor = true;
//
//UpdateUnderlyingDataButton
//
this.UpdateUnderlyingDataButton.CausesValidation = false;
this.UpdateUnderlyingDataButton.Location = new System.Drawing.Point(18, 110);
this.UpdateUnderlyingDataButton.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.UpdateUnderlyingDataButton.Name = "UpdateUnderlyingDataButton";
this.UpdateUnderlyingDataButton.Size = new System.Drawing.Size(318, 42);
this.UpdateUnderlyingDataButton.TabIndex = 2;
this.UpdateUnderlyingDataButton.Text = "Update underlying data";
this.UpdateUnderlyingDataButton.UseVisualStyleBackColor = true;
//
//EmployeeIdTextBox
//
this.EmployeeIdTextBox.CausesValidation = false;
this.EmployeeIdTextBox.Location = new System.Drawing.Point(152, 14);
this.EmployeeIdTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.EmployeeIdTextBox.Name = "EmployeeIdTextBox";
this.EmployeeIdTextBox.Size = new System.Drawing.Size(180, 29);
this.EmployeeIdTextBox.TabIndex = 0;
//
//EmployeeNameTextBox
//
this.EmployeeNameTextBox.CausesValidation = false;
this.EmployeeNameTextBox.Location = new System.Drawing.Point(152, 62);
this.EmployeeNameTextBox.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.EmployeeNameTextBox.Name = "EmployeeNameTextBox";
this.EmployeeNameTextBox.Size = new System.Drawing.Size(180, 29);
this.EmployeeNameTextBox.TabIndex = 1;
//
//Label1
//
this.Label1.AutoSize = true;
this.Label1.Location = new System.Drawing.Point(12, 20);
this.Label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.Label1.Name = "Label1";
this.Label1.Size = new System.Drawing.Size(123, 24);
this.Label1.TabIndex = 5;
this.Label1.Text = "Employee ID:";
//
//Label2
//
this.Label2.AutoSize = true;
this.Label2.Location = new System.Drawing.Point(12, 68);
this.Label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(66, 24);
this.Label2.TabIndex = 6;
this.Label2.Text = "Name:";
//
//Panel1
//
this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.Panel1.Controls.Add(this.UpdateUnderlyingDataButton);
this.Panel1.Controls.Add(this.Label2);
this.Panel1.Controls.Add(this.EmployeeIdTextBox);
this.Panel1.Controls.Add(this.Label1);
this.Panel1.Controls.Add(this.EmployeeNameTextBox);
this.Panel1.Location = new System.Drawing.Point(172, 22);
this.Panel1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.Panel1.Name = "Panel1";
this.Panel1.Size = new System.Drawing.Size(363, 182);
this.Panel1.TabIndex = 7;
//
//Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11.0f, 24.0f);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(846, 491);
this.Controls.Add(this.Panel1);
this.Controls.Add(this.LoadButton);
this.Controls.Add(this.EmployeesDataGridView);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.0F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.Name = "Form1";
this.Text = "Form1";
((System.ComponentModel.ISupportInitialize) this.EmployeesDataGridView).EndInit();
((System.ComponentModel.ISupportInitialize) this.EmployeeBindingSource).EndInit();
this.Panel1.ResumeLayout(false);
this.Panel1.PerformLayout();
this.ResumeLayout(false);
}
internal System.Windows.Forms.DataGridView EmployeesDataGridView;
internal System.Windows.Forms.BindingSource EmployeeBindingSource;
internal System.Windows.Forms.Button LoadButton;
internal System.Windows.Forms.Button UpdateUnderlyingDataButton;
internal System.Windows.Forms.TextBox EmployeeIdTextBox;
internal System.Windows.Forms.TextBox EmployeeNameTextBox;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Panel Panel1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -