⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 Creating your SQL Server Compact Edition database and schema in code
💻 CS
字号:
using System.Diagnostics;
using System;
using System.Windows.Forms;
using System.Collections;
using System.Drawing;
using System.Data;
using System.Collections.Generic;
using System.Linq;

namespace CreatingDatabaseSchemaInCode
{
	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)
		{
			try
			{
				if (disposing && (components != null))
				{
					components.Dispose();
				}
			}
			finally
			{
				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.InitDatabaseButton = new System.Windows.Forms.Button();
			this.InitDatabaseButton.Click += new System.EventHandler(InitDatabaseButton_Click);
			this.DeleteButton = new System.Windows.Forms.Button();
			this.DeleteButton.Click += new System.EventHandler(DeleteButton_Click);
			this.DataGridView1 = new System.Windows.Forms.DataGridView();
			this.SupplierBindingSource = new System.Windows.Forms.BindingSource(this.components);
			this.DbInfoDataGridView = new System.Windows.Forms.DataGridView();
			this.DbInfoBindingSource = new System.Windows.Forms.BindingSource(this.components);
			this.Label1 = new System.Windows.Forms.Label();
			this.SplitContainer1 = new System.Windows.Forms.SplitContainer();
			((System.ComponentModel.ISupportInitialize) this.DataGridView1).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.SupplierBindingSource).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.DbInfoDataGridView).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.DbInfoBindingSource).BeginInit();
			this.SplitContainer1.Panel1.SuspendLayout();
			this.SplitContainer1.Panel2.SuspendLayout();
			this.SplitContainer1.SuspendLayout();
			this.SuspendLayout();
			//
			//InitDatabaseButton
			//
			this.InitDatabaseButton.Location = new System.Drawing.Point(9, 60);
			this.InitDatabaseButton.Margin = new System.Windows.Forms.Padding(6);
			this.InitDatabaseButton.Name = "InitDatabaseButton";
			this.InitDatabaseButton.Size = new System.Drawing.Size(227, 42);
			this.InitDatabaseButton.TabIndex = 0;
			this.InitDatabaseButton.Text = "Initialize the Database";
			this.InitDatabaseButton.UseVisualStyleBackColor = true;
			//
			//DeleteButton
			//
			this.DeleteButton.Location = new System.Drawing.Point(9, 6);
			this.DeleteButton.Margin = new System.Windows.Forms.Padding(6);
			this.DeleteButton.Name = "DeleteButton";
			this.DeleteButton.Size = new System.Drawing.Size(227, 42);
			this.DeleteButton.TabIndex = 1;
			this.DeleteButton.Text = "Delete the Database";
			this.DeleteButton.UseVisualStyleBackColor = true;
			//
			//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.Window;
			this.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.DataGridView1.Location = new System.Drawing.Point(0, 111);
			this.DataGridView1.Name = "DataGridView1";
			this.DataGridView1.Size = new System.Drawing.Size(336, 321);
			this.DataGridView1.TabIndex = 2;
			//
			//DbInfoDataGridView
			//
			this.DbInfoDataGridView.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.DbInfoDataGridView.AutoGenerateColumns = false;
			this.DbInfoDataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
			this.DbInfoDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.DbInfoDataGridView.DataSource = this.DbInfoBindingSource;
			this.DbInfoDataGridView.Location = new System.Drawing.Point(3, 35);
			this.DbInfoDataGridView.Name = "DbInfoDataGridView";
			this.DbInfoDataGridView.Size = new System.Drawing.Size(255, 397);
			this.DbInfoDataGridView.TabIndex = 3;
			//
			//Label1
			//
			this.Label1.AutoSize = true;
			this.Label1.Location = new System.Drawing.Point(3, 6);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(128, 24);
			this.Label1.TabIndex = 4;
			this.Label1.Text = "Database Info:";
			//
			//SplitContainer1
			//
			this.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.SplitContainer1.Location = new System.Drawing.Point(0, 0);
			this.SplitContainer1.Name = "SplitContainer1";
			//
			//SplitContainer1.Panel1
			//
			this.SplitContainer1.Panel1.Controls.Add(this.DeleteButton);
			this.SplitContainer1.Panel1.Controls.Add(this.InitDatabaseButton);
			this.SplitContainer1.Panel1.Controls.Add(this.DataGridView1);
			//
			//SplitContainer1.Panel2
			//
			this.SplitContainer1.Panel2.Controls.Add(this.Label1);
			this.SplitContainer1.Panel2.Controls.Add(this.DbInfoDataGridView);
			this.SplitContainer1.Size = new System.Drawing.Size(601, 432);
			this.SplitContainer1.SplitterDistance = 336;
			this.SplitContainer1.TabIndex = 5;
			//
			//Form1
			//
			this.AutoScaleDimensions = new System.Drawing.SizeF(11.0f, 24.0f);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(601, 432);
			this.Controls.Add(this.SplitContainer1);
			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(6);
			this.Name = "Form1";
			this.Text = "Form1";
			((System.ComponentModel.ISupportInitialize) this.DataGridView1).EndInit();
			((System.ComponentModel.ISupportInitialize) this.SupplierBindingSource).EndInit();
			((System.ComponentModel.ISupportInitialize) this.DbInfoDataGridView).EndInit();
			((System.ComponentModel.ISupportInitialize) this.DbInfoBindingSource).EndInit();
			this.SplitContainer1.Panel1.ResumeLayout(false);
			this.SplitContainer1.Panel2.ResumeLayout(false);
			this.SplitContainer1.Panel2.PerformLayout();
			this.SplitContainer1.ResumeLayout(false);
			this.ResumeLayout(false);
			
		}
		internal System.Windows.Forms.Button InitDatabaseButton;
		internal System.Windows.Forms.Button DeleteButton;
		internal System.Windows.Forms.DataGridView DataGridView1;
		internal System.Windows.Forms.BindingSource SupplierBindingSource;
		internal System.Windows.Forms.DataGridView DbInfoDataGridView;
		internal System.Windows.Forms.BindingSource DbInfoBindingSource;
		internal System.Windows.Forms.Label Label1;
		internal System.Windows.Forms.SplitContainer SplitContainer1;
		
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -