当前位置: 首页>>代码示例>>C#>>正文


C# MenuStrip.PerformLayout方法代码示例

本文整理汇总了C#中System.Windows.Forms.MenuStrip.PerformLayout方法的典型用法代码示例。如果您正苦于以下问题:C# MenuStrip.PerformLayout方法的具体用法?C# MenuStrip.PerformLayout怎么用?C# MenuStrip.PerformLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.Forms.MenuStrip的用法示例。


在下文中一共展示了MenuStrip.PerformLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponents

        void InitializeComponents()
        {
            var menuStrip = new MenuStrip();
            saveToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            closeToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            openToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            newToolStripMenuItem = new ToolStripMenuItem { Visible = false };

            menuStrip.SuspendLayout();
            SuspendLayout();

            menuStrip.Items.Add(saveToolStripMenuItem);
            menuStrip.Items.Add(closeToolStripMenuItem);
            menuStrip.Items.Add(openToolStripMenuItem);
            menuStrip.Items.Add(newToolStripMenuItem);

            saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S;
            closeToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.W;
            openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O;
            newToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.N;

            Controls.Add(menuStrip);

            Size = new Size(800, 600);
            Text = "DevPad";
            WindowState = FormWindowState.Maximized;

            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();

            ResumeLayout(false);
            PerformLayout();

            MainMenuStrip = menuStrip;
        }
开发者ID:TerryHughes,项目名称:DevPad,代码行数:35,代码来源:MainForm.designer.cs

示例2: InitializeComponent


//.........这里部分代码省略.........
     toolStrip2.Items.AddRange(new ToolStripItem[] { toolStripButton10, toolStripSeparator5, toolStripComboBox1, toolStripComboBox2, toolStripTextBox2, toolStripButton11, toolStripButton13, toolStripSeparator2, toolStripProgressBar1, toolStripLabel1 });
     toolStrip2.Location = new Point(0, 0x30);
     toolStrip2.Name = "toolStrip2";
     toolStrip2.Size = new Size(0x29f, 0x19);
     toolStrip2.TabIndex = 10;
     toolStrip2.Text = "Acquisition toolbar";
     toolStripButton10.DisplayStyle = ToolStripItemDisplayStyle.Image;
     toolStripButton10.Image = Resources.Connect;
     toolStripButton10.ImageTransparentColor = Color.Magenta;
     toolStripButton10.Name = "toolStripButton10";
     toolStripButton10.Size = new Size(0x17, 0x16);
     toolStripButton10.Text = "Connect";
     toolStripButton10.ToolTipText = "Connect/Disconnect";
     toolStripSeparator5.Name = "toolStripSeparator5";
     toolStripSeparator5.Size = new Size(6, 0x19);
     toolStripComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
     toolStripComboBox1.Items.AddRange(new object[] { "1", "10", "25", "50" });
     toolStripComboBox1.Name = "toolStripComboBox1";
     toolStripComboBox1.Size = new Size(0x4b, 0x19);
     toolStripComboBox1.ToolTipText = "Data acquisition frequency (Hz)";
     toolStripComboBox2.DropDownStyle = ComboBoxStyle.DropDownList;
     toolStripComboBox2.Items.AddRange(new object[] { "Samples", "Continous" });
     toolStripComboBox2.Name = "toolStripComboBox2";
     toolStripComboBox2.Size = new Size(90, 0x19);
     toolStripComboBox2.ToolTipText = "Acquisition Mode";
     toolStripButton11.DisplayStyle = ToolStripItemDisplayStyle.Image;
     toolStripButton11.Image = Resources.StartAcquistion;
     toolStripButton11.ImageTransparentColor = Color.Magenta;
     toolStripButton11.Name = "toolStripButton11";
     toolStripButton11.Size = new Size(0x17, 0x16);
     toolStripButton11.Text = "Start";
     toolStripButton13.DisplayStyle = ToolStripItemDisplayStyle.Image;
     toolStripButton13.Image = Resources.StopAcquistion;
     toolStripButton13.ImageTransparentColor = Color.Magenta;
     toolStripButton13.Name = "toolStripButton13";
     toolStripButton13.Size = new Size(0x17, 0x16);
     toolStripButton13.Text = "Stop";
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new Size(6, 0x19);
     toolStripProgressBar1.Name = "toolStripProgressBar1";
     toolStripProgressBar1.Size = new Size(100, 0x16);
     toolStripProgressBar1.Step = 2;
     toolStripProgressBar1.Style = ProgressBarStyle.Continuous;
     toolStripProgressBar1.ToolTipText = "Acquisition progress";
     menuStrip1.Items.AddRange(new ToolStripItem[] { Communication });
     menuStrip1.Location = new Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new Size(200, 0x18);
     menuStrip1.TabIndex = 0;
     menuStrip1.Text = "menuStrip1";
     Communication.DropDownItems.AddRange(new ToolStripItem[] { Connect, Acquisition, Settings });
     Communication.Name = "Communication";
     Communication.Size = new Size(0x5b, 20);
     Communication.Text = "Communication";
     Connect.Name = "Connect";
     Connect.Size = new Size(0x88, 0x16);
     Connect.Text = "Connect";
     Acquisition.DropDownItems.AddRange(new ToolStripItem[] { Samples, Continous, toolStripSeparator1, Start, Stop });
     Acquisition.Name = "Acquisition";
     Acquisition.Size = new Size(0x88, 0x16);
     Acquisition.Text = "Acquisition";
     Samples.Checked = true;
     Samples.CheckState = CheckState.Checked;
     Samples.Name = "Samples";
     Samples.Size = new Size(0x85, 0x16);
     Samples.Text = "Samples";
     Continous.Name = "Continous";
     Continous.Size = new Size(0x85, 0x16);
     Continous.Text = "Continous";
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new Size(130, 6);
     Start.Name = "Start";
     Start.Size = new Size(0x85, 0x16);
     Start.Text = "Start";
     Stop.Name = "Stop";
     Stop.Size = new Size(0x85, 0x16);
     Stop.Text = "Stop";
     Settings.Name = "Settings";
     Settings.Size = new Size(0x88, 0x16);
     Settings.Text = "Settings...";
     timer1.Tick += new EventHandler(timer1_Tick);
     toolStripLabel1.AutoSize = false;
     toolStripLabel1.BackColor = SystemColors.Info;
     toolStripLabel1.Name = "toolStripLabel1";
     toolStripLabel1.Size = new Size(70, 0x16);
     toolStripLabel1.TextAlign = ContentAlignment.MiddleRight;
     toolStripLabel1.ToolTipText = "Number of samples";
     toolStripTextBox2.AcceptOnlyNumber = true;
     toolStripTextBox2.MaxLength = 5;
     toolStripTextBox2.MaxValue = 0xffffL;
     toolStripTextBox2.MinValue = 1L;
     toolStripTextBox2.Name = "toolStripTextBox2";
     toolStripTextBox2.Size = new Size(80, 0x15);
     toolStripTextBox2.TextBoxAlign = HorizontalAlignment.Right;
     toolStripTextBox2.ToolTipText = "Number of samples (Max 65535)";
     toolStrip2.ResumeLayout(false);
     toolStrip2.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
 }
