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

📄 formmain.designer.cs

📁 使用C#程序将23个常用设计模式进行列表显示
💻 CS
字号:
namespace DesignPattern
{
    partial class FormMain
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.picBoxUML = new System.Windows.Forms.PictureBox();
            this.splitter2 = new System.Windows.Forms.Splitter();
            this.treeDesignPattern = new System.Windows.Forms.TreeView();
            this.textSourceCode = new System.Windows.Forms.TextBox();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.textPatternInfo = new System.Windows.Forms.TextBox();
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.miFile = new System.Windows.Forms.ToolStripMenuItem();
            this.miExit = new System.Windows.Forms.ToolStripMenuItem();
            this.miOption = new System.Windows.Forms.ToolStripMenuItem();
            this.miRealWorld = new System.Windows.Forms.ToolStripMenuItem();
            this.miStructural = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.miRunPattern = new System.Windows.Forms.ToolStripMenuItem();
            this.miAllPatterns = new System.Windows.Forms.ToolStripMenuItem();
            this.miHelp = new System.Windows.Forms.ToolStripMenuItem();
            this.miAbout = new System.Windows.Forms.ToolStripMenuItem();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxUML)).BeginInit();
            this.menuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 24);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.picBoxUML);
            this.splitContainer1.Panel1.Controls.Add(this.splitter2);
            this.splitContainer1.Panel1.Controls.Add(this.treeDesignPattern);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.textSourceCode);
            this.splitContainer1.Panel2.Controls.Add(this.splitter1);
            this.splitContainer1.Panel2.Controls.Add(this.textPatternInfo);
            this.splitContainer1.Size = new System.Drawing.Size(784, 590);
            this.splitContainer1.SplitterDistance = 261;
            this.splitContainer1.TabIndex = 0;
            // 
            // picBoxUML
            // 
            this.picBoxUML.Dock = System.Windows.Forms.DockStyle.Fill;
            this.picBoxUML.ImageLocation = "";
            this.picBoxUML.Location = new System.Drawing.Point(0, 358);
            this.picBoxUML.Name = "picBoxUML";
            this.picBoxUML.Size = new System.Drawing.Size(261, 232);
            this.picBoxUML.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picBoxUML.TabIndex = 2;
            this.picBoxUML.TabStop = false;
            // 
            // splitter2
            // 
            this.splitter2.Dock = System.Windows.Forms.DockStyle.Top;
            this.splitter2.Location = new System.Drawing.Point(0, 355);
            this.splitter2.Name = "splitter2";
            this.splitter2.Size = new System.Drawing.Size(261, 3);
            this.splitter2.TabIndex = 1;
            this.splitter2.TabStop = false;
            // 
            // treeDesignPattern
            // 
            this.treeDesignPattern.Dock = System.Windows.Forms.DockStyle.Top;
            this.treeDesignPattern.FullRowSelect = true;
            this.treeDesignPattern.HideSelection = false;
            this.treeDesignPattern.Location = new System.Drawing.Point(0, 0);
            this.treeDesignPattern.Name = "treeDesignPattern";
            this.treeDesignPattern.Size = new System.Drawing.Size(261, 355);
            this.treeDesignPattern.TabIndex = 0;
            this.treeDesignPattern.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeDesignPattern_AfterSelect);
            // 
            // textSourceCode
            // 
            this.textSourceCode.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textSourceCode.Location = new System.Drawing.Point(0, 156);
            this.textSourceCode.Multiline = true;
            this.textSourceCode.Name = "textSourceCode";
            this.textSourceCode.ReadOnly = true;
            this.textSourceCode.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.textSourceCode.Size = new System.Drawing.Size(519, 434);
            this.textSourceCode.TabIndex = 2;
            // 
            // splitter1
            // 
            this.splitter1.Dock = System.Windows.Forms.DockStyle.Top;
            this.splitter1.Location = new System.Drawing.Point(0, 152);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(519, 4);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop = false;
            // 
            // textPatternInfo
            // 
            this.textPatternInfo.Dock = System.Windows.Forms.DockStyle.Top;
            this.textPatternInfo.Location = new System.Drawing.Point(0, 0);
            this.textPatternInfo.Multiline = true;
            this.textPatternInfo.Name = "textPatternInfo";
            this.textPatternInfo.ReadOnly = true;
            this.textPatternInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.textPatternInfo.Size = new System.Drawing.Size(519, 152);
            this.textPatternInfo.TabIndex = 0;
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miFile,
            this.miOption,
            this.miHelp});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(784, 24);
            this.menuStrip1.TabIndex = 1;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // miFile
            // 
            this.miFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miExit});
            this.miFile.Name = "miFile";
            this.miFile.Size = new System.Drawing.Size(41, 20);
            this.miFile.Text = "File";
            // 
            // miExit
            // 
            this.miExit.Name = "miExit";
            this.miExit.Size = new System.Drawing.Size(94, 22);
            this.miExit.Text = "Exit";
            this.miExit.Click += new System.EventHandler(this.miExit_Click);
            // 
            // miOption
            // 
            this.miOption.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miRealWorld,
            this.miStructural,
            this.toolStripMenuItem1,
            this.miRunPattern,
            this.miAllPatterns});
            this.miOption.Name = "miOption";
            this.miOption.Size = new System.Drawing.Size(53, 20);
            this.miOption.Text = "Option";
            // 
            // miRealWorld
            // 
            this.miRealWorld.Checked = true;
            this.miRealWorld.CheckState = System.Windows.Forms.CheckState.Checked;
            this.miRealWorld.Name = "miRealWorld";
            this.miRealWorld.Size = new System.Drawing.Size(136, 22);
            this.miRealWorld.Text = "RealWorld";
            this.miRealWorld.Click += new System.EventHandler(this.miRealWorld_Click);
            // 
            // miStructural
            // 
            this.miStructural.Name = "miStructural";
            this.miStructural.Size = new System.Drawing.Size(136, 22);
            this.miStructural.Text = "Structural";
            this.miStructural.Click += new System.EventHandler(this.miStructural_Click);
            // 
            // toolStripMenuItem1
            // 
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(133, 6);
            // 
            // miRunPattern
            // 
            this.miRunPattern.Name = "miRunPattern";
            this.miRunPattern.Size = new System.Drawing.Size(136, 22);
            this.miRunPattern.Text = "RunPattern";
            this.miRunPattern.Click += new System.EventHandler(this.miRunPattern_Click);
            // 
            // miAllPatterns
            // 
            this.miAllPatterns.Name = "miAllPatterns";
            this.miAllPatterns.Size = new System.Drawing.Size(136, 22);
            this.miAllPatterns.Text = "AllPatterns";
            this.miAllPatterns.Click += new System.EventHandler(this.miAllPatterns_Click);
            // 
            // miHelp
            // 
            this.miHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miAbout});
            this.miHelp.Name = "miHelp";
            this.miHelp.Size = new System.Drawing.Size(41, 20);
            this.miHelp.Text = "Help";
            // 
            // miAbout
            // 
            this.miAbout.Name = "miAbout";
            this.miAbout.Size = new System.Drawing.Size(152, 22);
            this.miAbout.Text = "About";
            this.miAbout.Click += new System.EventHandler(this.miAbout_Click);
            // 
            // FormMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(784, 614);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.menuStrip1);
            this.Name = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Design Pattern";
            this.Load += new System.EventHandler(this.FormMain_Load);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.Panel2.PerformLayout();
            this.splitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.picBoxUML)).EndInit();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.SplitContainer splitContainer1;
        private System.Windows.Forms.TreeView treeDesignPattern;
        private System.Windows.Forms.TextBox textPatternInfo;
        private System.Windows.Forms.TextBox textSourceCode;
        private System.Windows.Forms.Splitter splitter1;
        private System.Windows.Forms.Splitter splitter2;
        private System.Windows.Forms.PictureBox picBoxUML;
        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem miFile;
        private System.Windows.Forms.ToolStripMenuItem miExit;
        private System.Windows.Forms.ToolStripMenuItem miOption;
        private System.Windows.Forms.ToolStripMenuItem miRealWorld;
        private System.Windows.Forms.ToolStripMenuItem miStructural;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem miRunPattern;
        private System.Windows.Forms.ToolStripMenuItem miHelp;
        private System.Windows.Forms.ToolStripMenuItem miAbout;
        private System.Windows.Forms.ToolStripMenuItem miAllPatterns;
    }
}

⌨️ 快捷键说明

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