コード例 #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponents()
        {
            fileToolStripMenuItem = new FileToolStripMenuItem();

            this.BackColor = System.Drawing.Color.Transparent;
            this.Dock = System.Windows.Forms.DockStyle.None;
            this.ImageScalingSize = new System.Drawing.Size(20, 20);
            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem});
            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "MainContainer";
            this.Size = new System.Drawing.Size(102, 25);
            this.TabIndex = 1;
            this.Text = "menuStrip1";
        }
コード例 #2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponents()
        {
            fileToolStripMenuItem = new FileToolStripMenuItem();

            this.BackColor        = System.Drawing.Color.Transparent;
            this.Dock             = System.Windows.Forms.DockStyle.None;
            this.ImageScalingSize = new System.Drawing.Size(20, 20);
            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem
            });
            this.Location = new System.Drawing.Point(0, 0);
            this.Name     = "MainContainer";
            this.Size     = new System.Drawing.Size(102, 25);
            this.TabIndex = 1;
            this.Text     = "menuStrip1";
        }