开发者ID:x893,项目名称:iNemoSuite,代码行数:101,代码来源:CommunicationControl.cs

示例3: ViewContainer


//.........这里部分代码省略.........
            //
            //cam_Top.Name = "Cam_Top";
            //cam_Top.Size = new System.Drawing.Size(152, 22);
            //cam_Top.Text = "Top";

            //
            //StripMenuItem: Cam_Side
            //
            //cam_Side.Name = "Cam_Side";
            //cam_Side.Size = new System.Drawing.Size(152, 22);
            //cam_Side.Text = "Side";

            //
            //StripMenuItem: Cam_Front
            //
            //cam_Front.Name = "Cam_Front";
            //cam_Front.Size = new System.Drawing.Size(152, 22);
            //cam_Front.Text = "Front";

            //
            //StripMenuItem: CamList
            //
            //cam_List.DropDownItems.AddRange(new ToolStripMenuItem[]
                //{
              //      cam_Front,
                //    cam_Persp,
                  //  cam_Side,
                    //cam_Top
                //});
            cam_List.Name = "CamsList";
            cam_List.Size = new System.Drawing.Size(37, 20);
            cam_List.Text = "视图列表";

            cam_List.Click+=cam_List_Click;

            //
            //StripMenuItem:camContr
            //
            cam_Contr.Name = "CamContr";
            cam_Contr.Text = "视图控制";
            cam_Contr.Size=new System.Drawing.Size(37,20);
            ToolStripMenuItem newCam = new ToolStripMenuItem();
            newCam.Name = "New Camera";
            newCam.Text = "新建视图";
            newCam.Size = new System.Drawing.Size(37, 20);
            newCam.Click += new EventHandler(delegate(object sender, EventArgs e)
                {
                    new dCamera(SceneEntry.Scene);
                });
            cam_Contr.DropDownItems.AddRange(
                new ToolStripMenuItem[]{newCam}
                );
            //
            //MenuStrip
            //
            menuStrip.Items.AddRange(new ToolStripItem[]
                {
                    cam_List,
                    cam_Contr
                });
            menuStrip.Location = new System.Drawing.Point(0, 0);
            menuStrip.Name = "ViewMenuStrip";
            menuStrip.Size = new System.Drawing.Size(650, 25);
            menuStrip.TabIndex = 3;
            menuStrip.Text = "视图";

            ((System.ComponentModel.ISupportInitialize)
                    this).BeginInit();
            this.Panel1.SuspendLayout();
            this.Panel2.SuspendLayout();
            this.SuspendLayout();

            this.Dock = DockStyle.Fill;
            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "SplitView";
            this.Orientation = Orientation.Horizontal;

            this.Panel1.Controls.Add(menuStrip);

            //a = _entry;
            //result.Panel2.Controls.Add(_entry);
            SceneEntry = new WinFormsContentLoading.SceneEntry();
            SceneEntry.Dock = System.Windows.Forms.DockStyle.Fill;
            SceneEntry.Location = new System.Drawing.Point(0, 0);
            SceneEntry.Name = ViewNm;
            SceneEntry.Size = new System.Drawing.Size(642, 407);
            SceneEntry.TabIndex = 11;
            SceneEntry.Text = "modelViewerControl";
            SceneEntry.IsActivate = isEnabled;

            this.Panel2.Controls.Add(SceneEntry);

            this.Size = new System.Drawing.Size(640, 480);
            this.SplitterDistance = 10;
            this.TabIndex = 3;
            this.AutoScaleMode = AutoScaleMode.Font;

            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
        }
开发者ID:dourabbit,项目名称:CPipe,代码行数:101,代码来源:ViewContainer.cs

示例4: SuspendLayout


