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

📄 form1.designer.cs

📁 C#访问数据库,并建立多个表之间的关系,查询多个表,包含了数据库Northwind
💻 CS
字号:
namespace CustomerEditor
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            Disconnect();
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
                base.Dispose(disposing);
            }
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.menuMain = new System.Windows.Forms.MenuStrip();
            this.MenuData = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuDataConnect = new System.Windows.Forms.ToolStripMenuItem();
            this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.menuDataSaveChanges = new System.Windows.Forms.ToolStripMenuItem();
            this.openDialogFile = new System.Windows.Forms.OpenFileDialog();
            this.datagridCustomers = new System.Windows.Forms.DataGrid();
            this.menuMain.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.datagridCustomers)).BeginInit();
            this.SuspendLayout();
            // 
            // menuMain
            // 
            this.menuMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuData});
            this.menuMain.Location = new System.Drawing.Point(0, 0);
            this.menuMain.Name = "menuMain";
            this.menuMain.Size = new System.Drawing.Size(424, 24);
            this.menuMain.TabIndex = 0;
            this.menuMain.Text = "menuStrip1";
            // 
            // MenuData
            // 
            this.MenuData.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuDataConnect,
            this.loadToolStripMenuItem,
            this.menuDataSaveChanges});
            this.MenuData.Name = "MenuData";
            this.MenuData.Size = new System.Drawing.Size(41, 20);
            this.MenuData.Text = "&Data";
            // 
            // MenuDataConnect
            // 
            this.MenuDataConnect.Name = "MenuDataConnect";
            this.MenuDataConnect.Size = new System.Drawing.Size(136, 22);
            this.MenuDataConnect.Text = "&ConnectData";
            this.MenuDataConnect.Click += new System.EventHandler(this.MenuDataConnect_Click);
            // 
            // loadToolStripMenuItem
            // 
            this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
            this.loadToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.loadToolStripMenuItem.Text = "&Load";
            this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
            // 
            // menuDataSaveChanges
            // 
            this.menuDataSaveChanges.Name = "menuDataSaveChanges";
            this.menuDataSaveChanges.Size = new System.Drawing.Size(136, 22);
            this.menuDataSaveChanges.Text = "&Save";
            this.menuDataSaveChanges.Click += new System.EventHandler(this.menuDataSaveChanges_Click);
            // 
            // openDialogFile
            // 
            this.openDialogFile.FileName = "openFileDialog1";
            this.openDialogFile.Title = "openDialogFile";
            // 
            // datagridCustomers
            // 
            this.datagridCustomers.DataMember = "";
            this.datagridCustomers.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.datagridCustomers.Location = new System.Drawing.Point(0, 27);
            this.datagridCustomers.Name = "datagridCustomers";
            this.datagridCustomers.Size = new System.Drawing.Size(424, 401);
            this.datagridCustomers.TabIndex = 1;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(424, 464);
            this.Controls.Add(this.datagridCustomers);
            this.Controls.Add(this.menuMain);
            this.Name = "Form1";
            this.Text = "Editor";
            this.menuMain.ResumeLayout(false);
            this.menuMain.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.datagridCustomers)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menuMain;
        private System.Windows.Forms.ToolStripMenuItem MenuData;
        private System.Windows.Forms.ToolStripMenuItem MenuDataConnect;
        private System.Windows.Forms.OpenFileDialog openDialogFile;
        private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem menuDataSaveChanges;
        private System.Windows.Forms.DataGrid datagridCustomers;

    }
}

⌨️ 快捷键说明

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