//.........这里部分代码省略.........
     groupBox_Informacion.TabIndex = 32;
     groupBox_Informacion.TabStop = false;
     groupBox_Informacion.Text = "Información";
     //
     // lbl_Cliente
     //
     lbl_Cliente.AutoSize = true;
     lbl_Cliente.Location = new System.Drawing.Point(16, 37);
     lbl_Cliente.Name = "lbl_Cliente";
     lbl_Cliente.Size = new System.Drawing.Size(39, 13);
     lbl_Cliente.TabIndex = 36;
     lbl_Cliente.Text = "Cliente";
     //
     // lbl_TipoPago
     //
     lbl_TipoPago.AutoSize = true;
     lbl_TipoPago.Location = new System.Drawing.Point(16, 64);
     lbl_TipoPago.Name = "lbl_TipoPago";
     lbl_TipoPago.Size = new System.Drawing.Size(78, 13);
     lbl_TipoPago.TabIndex = 33;
     lbl_TipoPago.Text = "Forma de pago";
     //
     // lbl_Adquisicion
     //
     lbl_Adquisicion.AutoSize = true;
     lbl_Adquisicion.Location = new System.Drawing.Point(16, 91);
     lbl_Adquisicion.Name = "lbl_Adquisicion";
     lbl_Adquisicion.Size = new System.Drawing.Size(81, 13);
     lbl_Adquisicion.TabIndex = 34;
     lbl_Adquisicion.Text = "Forma de venta";
     //
     // lbl_Fecha
     //
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(16, 117);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 35;
     lbl_Fecha.Text = "Fecha";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(1019, 668);
     Controls.Add(groupBox_Informacion);
     Controls.Add(pic_Venta);
     Controls.Add(btn_Pagar);
     Controls.Add(bttn_Quitar);
     Controls.Add(bttn_Agregar);
     Controls.Add(groupBox_Productos);
     Controls.Add(txt_Cambio);
     Controls.Add(lbl_Cambio);
     Controls.Add(txt_Efectivo);
     Controls.Add(lbl_Efectivo);
     Controls.Add(txt_Total);
     Controls.Add(lbl_Total);
     Controls.Add(lbl_IVA);
     Controls.Add(lbl_Descuento);
     Controls.Add(lbl_SubTotal);
     Controls.Add(txt_IVA);
     Controls.Add(txt_Descuento);
     Controls.Add(txt_SubTotal);
     Controls.Add(lbl_Cantidad);
     Controls.Add(dataGridView_Carrito);
     Controls.Add(txt_Cantidad);
     Controls.Add(menuStrip1);
     Icon = global::Shajobe.Properties.Resources.Venta_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(1025, 692);
     MinimumSize = new System.Drawing.Size(1025, 692);
     Name = "Venta";
     Text = "Venta";
     Load += new System.EventHandler(Venta_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Productos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Carrito)).EndInit();
     groupBox_Productos.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(pic_Venta)).EndInit();
     groupBox_Informacion.ResumeLayout(false);
     groupBox_Informacion.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Shajobe,代码行数:101,代码来源:Venta.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
            startButton.UseVisualStyleBackColor = true;
            startButton.Click += new EventHandler(startButton_Click);
            // 
            // trackBar
            // 
            trackBar.Location = new Point(6, 25);
            trackBar.Minimum = 1;
            trackBar.Name = "trackBar";
            trackBar.Size = new Size(222, 69);
            trackBar.TabIndex = 16;
            trackBar.Value = 5;
            trackBar.Scroll += new EventHandler(trackBar_Scroll);
            // 
            // fileToolStripMenuItem
            // 
            fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            exitToolStripMenuItem});
            fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            fileToolStripMenuItem.Size = new Size(50, 29);
            fileToolStripMenuItem.Text = "File";
            // 
            // exitToolStripMenuItem
            // 
            exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            exitToolStripMenuItem.Size = new Size(124, 30);
            exitToolStripMenuItem.Text = "Exit";
            exitToolStripMenuItem.Click += new EventHandler(exitToolStripMenuItem_Click);
            // 
            // menuStrip
            // 
            menuStrip.ImageScalingSize = new Size(24, 24);
            menuStrip.Items.AddRange(new ToolStripItem[] {
            fileToolStripMenuItem});
            menuStrip.Location = new Point(0, 0);
            menuStrip.Name = "menuStrip";
            menuStrip.Size = new Size(701, 33);
            menuStrip.TabIndex = 5;
            // 
            // resultGroupBox
            // 
            resultGroupBox.Controls.Add(resultTextBox);
            resultGroupBox.Location = new Point(12, 497);
            resultGroupBox.Name = "resultGroupBox";
            resultGroupBox.Size = new Size(675, 79);
            resultGroupBox.TabIndex = 6;
            resultGroupBox.TabStop = false;
            resultGroupBox.Text = "Result";
            // 
            // resultTextBox
            // 
            resultTextBox.Enabled = false;
            resultTextBox.Location = new Point(15, 36);
            resultTextBox.Name = "resultTextBox";
            resultTextBox.Size = new Size(643, 26);
            resultTextBox.TabIndex = 0;
            // 
            // scaleGroupBox
            // 
            scaleGroupBox.Controls.Add(trackBar);
            scaleGroupBox.Location = new Point(455, 299);
            scaleGroupBox.Name = "scaleGroupBox";
            scaleGroupBox.Size = new Size(234, 100);
            scaleGroupBox.TabIndex = 17;
            scaleGroupBox.TabStop = false;
            scaleGroupBox.Text = "Scale";
            // 
            // GUI
            // 
            AutoScaleDimensions = new SizeF(9F, 20F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(701, 588);
            Controls.Add(scaleGroupBox);
            Controls.Add(resultGroupBox);
            Controls.Add(menuStrip);
            Controls.Add(startButton);
            Controls.Add(clearButton);
            Controls.Add(pictureBox);
            Controls.Add(inputGroupBox);
            Icon = ((Icon)(resources.GetObject("$this.Icon")));
            MainMenuStrip = menuStrip;
            MaximizeBox = false;
            MaximumSize = new Size(723, 644);
            MinimizeBox = false;
            MinimumSize = new Size(723, 644);
            Name = "GUI";
            Text = "Geometry";
            inputGroupBox.ResumeLayout(false);
            inputGroupBox.PerformLayout();
            ((ISupportInitialize)(pictureBox)).EndInit();
            ((ISupportInitialize)(trackBar)).EndInit();
            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
            resultGroupBox.ResumeLayout(false);
            resultGroupBox.PerformLayout();
            scaleGroupBox.ResumeLayout(false);
            scaleGroupBox.PerformLayout();
            ResumeLayout(false);
            PerformLayout();

        }
开发者ID:MaKToff,项目名称:Geometry,代码行数:101,代码来源:GUI.Designer.cs

示例6: SuspendLayout


//.........这里部分代码省略.........
     lbl_Ciudad.Text = "Ciudad";
     //
     // lbl_Direccion
     //
     lbl_Direccion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Direccion.AutoSize = true;
     lbl_Direccion.Location = new System.Drawing.Point(28, 167);
     lbl_Direccion.Name = "lbl_Direccion";
     lbl_Direccion.Size = new System.Drawing.Size(52, 13);
     lbl_Direccion.TabIndex = 6;
     lbl_Direccion.Text = "Dirección";
     //
     // lbl_ApellidoM
     //
     lbl_ApellidoM.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_ApellidoM.AutoSize = true;
     lbl_ApellidoM.Location = new System.Drawing.Point(28, 142);
     lbl_ApellidoM.Name = "lbl_ApellidoM";
     lbl_ApellidoM.Size = new System.Drawing.Size(85, 13);
     lbl_ApellidoM.TabIndex = 5;
     lbl_ApellidoM.Text = "Apellido materno";
     //
     // lbl_ApellidoP
     //
     lbl_ApellidoP.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_ApellidoP.AutoSize = true;
     lbl_ApellidoP.Location = new System.Drawing.Point(28, 117);
     lbl_ApellidoP.Name = "lbl_ApellidoP";
     lbl_ApellidoP.Size = new System.Drawing.Size(83, 13);
     lbl_ApellidoP.TabIndex = 4;
     lbl_ApellidoP.Text = "Apellido paterno";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(28, 92);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(47, 13);
     lbl_Nombre.TabIndex = 3;
     lbl_Nombre.Text = "Nombre ";
     //
     // lbl_Razon_Social
     //
     lbl_Razon_Social.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Razon_Social.AutoSize = true;
     lbl_Razon_Social.Location = new System.Drawing.Point(28, 67);
     lbl_Razon_Social.Name = "lbl_Razon_Social";
     lbl_Razon_Social.Size = new System.Drawing.Size(68, 13);
     lbl_Razon_Social.TabIndex = 2;
     lbl_Razon_Social.Text = "Razon social";
     //
     // lbl_RFC
     //
     lbl_RFC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_RFC.AutoSize = true;
     lbl_RFC.Location = new System.Drawing.Point(28, 42);
     lbl_RFC.Name = "lbl_RFC";
     lbl_RFC.Size = new System.Drawing.Size(31, 13);
     lbl_RFC.TabIndex = 1;
     lbl_RFC.Text = "RFC ";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Cliente
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(604, 606);
     Controls.Add(pic_Cliente);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Cliente_FormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.Clientes_ICO;
     MainMenuStrip = menuStrip1;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(600, 620);
     MinimumSize = new System.Drawing.Size(600, 620);
     Name = "Cliente";
     Text = "Cliente";
     Load += new System.EventHandler(Cliente_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Cliente)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxfoto.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Titulacion,代码行数:101,代码来源:Cliente.cs

示例7: SuspendLayout


//.........这里部分代码省略.........
     Id_MateriaPrima.Name = "Id_MateriaPrima";
     Id_MateriaPrima.Visible = false;
     //
     // Id_TipoPieza
     //
     Id_TipoPieza.HeaderText = "Id_TipoPieza";
     Id_TipoPieza.Name = "Id_TipoPieza";
     Id_TipoPieza.Visible = false;
     //
     // Nombrem
     //
     Nombrem.HeaderText = "Nombre";
     Nombrem.Name = "Nombrem";
     //
     // TipoPieza
     //
     TipoPieza.HeaderText = "Tipo pieza";
     TipoPieza.Name = "TipoPieza";
     //
     // Lotem
     //
     Lotem.HeaderText = "Lote";
     Lotem.Name = "Lotem";
     //
     // Fotom
     //
     Fotom.HeaderText = "Foto";
     Fotom.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     Fotom.MinimumWidth = 50;
     Fotom.Name = "Fotom";
     Fotom.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Fotom.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     Fotom.Visible = false;
     //
     // Id_ProductoElaborado
     //
     Id_ProductoElaborado.HeaderText = "Id_ProductoElaborado";
     Id_ProductoElaborado.Name = "Id_ProductoElaborado";
     Id_ProductoElaborado.Visible = false;
     //
     // Foto
     //
     Foto.HeaderText = "Foto";
     Foto.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     Foto.MinimumWidth = 50;
     Foto.Name = "Foto";
     Foto.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Foto.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     Foto.Visible = false;
     //
     // NombrePE
     //
     NombrePE.HeaderText = "Nombre";
     NombrePE.Name = "NombrePE";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Ingredientes_Empaques
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(788, 630);
     Controls.Add(panel_Ingredientes);
     Controls.Add(menuStrip1);
     MaximizeBox = false;
     Name = "Ingredientes_Empaques";
     Text = "Ingredientes empaques";
     Icon = global::Shajobe.Properties.Resources.Indirecto_ICO;
     Load += new System.EventHandler(Ingredientes_Empaques_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     panel_Ingredientes.ResumeLayout(false);
     panel_Ingredientes.PerformLayout();
     groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaSinRebaba)).EndInit();
     groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_SinRebaba)).EndInit();
     groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaConRebaba)).EndInit();
     groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ConRebaba)).EndInit();
     groupBox6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaProdElab)).EndInit();
     groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProdElaborado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Shajobe,代码行数:101,代码来源:Ingredientes_Empaques.cs

示例8: InitializeComponent


//.........这里部分代码省略.........
            powerSaveSetupToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.PowerSave16x16;
            powerSaveSetupToolStripMenuItem.Name = "powerSaveSetupToolStripMenuItem";
            powerSaveSetupToolStripMenuItem.Size = new Size(179, 22);
            powerSaveSetupToolStripMenuItem.Text = "Power Save Settings";
            powerSaveSetupToolStripMenuItem.Click += new EventHandler(powerSaveSetupToolStripMenuItem_Click);

            toolStripSeparatorToolsMenu2.Name = "toolStripSeparatorToolsMenu2";
            toolStripSeparatorToolsMenu2.Size = new Size(176, 6);

            preferencesToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p00005d;
            preferencesToolStripMenuItem.Name = "preferencesToolStripMenuItem";
            preferencesToolStripMenuItem.Size = new Size(179, 22);
            preferencesToolStripMenuItem.Text = "&Preferences";
            preferencesToolStripMenuItem.Click += new EventHandler(preferencesToolStripMenuItem_Click);

            toolStripContainer.ContentPanel.Controls.Add(tableLayoutPanel);
            toolStripContainer.ContentPanel.Padding = new Padding(0, 0, 0, 23);
            toolStripContainer.ContentPanel.Size = new Size(763, 458);
            toolStripContainer.Dock = DockStyle.Fill;
            toolStripContainer.Location = new Point(0, 0);
            toolStripContainer.Name = "toolStripContainer";
            toolStripContainer.Size = new Size(763, 482);
            toolStripContainer.TabIndex = 0;
            toolStripContainer.TopToolStripPanel.Controls.Add(menuStrip);

            m_statusPortECU.Location = new Point(0, 459);
            m_statusPortECU.Name = "ultraStatusBar";
            appearance.TextHAlignAsString = "Center";
            m_statusPortECU.PanelAppearance = appearance;

            ultraStatusPanel1.Key = "InterfacePanel";
            ultraStatusPanel1.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel1.Style = PanelStyle.ControlContainer;
            ultraStatusPanel1.Width = 90;

            ultraStatusPanel2.Key = "ECUPanel";
            ultraStatusPanel2.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel2.Style = PanelStyle.ControlContainer;
            ultraStatusPanel2.Width = 75;

            ultraStatusPanel3.Key = "CurrentOperationPanel";
            ultraStatusPanel3.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel3.Visible = false;
            ultraStatusPanel3.Width = 90;

            ultraStatusPanel4.Key = "ErrorPanel";
            ultraStatusPanel4.SizingMode = PanelSizingMode.Spring;

            ultraStatusPanel5.Key = "CalPanel";
            ultraStatusPanel5.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel5.Visible = false;

            ultraStatusPanel6.Key = "PlaybackTimePanel";
            ultraStatusPanel6.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel6.Visible = false;

            ultraStatusPanel7.Key = "PIDTimingPanel";
            ultraStatusPanel7.Width = 85;

            ultraStatusPanel8.Key = "ClockPanel";
            ultraStatusPanel8.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel8.Style = PanelStyle.Time;

            m_statusPortECU.Panels.AddRange(new UltraStatusPanel[]
            {
                ultraStatusPanel1,
                ultraStatusPanel2,
                ultraStatusPanel3,
                ultraStatusPanel4,
                ultraStatusPanel5,
                ultraStatusPanel6,
                ultraStatusPanel7,
                ultraStatusPanel8
            });

            m_statusPortECU.Size = new Size(763, 23);
            m_statusPortECU.SizeGripVisible = DefaultableBoolean.False;
            m_statusPortECU.TabIndex = 1;
            m_statusPortECU.ViewStyle = ViewStyle.VisualStudio2005;
            this.AutoScaleDimensions = new SizeF(6f, 13f);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new Size(763, 482);
            this.Controls.Add(m_statusPortECU);
            this.Controls.Add(toolStripContainer);
            this.MainMenuStrip = menuStrip;
            this.Margin = new Padding(2);
            this.Name= "MainForm";
            StartPosition = FormStartPosition.CenterScreen;
            this.WindowState = FormWindowState.Maximized;
            tableLayoutPanel.ResumeLayout(false);
            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
            toolStripContainer.ContentPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.PerformLayout();
            toolStripContainer.ResumeLayout(false);
            toolStripContainer.PerformLayout();
            ((ISupportInitialize)m_statusPortECU).EndInit();
            this.ResumeLayout(false);
        }
开发者ID:x893,项目名称:OBDwiz,代码行数:101,代码来源:MainForm.cs

示例9: SuspendLayout


//.........这里部分代码省略.........
     txt_NMax.TabIndex = 7;
     //
     // txt_NMin
     //
     txt_NMin.Location = new System.Drawing.Point(121, 30);
     txt_NMin.Name = "txt_NMin";
     txt_NMin.Size = new System.Drawing.Size(100, 20);
     txt_NMin.KeyPress += new KeyPressEventHandler(txt_MinMax_KeyPress);
     txt_NMin.TabIndex = 6;
     //
     // comboBox_Unidad
     //
     comboBox_Unidad.FormattingEnabled = true;
     comboBox_Unidad.Location = new System.Drawing.Point(121, 90);
     comboBox_Unidad.Name = "comboBox_Unidad";
     comboBox_Unidad.Size = new System.Drawing.Size(100, 21);
     comboBox_Unidad.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // lbl_Unidad
     //
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(20, 95);
     lbl_Unidad.Name = "lbl_Unidad";
     lbl_Unidad.Size = new System.Drawing.Size(86, 13);
     lbl_Unidad.Text = "Unidad de medida";
     //
     // comboBox_TipoPieza
     //
     comboBox_TipoPieza.FormattingEnabled = true;
     comboBox_TipoPieza.Location = new System.Drawing.Point(122, 144);
     comboBox_TipoPieza.Name = "comboBox_TipoPieza";
     comboBox_TipoPieza.Size = new System.Drawing.Size(156, 21);
     comboBox_TipoPieza.TabIndex = 59;
     comboBox_TipoPieza.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // comboBox_TipoMateriaprima
     //
     comboBox_TipoMateriaprima.FormattingEnabled = true;
     comboBox_TipoMateriaprima.Location = new System.Drawing.Point(122, 174);
     comboBox_TipoMateriaprima.Name = "comboBox_TipoMateriaprima";
     comboBox_TipoMateriaprima.Size = new System.Drawing.Size(156, 21);
     comboBox_TipoMateriaprima.TabIndex = 59;
     comboBox_TipoMateriaprima.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // lbl_TipoPieza
     //
     lbl_TipoPieza.AutoSize = true;
     lbl_TipoPieza.Location = new System.Drawing.Point(23, 147);
     lbl_TipoPieza.Name = "lbl_TipoPieza";
     lbl_TipoPieza.Size = new System.Drawing.Size(71, 13);
     lbl_TipoPieza.TabIndex = 58;
     lbl_TipoPieza.Text = "Tipo de pieza";
     //
     // lbl_TipoMateriaprima
     //
     lbl_TipoMateriaprima.AutoSize = true;
     lbl_TipoMateriaprima.Location = new System.Drawing.Point(23, 177);
     lbl_TipoMateriaprima.Name = "lbl_TipoMateriaprima";
     lbl_TipoMateriaprima.Size = new System.Drawing.Size(71, 13);
     lbl_TipoMateriaprima.TabIndex = 58;
     lbl_TipoMateriaprima.Text = "Tipo materia prima";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(80, 230);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Materia_Prima
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(594, 404);
     Controls.Add(pic_MateriaPrima);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Materia_PrimaFormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.MateriaPrima_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(600, 426);
     MinimumSize = new System.Drawing.Size(600, 426);
     Name = "Materia_Prima";
     Text = "Materia prima";
     Load += new System.EventHandler(Materia_prima_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Textbox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Combobox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_MateriaPrima)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxNivel.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Titulacion,代码行数:101,代码来源:Materia+prima.cs

示例10: InitializeComponent


//.........这里部分代码省略.........
         // 
         this.m_UsersToAssignListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            userToassignHeader});
         this.m_UsersToAssignListView.FullRowSelect = true;
         this.m_UsersToAssignListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_UsersToAssignListView.HideSelection = false;
         this.m_UsersToAssignListView.Location = new System.Drawing.Point(7,19);
         this.m_UsersToAssignListView.MultiSelect = false;
         this.m_UsersToAssignListView.Name = "m_UsersToAssignListView";
         this.m_UsersToAssignListView.ShowGroups = false;
         this.m_UsersToAssignListView.Size = new System.Drawing.Size(165,290);
         this.m_UsersToAssignListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_UsersToAssignListView.TabIndex = 2;
         this.m_UsersToAssignListView.UseCompatibleStateImageBehavior = false;
         this.m_UsersToAssignListView.View = System.Windows.Forms.View.SmallIcon;
         this.m_UsersToAssignListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.OnSelectedUserAssignChanged);
         // 
         // userToassignHeader
         // 
         userToassignHeader.Width = 300;
         // 
         // m_UsersInRoleComboBox
         // 
         this.m_UsersInRoleComboBox.FormattingEnabled = true;
         this.m_UsersInRoleComboBox.ImageList = null;
         this.m_UsersInRoleComboBox.Location = new System.Drawing.Point(6,341);
         this.m_UsersInRoleComboBox.Name = "m_UsersInRoleComboBox";
         this.m_UsersInRoleComboBox.Size = new System.Drawing.Size(165,21);
         this.m_UsersInRoleComboBox.TabIndex = 5;
         // 
         // m_RolesListView
         // 
         this.m_RolesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            rolesHeader});
         this.m_RolesListView.FullRowSelect = true;
         this.m_RolesListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_RolesListView.HideSelection = false;
         this.m_RolesListView.Location = new System.Drawing.Point(6,19);
         this.m_RolesListView.MultiSelect = false;
         this.m_RolesListView.Name = "m_RolesListView";
         this.m_RolesListView.ShowGroups = false;
         this.m_RolesListView.Size = new System.Drawing.Size(165,290);
         this.m_RolesListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_RolesListView.TabIndex = 6;
         this.m_RolesListView.UseCompatibleStateImageBehavior = false;
         this.m_RolesListView.View = System.Windows.Forms.View.SmallIcon;
         this.m_RolesListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.OnSelectedRoleChanged);
         // 
         // rolesHeader
         // 
         rolesHeader.Width = 300;
         // 
         // CredentialsManagerForm
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F,13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
         this.ClientSize = new System.Drawing.Size(542,437);
         this.Controls.Add(tabControl);
         this.Controls.Add(mainMenu);
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
         this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
         this.MainMenuStrip = mainMenu;
         this.MaximizeBox = false;
         this.MinimizeBox = false;
         this.Name = "CredentialsManagerForm";
         this.Text = " ASP.NET Credentials Manager";
         this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnClosing);
         this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnClosed);
         this.Load += new System.EventHandler(this.OnLoad);
         passwordSetupGroupBox.ResumeLayout(false);
         passwordSetupGroupBox.PerformLayout();
         generatePassorgGroupBox.ResumeLayout(false);
         generatePassorgGroupBox.PerformLayout();
         usersGroupBox.ResumeLayout(false);
         usersGroupBox.PerformLayout();
         rolesGroupBox.ResumeLayout(false);
         rolesGroupBox.PerformLayout();
         usersStatus.ResumeLayout(false);
         usersStatus.PerformLayout();
         usersGoupBox.ResumeLayout(false);
         usersGoupBox.PerformLayout();
         applicationsGroupBox.ResumeLayout(false);
         addressGroupBox.ResumeLayout(false);
         addressGroupBox.PerformLayout();
         mainMenu.ResumeLayout(false);
         mainMenu.PerformLayout();
         passwordsPage.ResumeLayout(false);
         rolesPage.ResumeLayout(false);
         usersPage.ResumeLayout(false);
         applicationsTab.ResumeLayout(false);
         applicationsTab.PerformLayout();
         ((System.ComponentModel.ISupportInitialize)(applicationPictureBox)).EndInit();
         tabControl.ResumeLayout(false);
         servicePage.ResumeLayout(false);
         servicePage.PerformLayout();
         this.ResumeLayout(false);
         this.PerformLayout();

      }
开发者ID:ittray,项目名称:LocalDemo,代码行数:101,代码来源:CredentialsManager.Designer.cs

示例11: InitializeComponent

 private void InitializeComponent()
 {
     _menuStrip = new MenuStrip();
     _mnuPresets = new ToolStripMenuItem();
     _pnlEditor = new Panel();
     _mnuVst = new ToolStripMenuItem();
     _mnuParameters = new ToolStripMenuItem();
     _menuStrip.SuspendLayout();
     SuspendLayout();
     // 
     // _menuStrip
     // 
     _menuStrip.ImageScalingSize = new Size(20, 20);
     _menuStrip.Items.AddRange(new ToolStripItem[]
     {
         _mnuPresets,
         _mnuVst
     });
     _menuStrip.Location = new Point(0, 0);
     _menuStrip.Name = "_menuStrip";
     _menuStrip.Size = new Size(284, 28);
     _menuStrip.TabIndex = 0;
     _menuStrip.Text = @"menuStrip1";
     // 
     // _mnuPresets
     // 
     _mnuPresets.Name = "_mnuPresets";
     _mnuPresets.Size = new Size(67, 24);
     _mnuPresets.Text = @"&Presets";
     // 
     // _pnlEditor
     // 
     _pnlEditor.Dock = DockStyle.Fill;
     _pnlEditor.Location = new Point(0, 28);
     _pnlEditor.Name = "_pnlEditor";
     _pnlEditor.Size = new Size(284, 236);
     _pnlEditor.TabIndex = 1;
     // 
     // _mnuVst
     // 
     _mnuVst.DropDownItems.AddRange(new ToolStripItem[]
     {
         _mnuParameters
     });
     _mnuVst.Name = "_mnuVst";
     _mnuVst.Size = new Size(46, 24);
     _mnuVst.Text = @"&VST";
     // 
     // _mnuParameters
     // 
     _mnuParameters.Name = "_mnuParameters";
     _mnuParameters.Size = new Size(181, 26);
     _mnuParameters.Text = @"&Parameters";
     _mnuParameters.Click += mnuParameters_Click;
     // 
     // VstPluginConfigForm
     // 
     ClientSize = new Size(284, 264);
     Controls.Add(_pnlEditor);
     Controls.Add(_menuStrip);
     MainMenuStrip = _menuStrip;
     Name = "VstPluginConfigForm";
     _menuStrip.ResumeLayout(false);
     _menuStrip.PerformLayout();
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:jasonhighet,项目名称:Halloumi.Shuffler,代码行数:67,代码来源:VSTPluginConfigForm.cs

示例12: createWindowsMenu

        protected virtual void createWindowsMenu(MenuStrip menubar)
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(DXWindow));

            ToolStripSeparator sep1 = new ToolStripSeparator();

            windowsMenu = new ToolStripMenuItem();
            openVPEOption = new DXToolStripMenuItem("openVPEOption", openVPECmd);
            openAllControlPanelsOption = new DXToolStripMenuItem("openAllControlPanelsOption",
                DXApplication.theDXApplication.network.getOpenAllPanelsCommand());
            openControlPanelByNameOption = new CascadeAutoToolStripMenuItem(windowsMenu);
            openAllColormapEditorsOption = new DXToolStripMenuItem("openAllColormapEditorsOptions",
                DXApplication.theDXApplication.openAllColormapCmd);
            messageWindowOption = new DXToolStripMenuItem("messageWindowOption",
                DXApplication.theDXApplication.messageWindowCmd);

            SuspendLayout();
            menubar.SuspendLayout();
            menubar.Items.Add(windowsMenu);
            windowsMenu.DropDownItems.AddRange(new ToolStripItem[] {
                openVPEOption,
                openAllControlPanelsOption,
                openControlPanelByNameOption,
                openAllColormapEditorsOption,
                messageWindowOption
                 });

            windowsMenu.Name = "windowsMenu";
            resources.ApplyResources(this.windowsMenu, "windowsMenu");

            openVPEOption.Name = "openVPEOption";
            resources.ApplyResources(this.openVPEOption, "openVPEOption");

            openAllControlPanelsOption.Name = "openAllControlPanelsOption";
            resources.ApplyResources(this.openAllControlPanelsOption, "openAllControlPanelsOption");

            openControlPanelByNameOption.Name = "openControlPanelByNameOption";
            resources.ApplyResources(this.openControlPanelByNameOption, "openControlPanelByNameOption");

            openAllColormapEditorsOption.Name = "openAllColormapEditorsOption";
            resources.ApplyResources(this.openAllColormapEditorsOption, "openAllColormapEditorsOption");

            messageWindowOption.Name = "messageWindowOption";
            resources.ApplyResources(this.messageWindowOption, "messageWindowOption");

            menubar.ResumeLayout();
            menubar.PerformLayout();

            ResumeLayout();
            PerformLayout();
        }
开发者ID:BackupTheBerlios,项目名称:opendx2,代码行数:51,代码来源:DXAnchorWindow.cs

示例13: createFileMenu

        protected virtual void createFileMenu(MenuStrip menubar)
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(DXWindow));

            bool needSep = false;
            SuspendLayout();
            menubar.SuspendLayout();

            fileMenu = new ToolStripMenuItem();
            menubar.Items.Add(fileMenu);

            if (DXApplication.theDXApplication.appAllowsImageRWNetFile())
            {
                openOption = new DXToolStripMenuItem("fileOpenOption", DXApplication.theDXApplication.openFileCmd);
                recentOption = new CascadeAutoToolStripMenuItem(fileMenu);
                createFileHistoryMenu(ref recentOption, ref fileMenu);

                Network net = DXApplication.theDXApplication.network;
                saveOption = new DXToolStripMenuItem("fileSaveOption", net.getSaveCommand());
                saveAsOption = new DXToolStripMenuItem("fileSaveAsOption", net.getSaveAsCommand());
                fileMenu.DropDownItems.AddRange(new ToolStripItem[] {
                    openOption,
                    recentOption,
                    saveOption,
                    saveAsOption});
                fileMenu.Name = "fileMenu";
                saveOption.Name = "saveOption";
                saveAsOption.Name = "saveAsOption";

                resources.ApplyResources(fileMenu, "fileMenu");
                resources.ApplyResources(openOption, "openOption");
                resources.ApplyResources(recentOption, "recentOption");
                resources.ApplyResources(saveOption, "saveOption");
                resources.ApplyResources(saveAsOption, "saveAsOption");
                needSep = true;
            }
            if (DXApplication.theDXApplication.appAllowsRWConfig())
            {
                Command openCfgCmd = DXApplication.theDXApplication.network.getOpenCfgCommand();
                Command saveCfgCmd = DXApplication.theDXApplication.network.getSaveCfgCommand();
                if (openCfgCmd != null || saveCfgCmd != null)
                {
                    settingsOption = new ToolStripMenuItem();
                    settingsOption.Name = "settingsOption";
                    fileMenu.DropDownItems.Add(settingsOption);
                    resources.ApplyResources(settingsOption, "settingsOption");
                    needSep = true;
                }
                if (saveCfgCmd != null)
                {
                    saveCfgOption = new DXToolStripMenuItem("saveCfgOption", saveCfgCmd);
                    settingsOption.DropDownItems.Add(saveCfgOption);
                    saveCfgOption.Name = "saveCfgOption";
                    resources.ApplyResources(saveCfgOption, "saveCfgOption");
                }
                if (openCfgCmd != null)
                {
                    openCfgOption = new DXToolStripMenuItem("saveCfgOption", openCfgCmd);
                    settingsOption.DropDownItems.Add(openCfgOption);
                    openCfgOption.Name = "openCfgOption";
                    resources.ApplyResources(openCfgOption, "openCfgOption");
                }

            }
            if (DXApplication.theDXApplication.appAllowsImageLoad())
            {
                if (needSep)
                {
                    ToolStripSeparator sep1 = new ToolStripSeparator();
                    fileMenu.DropDownItems.Add(sep1);
                }
                loadMacroOption = new DXToolStripMenuItem("fileLoadMacroOption",
                    DXApplication.theDXApplication.loadMacroCmd);
                loadMDFOption = new DXToolStripMenuItem("fileLoadMDFOption",
                    DXApplication.theDXApplication.loadMDFCmd);
                fileMenu.DropDownItems.AddRange(new ToolStripItem[] {
                    loadMacroOption,
                    loadMDFOption });
                needSep = true;
                loadMacroOption.Name = "loadMacroOption";
                resources.ApplyResources(loadMacroOption, "loadMacroOption");
                loadMDFOption.Name = "loadMDFOption";
                resources.ApplyResources(loadMDFOption, "loadMDFOption");

            }
            if (needSep)
            {
                ToolStripSeparator sep2 = new ToolStripSeparator();
                fileMenu.DropDownItems.Add(sep2);
            }
            closeOption = new DXToolStripMenuItem("fileCloseOption", closeCmd);
            fileMenu.DropDownItems.Add(closeOption);
            closeOption.Name = "closeOption";

            resources.ApplyResources(closeOption, "closeOption");

            menubar.ResumeLayout();
            menubar.PerformLayout();

            ResumeLayout();
//.........这里部分代码省略.........
开发者ID:BackupTheBerlios,项目名称:opendx2,代码行数:101,代码来源:DXAnchorWindow.cs

示例14: InitializeComponent

 private void InitializeComponent()
 {
     var manager = new ComponentResourceManager(typeof (PreviewScreenshot));
     menuStrip1 = new MenuStrip();
     uploadToolStripMenuItem = new ToolStripMenuItem();
     discardToolStripMenuItem1 = new ToolStripMenuItem();
     pictureBox1 = new PictureBox();
     statusStrip1 = new StatusStrip();
     toolStripProgressBar1 = new ToolStripProgressBar();
     menuStrip1.SuspendLayout();
     ((ISupportInitialize) pictureBox1).BeginInit();
     statusStrip1.SuspendLayout();
     base.SuspendLayout();
     menuStrip1.Items.AddRange(new ToolStripItem[] {uploadToolStripMenuItem, discardToolStripMenuItem1});
     menuStrip1.Location = new Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new Size(0x173, 0x18);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text = "menuStrip1";
     uploadToolStripMenuItem.Name = "uploadToolStripMenuItem";
     uploadToolStripMenuItem.Size = new Size(0x39, 20);
     uploadToolStripMenuItem.Text = "Upload";
     uploadToolStripMenuItem.Click += uploadToolStripMenuItem_Click;
     discardToolStripMenuItem1.Name = "discardToolStripMenuItem1";
     discardToolStripMenuItem1.Size = new Size(0x3a, 20);
     discardToolStripMenuItem1.Text = "Discard";
     discardToolStripMenuItem1.Click += discardToolStripMenuItem1_Click;
     pictureBox1.Dock = DockStyle.Fill;
     pictureBox1.Location = new Point(0, 0x18);
     pictureBox1.Name = "pictureBox1";
     pictureBox1.Size = new Size(0x173, 0xeb);
     pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex = 0;
     pictureBox1.TabStop = false;
     statusStrip1.Items.AddRange(new ToolStripItem[] {toolStripProgressBar1});
     statusStrip1.Location = new Point(0, 0xed);
     statusStrip1.Name = "statusStrip1";
     statusStrip1.Size = new Size(0x173, 0x16);
     statusStrip1.TabIndex = 2;
     statusStrip1.Text = "statusStrip1";
     toolStripProgressBar1.Name = "toolStripProgressBar1";
     toolStripProgressBar1.Size = new Size(100, 0x10);
     toolStripProgressBar1.Style = ProgressBarStyle.Continuous;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x173, 0x103);
     base.Controls.Add(statusStrip1);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(menuStrip1);
     base.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.MainMenuStrip = menuStrip1;
     base.Name = "PreviewScreenshot";
     Text = "Screenshot Preview";
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((ISupportInitialize) pictureBox1).EndInit();
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:LoveLeAnon,项目名称:Summit-Client,代码行数:62,代码来源:PreviewScreenshot.cs

示例15: SuspendLayout


//.........这里部分代码省略.........
     dataIndirecto.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataIndirecto.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaIndirecto,
     Id_ProductoIndirecto,
     ProductoIndirecto,
     Id_Almacen,
     Existencia,
     Fecha,
     Activo});
     dataIndirecto.Location = new System.Drawing.Point(12, 10);
     dataIndirecto.Name = "dataIndirecto";
     dataIndirecto.Size = new System.Drawing.Size(442, 178);
     dataIndirecto.TabIndex = 32;
     //
     // Id_AlertaIndirecto
     //
     Id_AlertaIndirecto.HeaderText = "Id_AlertaIndirecto";
     Id_AlertaIndirecto.Name = "Id_AlertaIndirecto";
     Id_AlertaIndirecto.Visible = false;
     //
     // Id_ProductoIndirecto
     //
     Id_ProductoIndirecto.HeaderText = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Name = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Visible = false;
     //
     // ProductoIndirecto
     //
     ProductoIndirecto.HeaderText = "ProductoIndirecto";
     ProductoIndirecto.Name = "ProductoIndirecto";
     //
     // Id_Almacen
     //
     Id_Almacen.HeaderText = "Id_Almacen";
     Id_Almacen.Name = "Id_Almacen";
     Id_Almacen.Visible = false;
     //
     // Existencia
     //
     Existencia.HeaderText = "Existencia";
     Existencia.Name = "Existencia";
     //
     // Fecha
     //
     Fecha.HeaderText = "Fecha";
     Fecha.Name = "Fecha";
     //
     // Activo
     //
     Activo.HeaderText = "Activo";
     Activo.Name = "Activo";
     //
     // Menu_Principal
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(1177, 791);
     Controls.Add(panel3);
     Controls.Add(pic_Logo);
     Controls.Add(lbl_Proveedoresporpagar);
     Controls.Add(lbl_Clientesporpagar);
     Controls.Add(picCliente);
     Controls.Add(dataGridViewClientes);
     Controls.Add(dataGridViewProveedores);
     Controls.Add(label2);
     Controls.Add(lbl_PedidosPendientes);
     Controls.Add(pic_Proveedor);
     Controls.Add(pic_Recordatorio);
     Controls.Add(pic_Pendiente);
     Controls.Add(dataPendiente);
     Controls.Add(menu);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     Icon = global::Shajobe.Properties.Resources.Shajobe_ICO;
     MainMenuStrip = menu;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(1183, 820);
     MinimumSize = new System.Drawing.Size(1183, 820);
     Name = "Menu_Principal";
     Text = "Menu principal";
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Menu_Principal_FormClosing);
     Load += new System.EventHandler(Menu_Principal_Load);
     ((System.ComponentModel.ISupportInitialize)(picCliente)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewClientes)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewProveedores)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Recordatorio)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Pendiente)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataPendiente)).EndInit();
     menu.ResumeLayout(false);
     menu.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Logo)).EndInit();
     panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosTerminados)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosElaborados)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataSinRebaba)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataConrebaba)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataIndirecto)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Shajobe,代码行数:101,代码来源:Menu_Principal.cs


注:本文中的System.Windows.Forms.MenuStrip.PerformLayout方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。