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


C# GroupBox.ResumeLayout方法代码示例

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


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

示例1: SuspendLayout


//.........这里部分代码省略.........
     ordenDePeladoToolStripMenuItem});
     controlDeProductosToolStripMenuItem.Name = "controlDeProductosToolStripMenuItem";
     controlDeProductosToolStripMenuItem.Size = new System.Drawing.Size(132, 20);
     controlDeProductosToolStripMenuItem.Text = "Control de productos";
     //
     // nivelMaxMinToolStripMenuItem
     //
     nivelMaxMinToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Control_Inventario;
     nivelMaxMinToolStripMenuItem.Name = "nivelMaxMinToolStripMenuItem";
     nivelMaxMinToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     nivelMaxMinToolStripMenuItem.Text = "Nivel Max/Min";
     nivelMaxMinToolStripMenuItem.Click += new System.EventHandler(nivelMaxMinToolStripMenuItem_Click);
     //
     // ordenDePeladoToolStripMenuItem
     //
     ordenDePeladoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Caja;
     ordenDePeladoToolStripMenuItem.Name = "ordenDePeladoToolStripMenuItem";
     ordenDePeladoToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     ordenDePeladoToolStripMenuItem.Text = "Orden de pelado";
     ordenDePeladoToolStripMenuItem.Click += new System.EventHandler(ordenDePeladoToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Proveedor
     //
     pic_Proveedor.BackgroundImage = global::Shajobe.Properties.Resources.Inventario;
     pic_Proveedor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Proveedor.Location = new System.Drawing.Point(732, 24);
     pic_Proveedor.Name = "pic_Proveedor";
     pic_Proveedor.Size = new System.Drawing.Size(85, 68);
     pic_Proveedor.TabIndex = 79;
     pic_Proveedor.TabStop = false;
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Inventario
     //
     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)))));
     Icon = global::Shajobe.Properties.Resources.Inventario_ICO;
     ClientSize = new System.Drawing.Size(834, 511);
     Controls.Add(pic_Proveedor);
     Controls.Add(menuStrip1);
     Controls.Add(tabControl1);
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(840, 535);
     MinimumSize = new System.Drawing.Size(840, 535);
     Name = "Inventario";
     Text = "Inventario";
     Load += new System.EventHandler(Inventario_Load);
     tabControl1.ResumeLayout(false);
     tab_MateriaPrima.ResumeLayout(false);
     groupBox_ListaMateriaPrimam.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrima)).EndInit();
     groupBox_MateriaPrimam.ResumeLayout(false);
     groupBox_MateriaPrimam.PerformLayout();
     tab_MateriaPrimaP.ResumeLayout(false);
     groupBox_ListaMateriaPrimap.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrimaP)).EndInit();
     groupBox_MateriaPrimap.ResumeLayout(false);
     groupBox_MateriaPrimap.PerformLayout();
     tab_ProductoElaborado.ResumeLayout(false);
     groupBox_ListaProductoElaborado.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoElaborado)).EndInit();
     groupBox_ProductoElaborado.ResumeLayout(false);
     groupBox_ProductoElaborado.PerformLayout();
     tab_ProductoIndirecto.ResumeLayout(false);
     groupBox_ListaProductoIndirecto.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoIndirecto)).EndInit();
     groupBox_ProductoIndirecto.ResumeLayout(false);
     groupBox_ProductoIndirecto.PerformLayout();
     tab_ProductoTerminado.ResumeLayout(false);
     groupBox_ListaProductoTerminado.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoTerminado)).EndInit();
     groupBox_ProductoTerminado.ResumeLayout(false);
     groupBox_ProductoTerminado.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).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,代码来源:Inventario.cs

示例2: InitializeComponent


//.........这里部分代码省略.........
            flowBottomButtons.TabIndex = 4;
            // 
            // revertButton
            // 
            this.revertButton.Location = new System.Drawing.Point(553, 3);
            this.revertButton.Name = "revertButton";
            this.revertButton.Size = new System.Drawing.Size(75, 23);
            this.revertButton.TabIndex = 0;
            this.revertButton.Text = "Revert";
            this.revertButton.UseVisualStyleBackColor = true;
            this.revertButton.Click += new System.EventHandler(this.RevertButtonClick);
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(472, 3);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(75, 23);
            this.saveButton.TabIndex = 1;
            this.saveButton.Text = "Save";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
            // 
            // label1
            // 
            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(43, 118);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(80, 13);
            this.label1.TabIndex = 10;
            this.label1.Text = "Ignored folders:";
            // 
            // ignoreList
            // 
            this.ignoreList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ignoreList.FormattingEnabled = true;
            this.ignoreList.Location = new System.Drawing.Point(129, 92);
            this.ignoreList.Name = "ignoreList";
            this.ignoreList.Size = new System.Drawing.Size(388, 65);
            this.ignoreList.TabIndex = 11;
            // 
            // flowLayoutPanel1
            // 
            this.flowLayoutPanel1.Controls.Add(this.addIgnore_btn);
            this.flowLayoutPanel1.Controls.Add(this.removeIgnore_btn);
            this.flowLayoutPanel1.Location = new System.Drawing.Point(523, 92);
            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
            this.flowLayoutPanel1.Size = new System.Drawing.Size(99, 65);
            this.flowLayoutPanel1.TabIndex = 12;
            // 
            // addIgnore_btn
            // 
            this.addIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.addIgnore_btn.Location = new System.Drawing.Point(3, 3);
            this.addIgnore_btn.Name = "addIgnore_btn";
            this.addIgnore_btn.Size = new System.Drawing.Size(96, 23);
            this.addIgnore_btn.TabIndex = 0;
            this.addIgnore_btn.Text = "Add";
            this.addIgnore_btn.UseVisualStyleBackColor = true;
            this.addIgnore_btn.Click += new System.EventHandler(this.addIgnore_btn_Click);
            // 
            // removeIgnore_btn
            // 
            this.removeIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.removeIgnore_btn.Location = new System.Drawing.Point(3, 32);
            this.removeIgnore_btn.Name = "removeIgnore_btn";
            this.removeIgnore_btn.Size = new System.Drawing.Size(96, 23);
            this.removeIgnore_btn.TabIndex = 1;
            this.removeIgnore_btn.Text = "Remove";
            this.removeIgnore_btn.UseVisualStyleBackColor = true;
            this.removeIgnore_btn.Click += new System.EventHandler(this.removeIgnore_btn_Click);
            // 
            // Settings
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(mainTable);
            this.Name = "Settings";
            this.Size = new System.Drawing.Size(637, 450);
            this.Load += new System.EventHandler(this.SettingsLoad);
            mainTable.ResumeLayout(false);
            this.groupDirectories.ResumeLayout(false);
            tableDirectories.ResumeLayout(false);
            tableDirectories.PerformLayout();
            destinationButtonsFlow.ResumeLayout(false);
            sortOptionsGroup.ResumeLayout(false);
            sortOptionsFlow.ResumeLayout(false);
            sortOptionsFlow.PerformLayout();
            searchOptionsGroup.ResumeLayout(false);
            searchOptionsFlow.ResumeLayout(false);
            formatOptionsGroup.ResumeLayout(false);
            formatTable.ResumeLayout(false);
            formatTable.PerformLayout();
            flowBottomButtons.ResumeLayout(false);
            this.flowLayoutPanel1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
开发者ID:a-jackson,项目名称:tvsorter,代码行数:101,代码来源:Settings.Designer.cs

示例3: FontDialog


//.........这里部分代码省略.........
			applyButton.TabIndex = 5;
			applyButton.Text = "Apply";
			// helpButton
			helpButton.FlatStyle = FlatStyle.System;
			helpButton.Location = new Point( 352, 104 );
			helpButton.Size = new Size( 70, 23 );
			helpButton.TabIndex = 6;
			helpButton.Text = "Help";
			// underlinedCheckBox
			underlinedCheckBox.FlatStyle = FlatStyle.System;
			underlinedCheckBox.Location = new Point( 8, 36 );
			underlinedCheckBox.TabIndex = 1;
			underlinedCheckBox.Text = "Underlined";
			// fontstyleTextBox
			fontstyleTextBox.Location = new Point( 164, 26 );
			fontstyleTextBox.Size = new Size( 112, 21 );
			fontstyleTextBox.TabIndex = 6;
			fontstyleTextBox.Text = "";
			// scriptLabel
			scriptLabel.Location = new Point( 164, 236 );
			scriptLabel.Size = new Size( 100, 16 );
			scriptLabel.TabIndex = 13;
			scriptLabel.Text = "Script:";
			// examplePanel
			examplePanel.Location = new Point( 8, 20 );
			examplePanel.TabIndex = 0;
			examplePanel.Size = new Size( 156, 40 );
			examplePanel.BorderStyle = BorderStyle.Fixed3D;
			
			form.AcceptButton = okButton;
			form.CancelButton = cancelButton;
			
			form.Controls.Add( scriptComboBox );
			form.Controls.Add( scriptLabel );
			form.Controls.Add( exampleGroupBox );
			form.Controls.Add( effectsGroupBox );
			form.Controls.Add( fontsizeListBox );
			form.Controls.Add( fontstyleListBox );
			form.Controls.Add( fontListBox );
			form.Controls.Add( fontsizeTextBox );
			form.Controls.Add( fontstyleTextBox );
			form.Controls.Add( fontTextBox );
			form.Controls.Add( cancelButton );
			form.Controls.Add( okButton );
			form.Controls.Add( sizeLabel );
			form.Controls.Add( fontstyleLabel );
			form.Controls.Add( fontLabel );
			form.Controls.Add( applyButton );
			form.Controls.Add( helpButton );
			
			exampleGroupBox.ResumeLayout( false );
			effectsGroupBox.ResumeLayout( false );
			
			form.Size = new Size( 430, 318 );
			
			form.FormBorderStyle = FormBorderStyle.FixedDialog;
			form.MaximizeBox = false;
			
			form.Text = "Font";
			
			form.ResumeLayout( false );
			
			scriptComboBox.BeginUpdate ();
			scriptComboBox.Items.AddRange (char_sets_names);
			scriptComboBox.SelectedIndex = 0;
			scriptComboBox.EndUpdate ();
			
			applyButton.Hide( );
			helpButton.Hide( );
			colorComboBox.Hide( );
			
			cancelButton.Click += new EventHandler( OnClickCancelButton );
			okButton.Click += new EventHandler( OnClickOkButton );
			applyButton.Click += new EventHandler (OnApplyButton);
			examplePanel.Paint += new PaintEventHandler( OnPaintExamplePanel );
			fontListBox.SelectedIndexChanged += new EventHandler( OnSelectedIndexChangedFontListBox );
			fontsizeListBox.SelectedIndexChanged += new EventHandler( OnSelectedIndexChangedSizeListBox );
			fontstyleListBox.SelectedIndexChanged += new EventHandler( OnSelectedIndexChangedFontStyleListBox );
			underlinedCheckBox.CheckedChanged += new EventHandler( OnCheckedChangedUnderlinedCheckBox );
			strikethroughCheckBox.CheckedChanged += new EventHandler( OnCheckedChangedStrikethroughCheckBox );
			scriptComboBox.SelectedIndexChanged += new EventHandler (OnSelectedIndexChangedScriptComboBox);
			
			fontTextBox.KeyPress += new KeyPressEventHandler (OnFontTextBoxKeyPress);
			fontstyleTextBox.KeyPress += new KeyPressEventHandler (OnFontStyleTextBoxKeyPress);
			fontsizeTextBox.KeyPress += new KeyPressEventHandler (OnFontSizeTextBoxKeyPress);
			
			fontTextBox.TextChanged += new EventHandler (OnFontTextBoxTextChanged);
			fontstyleTextBox.TextChanged += new EventHandler (OnFontStyleTextTextChanged);
			fontsizeTextBox.TextChanged += new EventHandler (OnFontSizeTextBoxTextChanged);
			
			fontTextBox.KeyDown += new KeyEventHandler (OnFontTextBoxKeyDown);
			fontstyleTextBox.KeyDown += new KeyEventHandler (OnFontStyleTextBoxKeyDown);
			fontsizeTextBox.KeyDown += new KeyEventHandler (OnFontSizeTextBoxKeyDown);
			
			fontTextBox.MouseWheel += new MouseEventHandler (OnFontTextBoxMouseWheel);
			fontstyleTextBox.MouseWheel += new MouseEventHandler (OnFontStyleTextBoxMouseWheel);
			fontsizeTextBox.MouseWheel += new MouseEventHandler (OnFontSizeTextBoxMouseWheel);
			
			PopulateFontList ();
		}
开发者ID:KonajuGames,项目名称:SharpLang,代码行数:101,代码来源:FontDialog.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
     //
     // ttpMainToolTip
     //
     ttpMainToolTip.AutoPopDelay = 5000;
     ttpMainToolTip.InitialDelay = 0;
     ttpMainToolTip.ReshowDelay = 0;
     //
     // tsrMainToolStrip
     //
     tsrMainToolStrip.AmmeteringEnabled = true;
     tsrMainToolStrip.AmmeteringVisible = true;
     tsrMainToolStrip.AutoSize = false;
     tsrMainToolStrip.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     tsrMainToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     tsrMainToolStrip.IdentifyEnabled = true;
     tsrMainToolStrip.IdentifyVisible = true;
     tsrMainToolStrip.Location = new System.Drawing.Point(0, 0);
     tsrMainToolStrip.Name = "tsrMainToolStrip";
     tsrMainToolStrip.Nickname = "Nickname";
     tsrMainToolStrip.OpenEnabled = true;
     tsrMainToolStrip.OpenVisible = true;
     tsrMainToolStrip.ResetEnabled = true;
     tsrMainToolStrip.ResetVisible = true;
     tsrMainToolStrip.SaveEnabled = true;
     tsrMainToolStrip.SaveVisible = true;
     tsrMainToolStrip.Size = new System.Drawing.Size(996, 31);
     tsrMainToolStrip.SwitchEnabled = true;
     tsrMainToolStrip.SwitchVisible = true;
     tsrMainToolStrip.TabIndex = 30;
     tsrMainToolStrip.Text = "applicationToolStrip1";
     tsrMainToolStrip.VoltageEnabled = true;
     tsrMainToolStrip.VoltageVisible = true;
     tsrMainToolStrip.AmmeteringRequested += new System.EventHandler(tsrMainToolStrip_AmmeteringRequested);
     tsrMainToolStrip.IdentifyRequested += new System.EventHandler(tsrMainToolStrip_IdentifyRequested);
     tsrMainToolStrip.OpenRequested += new System.EventHandler(tsrMainToolStrip_OpenRequested);
     tsrMainToolStrip.ResetRequested += new System.EventHandler(tsrMainToolStrip_ResetRequested);
     tsrMainToolStrip.SaveRequested += new System.EventHandler(tsrMainToolStrip_SaveRequested);
     tsrMainToolStrip.SetVoltageRequested += new NewWDS.Applications.App_Common.AppToolStrip.ApplicationToolStrip.SetVoltageEventHandler(tsrMainToolStrip_SetVoltageRequested);
     tsrMainToolStrip.SwitchMouseEnterRequested += new System.EventHandler(tsrMainToolStrip_SwitchMouseEnterRequested);
     tsrMainToolStrip.SwitchRequested += new System.EventHandler(tsrMainToolStrip_SwitchRequested);
     //
     // AppWin_SPITool_PRO
     //
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     ClientSize = new System.Drawing.Size(996, 682);
     Controls.Add(tsrMainToolStrip);
     Controls.Add(spiStatusBar);
     Controls.Add(spcMainContainer);
     Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     MaximizeBox = false;
     Name = "AppWin_SPITool_PRO";
     ShowIcon = false;
     Text = "Si4XXX Register Setting Panel";
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(formClosingEventHandler);
     Load += new System.EventHandler(SPI_Form_Load);
     grbRegisterFilter.ResumeLayout(false);
     grbRegisterFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(dgvRegisterList)).EndInit();
     groupBox1.ResumeLayout(false);
     groupBox1.PerformLayout();
     spcMainContainer.Panel1.ResumeLayout(false);
     spcMainContainer.Panel2.ResumeLayout(false);
     spcMainContainer.Panel2.PerformLayout();
     spcMainContainer.ResumeLayout(false);
     grbLog.ResumeLayout(false);
     grbLog.PerformLayout();
     tbcMain.ResumeLayout(false);
     tabPage4.ResumeLayout(false);
     grbBatch.ResumeLayout(false);
     pnlBatchMain.ResumeLayout(false);
     pnlBatch4.ResumeLayout(false);
     pnlBatch4.PerformLayout();
     pnlBatch3.ResumeLayout(false);
     pnlBatch3.PerformLayout();
     pnlBatch2.ResumeLayout(false);
     pnlBatch2.PerformLayout();
     pnlBatch1.ResumeLayout(false);
     pnlBatch1.PerformLayout();
     vrbViewBatch.ResumeLayout(false);
     vrbViewBatch.PerformLayout();
     grbSaveLoad.ResumeLayout(false);
     grbSaveLoad.PerformLayout();
     grbLoopControl.ResumeLayout(false);
     grbLoopControl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(nudLoopLimit)).EndInit();
     tbpFIFO.ResumeLayout(false);
     pnlBerPer.ResumeLayout(false);
     pnlBerPer.PerformLayout();
     pnlRXFIFO.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dgvRX)).EndInit();
     pnlTXFIFO.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dgvTX)).EndInit();
     tbpDescription.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sbChipRevPane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sbDeviceStatePane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel4)).EndInit();
     ResumeLayout(false);
 }
开发者ID:x893,项目名称:WDS,代码行数:101,代码来源:AppWin_SPITool_PRO.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     //
     // label2
     //
     label2.Location = new System.Drawing.Point(6, 50);
     label2.Name = "label2";
     label2.Size = new System.Drawing.Size(80, 20);
     label2.TabIndex = 2;
     label2.Text = "P&rotocol:";
     label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBaud
     //
     comboBaud.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     comboBaud.Items.AddRange(new object[] {
     "9600",
     "38400"});
     comboBaud.Location = new System.Drawing.Point(93, 23);
     comboBaud.Name = "comboBaud";
     comboBaud.Size = new System.Drawing.Size(108, 21);
     comboBaud.TabIndex = 1;
     //
     // label1
     //
     label1.Location = new System.Drawing.Point(6, 23);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(80, 20);
     label1.TabIndex = 0;
     label1.Text = "&Baud Rate:";
     label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupComm
     //
     groupComm.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     groupComm.Controls.Add(comboPorts);
     groupComm.Location = new System.Drawing.Point(10, 40);
     groupComm.Name = "groupComm";
     groupComm.Size = new System.Drawing.Size(136, 55);
     groupComm.TabIndex = 1;
     groupComm.TabStop = false;
     groupComm.Text = "Serial &Port";
     //
     // groupHardware
     //
     groupHardware.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     groupHardware.Controls.Add(comboHardware);
     groupHardware.Location = new System.Drawing.Point(161, 40);
     groupHardware.Name = "groupHardware";
     groupHardware.Size = new System.Drawing.Size(246, 55);
     groupHardware.TabIndex = 2;
     groupHardware.TabStop = false;
     groupHardware.Text = "&Hardware";
     //
     // comboHardware
     //
     comboHardware.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     comboHardware.Items.AddRange(new object[] {
     "Automatic Detection",
     "ELM327 (Universal)",
     "ELM320 (PWM)",
     "ELM322 (VPW)",
     "ELM323 (ISO)"});
     comboHardware.Location = new System.Drawing.Point(17, 20);
     comboHardware.Name = "comboHardware";
     comboHardware.Size = new System.Drawing.Size(214, 21);
     comboHardware.TabIndex = 0;
     comboHardware.SelectedIndexChanged += new System.EventHandler(comboHardware_SelectedIndexChanged);
     //
     // checkBoxAutoDetect
     //
     checkBoxAutoDetect.Location = new System.Drawing.Point(10, 10);
     checkBoxAutoDetect.Name = "checkBoxAutoDetect";
     checkBoxAutoDetect.Size = new System.Drawing.Size(394, 24);
     checkBoxAutoDetect.TabIndex = 6;
     checkBoxAutoDetect.Text = "Automatic Detection";
     checkBoxAutoDetect.CheckedChanged += new System.EventHandler(checkBoxAutoDetect_CheckedChanged);
     //
     // SettingsForm
     //
     AcceptButton = btnOK;
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     CancelButton = btnCancel;
     ClientSize = new System.Drawing.Size(418, 260);
     Controls.Add(checkBoxAutoDetect);
     Controls.Add(groupHardware);
     Controls.Add(groupELM);
     Controls.Add(btnCancel);
     Controls.Add(btnOK);
     Controls.Add(groupComm);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     MaximizeBox = false;
     MinimizeBox = false;
     Name = "SettingsForm";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text = "Communication Settings";
     Load += new System.EventHandler(SettingsForm_Load);
     groupELM.ResumeLayout(false);
     groupComm.ResumeLayout(false);
     groupHardware.ResumeLayout(false);
     ResumeLayout(false);
 }
开发者ID:testdoron,项目名称:ProScan,代码行数:101,代码来源:SettingsForm.cs

示例6: redrawStations

		private void redrawStations()
		{
			switch(CompetitionType)
			{
				case Structs.CompetitionTypeEnum.Precision:
					groupBoxWidth = 80;
					groupBoxHeight = 110; // 80
					break;
				case Structs.CompetitionTypeEnum.Field:
					groupBoxWidth = 80;
					groupBoxHeight = 125;
					break;
				case Structs.CompetitionTypeEnum.MagnumField:
					groupBoxWidth = 80;
					groupBoxHeight = 125;
					break;
				default:
					throw new ApplicationException("Unknown Competition Type:" + 
						CompetitionType.ToString());
			}
			groupBoxNextY = groupBoxHeight + 10;
			groupBoxNextX = groupBoxWidth + 10;

			clearCurrentStations();

			// NextGroup Startposition
			int x = groupBoxStartX;
			int y = groupBoxStartY;

			// Draw all stations on screen
			Structs.Station[] stations = CommonCode.GetStations();
			Structs.Competition comp = CommonCode.GetCompetitions()[0];
			//bool norwegianCount = comp.NorwegianCount;
			bool doFinalShooting = comp.DoFinalShooting;

			foreach(Structs.Station station in stations)
			{
				// Create new group
				GroupBox thisGroup = new GroupBox();
				thisGroup.SuspendLayout();
				thisGroup.Location = new System.Drawing.Point(x, y);
				setNewGroupBoxDrawPoint(ref x, ref y);
				thisGroup.Name = "target" + station.StationNr.ToString();
				thisGroup.Size = new System.Drawing.Size(groupBoxWidth, groupBoxHeight);
				thisGroup.TabStop = false;
				switch (CompetitionType)
				{
					case Structs.CompetitionTypeEnum.Precision:
						thisGroup.Text = "Serie " + station.StationNr.ToString();
						break;
					case Structs.CompetitionTypeEnum.Field:
						thisGroup.Text = "Station " + station.StationNr.ToString();
						break;
					case Structs.CompetitionTypeEnum.MagnumField:
						thisGroup.Text = "Station " + station.StationNr.ToString();
						break;
					default:
						throw new ApplicationException("Unknown CompetitionType: " +
							CompetitionType.ToString());
				}

				// Add SafeLabels
				SafeLabel SafeLabelPoints = new Forms.SafeLabel();
				SafeLabelPoints.Location = new System.Drawing.Point(4, groupBoxHeight-25);
				SafeLabelPoints.Text = "P:";
				SafeLabelPoints.Size = new System.Drawing.Size(20, 23);
				thisGroup.Controls.Add(SafeLabelPoints);

				// Add txtBoxes
				foreach(SafeTextBox thisBox in createTxtBoxes(station.StationNr, station.Figures))
				{
					thisGroup.Controls.Add(thisBox);
					thisBox.TextChanged+=new EventHandler(figureBox_TextChanged);
					thisBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
					resultFigures.Add(thisBox);
				}

				// Add points txtBox
				Allberg.Shooter.Windows.Forms.SafeTextBox txtPoints = new SafeTextBox();
				txtPoints.Name = "Points" + station.StationNr.ToString();
				txtPoints.Location = new Point(SafeLabelPoints.Width+5, groupBoxHeight-25);
				txtPoints.Text = "";
				txtPoints.Size = new Size(30,20);
				txtPoints.Enabled = station.Points;
				txtPoints.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
				txtPoints.TextChanged += new System.EventHandler(this.txtPoints_TextChanged);
				thisGroup.Controls.Add(txtPoints);
				if (CompetitionType == Structs.CompetitionTypeEnum.Precision)
				{
					txtPoints.Visible = false;
					SafeLabelPoints.Visible = false;
				}
				resultPoints.Add(txtPoints);

				// Draw the whole thing
				thisGroup.ResumeLayout();

				// Add to form
				this.panel1.Controls.Add(thisGroup);

//.........这里部分代码省略.........
开发者ID:WinShooter,项目名称:WinShooter-Legacy,代码行数:101,代码来源:FResults.cs

示例7: SuspendLayout


//.........这里部分代码省略.........
     lbl_Tamaño.Size = new System.Drawing.Size(46, 13);
     lbl_Tamaño.TabIndex = 44;
     lbl_Tamaño.Text = "Tamaño";
     //
     // lbl_Descripcion
     //
     lbl_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Descripcion.AutoSize = true;
     lbl_Descripcion.Location = new System.Drawing.Point(27, 89);
     lbl_Descripcion.Name = "lbl_Descripcion";
     lbl_Descripcion.Size = new System.Drawing.Size(63, 13);
     lbl_Descripcion.TabIndex = 38;
     lbl_Descripcion.Text = "Descripción";
     //
     // 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(27, 64);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 36;
     lbl_Nombre.Text = "Nombre";
     //
     // lbl_Clave
     //
     lbl_Clave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Clave.AutoSize = true;
     lbl_Clave.Location = new System.Drawing.Point(28, 42);
     lbl_Clave.Name = "lbl_Clave";
     lbl_Clave.Size = new System.Drawing.Size(34, 13);
     lbl_Clave.TabIndex = 35;
     lbl_Clave.Text = "Clave";
     //
     // groupBoxfoto
     //
     groupBoxfoto.Controls.Add(btn_Buscar);
     groupBoxfoto.Location = new System.Drawing.Point(301, 31);
     groupBoxfoto.Name = "groupBoxfoto";
     groupBoxfoto.Size = new System.Drawing.Size(237, 236);
     groupBoxfoto.TabIndex = 31;
     groupBoxfoto.TabStop = false;
     groupBoxfoto.Text = "Foto de producto";
     //
     // btn_Buscar
     //
     btn_Buscar.Location = new System.Drawing.Point(156, 207);
     btn_Buscar.Name = "btn_Buscar";
     btn_Buscar.Size = new System.Drawing.Size(75, 23);
     btn_Buscar.TabIndex = 33;
     btn_Buscar.Text = "Añadir imagen";
     btn_Buscar.UseVisualStyleBackColor = true;
     btn_Buscar.Click += new System.EventHandler(btn_Buscar_Click);
     //
     // 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;
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Indirecto
     //
     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, 352);
     Controls.Add(pic_Indirecto);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     Icon = global::Shajobe.Properties.Resources.Indirecto_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(607, 433);
     MinimumSize = new System.Drawing.Size(607, 433);
     Name = "Indirecto";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text = "Producto indirecto";
     Load += new System.EventHandler(Indirecto_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Indirecto)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxfoto.ResumeLayout(false);
     ((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,代码来源:Indirecto.cs

示例8: InitializeComponent


//.........这里部分代码省略.........
         // userGroup
         // 
         userGroup.Controls.Add(this.m_PasswordAnswerTextBox);
         userGroup.Controls.Add(passwordAnswer);
         userGroup.Controls.Add(resetPasswordButton);
         userGroup.Controls.Add(this.m_PasswordQuestionTextBox);
         userGroup.Controls.Add(passwordQuestionLabel);
         userGroup.Controls.Add(this.m_UserNameTextBox);
         userGroup.Controls.Add(userNameLabel);
         userGroup.Location = new System.Drawing.Point(6,11);
         userGroup.Name = "userGroup";
         userGroup.Size = new System.Drawing.Size(216,146);
         userGroup.TabIndex = 1;
         userGroup.TabStop = false;
         userGroup.Text = "User Account:";
         // 
         // m_PasswordAnswerTextBox
         // 
         this.m_PasswordAnswerTextBox.Location = new System.Drawing.Point(7,116);
         this.m_PasswordAnswerTextBox.Name = "m_PasswordAnswerTextBox";
         this.m_PasswordAnswerTextBox.Size = new System.Drawing.Size(100,20);
         this.m_PasswordAnswerTextBox.TabIndex = 15;
         // 
         // passwordAnswer
         // 
         passwordAnswer.AutoSize = true;
         passwordAnswer.Location = new System.Drawing.Point(6,100);
         passwordAnswer.Name = "passwordAnswer";
         passwordAnswer.Size = new System.Drawing.Size(94,13);
         passwordAnswer.TabIndex = 14;
         passwordAnswer.Text = "Password Answer:";
         // 
         // resetPasswordButton
         // 
         resetPasswordButton.Location = new System.Drawing.Point(121,32);
         resetPasswordButton.Name = "resetPasswordButton";
         resetPasswordButton.Size = new System.Drawing.Size(88,23);
         resetPasswordButton.TabIndex = 4;
         resetPasswordButton.Text = "Reset";
         resetPasswordButton.Click += new System.EventHandler(this.OnReset);
         // 
         // m_PasswordQuestionTextBox
         // 
         this.m_PasswordQuestionTextBox.Enabled = false;
         this.m_PasswordQuestionTextBox.Location = new System.Drawing.Point(7,74);
         this.m_PasswordQuestionTextBox.Name = "m_PasswordQuestionTextBox";
         this.m_PasswordQuestionTextBox.Size = new System.Drawing.Size(100,20);
         this.m_PasswordQuestionTextBox.TabIndex = 9;
         // 
         // passwordQuestionLabel
         // 
         passwordQuestionLabel.AutoSize = true;
         passwordQuestionLabel.Location = new System.Drawing.Point(6,58);
         passwordQuestionLabel.Name = "passwordQuestionLabel";
         passwordQuestionLabel.Size = new System.Drawing.Size(93,13);
         passwordQuestionLabel.TabIndex = 8;
         passwordQuestionLabel.Text = "Security Question:";
         // 
         // m_UserNameTextBox
         // 
         this.m_UserNameTextBox.Enabled = false;
         this.m_UserNameTextBox.Location = new System.Drawing.Point(6,35);
         this.m_UserNameTextBox.Name = "m_UserNameTextBox";
         this.m_UserNameTextBox.ReadOnly = true;
         this.m_UserNameTextBox.Size = new System.Drawing.Size(100,20);
         this.m_UserNameTextBox.TabIndex = 1;
         // 
         // userNameLabel
         // 
         userNameLabel.AutoSize = true;
         userNameLabel.Location = new System.Drawing.Point(5,19);
         userNameLabel.Name = "userNameLabel";
         userNameLabel.Size = new System.Drawing.Size(63,13);
         userNameLabel.TabIndex = 0;
         userNameLabel.Text = "User Name:";
         // 
         // m_Validator
         // 
         this.m_Validator.ContainerControl = this;
         // 
         // ResetWithQuestionDialog
         // 
         this.AcceptButton = resetPasswordButton;
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F,13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.ClientSize = new System.Drawing.Size(227,162);
         this.Controls.Add(userGroup);
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
         this.MaximizeBox = false;
         this.MinimizeBox = false;
         this.Name = "ResetWithQuestionDialog";
         this.ShowIcon = false;
         this.Text = "Reset Password Dialog";
         this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnClosed);
         userGroup.ResumeLayout(false);
         userGroup.PerformLayout();
         ((System.ComponentModel.ISupportInitialize)(this.m_Validator)).EndInit();
         this.ResumeLayout(false);

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

示例9: InitializeComponent


//.........这里部分代码省略.........
            // 
            this.hideUnaired.AutoSize = true;
            this.hideUnaired.Location = new System.Drawing.Point(6, 19);
            this.hideUnaired.Name = "hideUnaired";
            this.hideUnaired.Size = new System.Drawing.Size(109, 17);
            this.hideUnaired.TabIndex = 0;
            this.hideUnaired.Text = "Hide not yet aired";
            this.toolTip.SetToolTip(this.hideUnaired, "Hides episodes from the results whose air date is in the future");
            this.hideUnaired.UseVisualStyleBackColor = true;
            // 
            // duplicatesButton
            // 
            this.duplicatesButton.Location = new System.Drawing.Point(153, 3);
            this.duplicatesButton.Name = "duplicatesButton";
            this.duplicatesButton.Size = new System.Drawing.Size(144, 23);
            this.duplicatesButton.TabIndex = 3;
            this.duplicatesButton.Text = "Display Duplicate Episodes";
            this.toolTip.SetToolTip(this.duplicatesButton, "Searches for duplicate episodes");
            this.duplicatesButton.UseVisualStyleBackColor = true;
            this.duplicatesButton.Click += new System.EventHandler(this.DuplicatesButtonClick);
            // 
            // missingButton
            // 
            this.missingButton.Location = new System.Drawing.Point(3, 3);
            this.missingButton.Name = "missingButton";
            this.missingButton.Size = new System.Drawing.Size(144, 23);
            this.missingButton.TabIndex = 2;
            this.missingButton.Text = "Display Missing Episodes";
            this.toolTip.SetToolTip(this.missingButton, "Searches for missing episodes.");
            this.missingButton.UseVisualStyleBackColor = true;
            this.missingButton.Click += new System.EventHandler(this.MissingButtonClick);
            // 
            // splitContainer
            // 
            splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer.Location = new System.Drawing.Point(0, 0);
            splitContainer.Name = "splitContainer";
            // 
            // splitContainer.Panel1
            // 
            splitContainer.Panel1.Controls.Add(tableLeft);
            // 
            // splitContainer.Panel2
            // 
            splitContainer.Panel2.Controls.Add(tableRight);
            splitContainer.Size = new System.Drawing.Size(710, 536);
            splitContainer.SplitterDistance = 238;
            splitContainer.TabIndex = 5;
            // 
            // tableLeft
            // 
            tableLeft.ColumnCount = 1;
            tableLeft.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableLeft.Controls.Add(this.episodesTree, 0, 1);
            tableLeft.Controls.Add(this.episodesCountLabel, 0, 0);
            tableLeft.Dock = System.Windows.Forms.DockStyle.Fill;
            tableLeft.Location = new System.Drawing.Point(0, 0);
            tableLeft.Name = "tableLeft";
            tableLeft.RowCount = 2;
            tableLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F));
            tableLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableLeft.Size = new System.Drawing.Size(238, 536);
            tableLeft.TabIndex = 0;
            // 
            // tableRight
            // 
            tableRight.ColumnCount = 1;
            tableRight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableRight.Controls.Add(panelControls, 0, 1);
            tableRight.Controls.Add(this.refreshButton, 0, 0);
            tableRight.Dock = System.Windows.Forms.DockStyle.Fill;
            tableRight.Location = new System.Drawing.Point(0, 0);
            tableRight.Name = "tableRight";
            tableRight.RowCount = 2;
            tableRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F));
            tableRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableRight.Size = new System.Drawing.Size(468, 536);
            tableRight.TabIndex = 0;
            // 
            // MissingDuplicateEpisodes
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(splitContainer);
            this.Name = "MissingDuplicateEpisodes";
            this.Size = new System.Drawing.Size(710, 536);
            this.Load += new System.EventHandler(this.MissingDuplicateEpisodesLoad);
            panelControls.ResumeLayout(false);
            filtersGroup.ResumeLayout(false);
            filtersGroup.PerformLayout();
            splitContainer.Panel1.ResumeLayout(false);
            splitContainer.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(splitContainer)).EndInit();
            splitContainer.ResumeLayout(false);
            tableLeft.ResumeLayout(false);
            tableLeft.PerformLayout();
            tableRight.ResumeLayout(false);
            this.ResumeLayout(false);

        }
开发者ID:nicolaspierre1990,项目名称:tvsorter,代码行数:101,代码来源:MissingDuplicateEpisodes.Designer.cs

示例10: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(BookmarkTabDialog));
     this.txtHotkey = new HotKeyBox();
     this.lblHotkey = new Label();
     this.lblBookmarkName = new Label();
     this.txtBookmarkName = new TextBox();
     this.chkDoNotShowAgain = new CheckBox();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.Validator = new ValidatorProvider();
     this.bvlButtons = new Bevel();
     GroupBox box = new GroupBox();
     TableLayoutPanel panel = new TableLayoutPanel();
     TableLayoutPanel panel2 = new TableLayoutPanel();
     TableLayoutPanel panel3 = new TableLayoutPanel();
     box.SuspendLayout();
     panel.SuspendLayout();
     panel2.SuspendLayout();
     panel3.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(box, "grpAdditional");
     box.Controls.Add(panel);
     box.Name = "grpAdditional";
     box.TabStop = false;
     manager.ApplyResources(panel, "tlpAdditional");
     panel.Controls.Add(this.txtHotkey, 1, 0);
     panel.Controls.Add(this.lblHotkey, 0, 0);
     panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel.Name = "tlpAdditional";
     manager.ApplyResources(this.txtHotkey, "txtHotkey");
     this.txtHotkey.Name = "txtHotkey";
     manager.ApplyResources(this.lblHotkey, "lblHotkey");
     this.lblHotkey.Name = "lblHotkey";
     manager.ApplyResources(panel2, "tlpBack");
     panel2.Controls.Add(this.lblBookmarkName, 0, 0);
     panel2.Controls.Add(this.txtBookmarkName, 0, 1);
     panel2.Controls.Add(box, 0, 2);
     panel2.Controls.Add(this.chkDoNotShowAgain, 0, 3);
     panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel2.Name = "tlpBack";
     manager.ApplyResources(this.lblBookmarkName, "lblBookmarkName");
     this.lblBookmarkName.Name = "lblBookmarkName";
     manager.ApplyResources(this.txtBookmarkName, "txtBookmarkName");
     this.txtBookmarkName.Name = "txtBookmarkName";
     this.Validator.SetValidateOn(this.txtBookmarkName, ValidateOn.TextChanged);
     this.txtBookmarkName.Validating += new CancelEventHandler(this.txtBookmarkName_Validating);
     manager.ApplyResources(this.chkDoNotShowAgain, "chkDoNotShowAgain");
     this.chkDoNotShowAgain.Name = "chkDoNotShowAgain";
     this.chkDoNotShowAgain.UseVisualStyleBackColor = true;
     manager.ApplyResources(panel3, "tlpButtons");
     panel3.BackColor = Color.Gainsboro;
     panel3.Controls.Add(this.btnOk, 1, 0);
     panel3.Controls.Add(this.btnCancel, 2, 0);
     panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel3.Name = "tlpButtons";
     this.btnOk.DialogResult = DialogResult.OK;
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnCancel.CausesValidation = false;
     this.btnCancel.DialogResult = DialogResult.Cancel;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.Validator.Owner = this;
     this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton;
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Top;
     this.bvlButtons.Style = Border3DStyle.Flat;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     this.AutoValidate = AutoValidate.EnableAllowFocusChange;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(panel3);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(panel2);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "BookmarkTabDialog";
     base.ShowInTaskbar = false;
     box.ResumeLayout(false);
     box.PerformLayout();
     panel.ResumeLayout(false);
     panel.PerformLayout();
     panel2.ResumeLayout(false);
     panel2.PerformLayout();
     panel3.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:95,代码来源:BookmarkTabDialog.cs

示例11: SuspendLayout


//.........这里部分代码省略.........
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Visible = false;
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Almacen
     //
     pic_Almacen.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Almacen;
     pic_Almacen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Almacen.Location = new System.Drawing.Point(351, 25);
     pic_Almacen.Name = "pic_Almacen";
     pic_Almacen.Size = new System.Drawing.Size(85, 67);
     pic_Almacen.TabIndex = 79;
     pic_Almacen.TabStop = false;
     //
     // 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(280, 200);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(152, 70);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Almacen
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(448, 284);
     Controls.Add(pic_Almacen);
     Controls.Add(menuStrip1);
     Controls.Add(pic_Logo);
     Controls.Add(groupBoxdatos);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Almacen_FormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.Almacen_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(454, 306);
     MinimumSize = new System.Drawing.Size(454, 306);
     Name = "Almacen";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text = "Almacen";
     Load += new System.EventHandler(Almacen_Load);
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Almacen)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:josericardo-ac,项目名称:Titulacion,代码行数:101,代码来源:Almacen.cs

示例12: 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

示例13: InitializeComponent


//.........这里部分代码省略.........
     this.btnCancel = new Button();
     this.tlpButtons = new TableLayoutPanel();
     this.bvlButtons = new Bevel();
     GroupBox box = new GroupBox();
     GroupBox box2 = new GroupBox();
     TableLayoutPanel panel = new TableLayoutPanel();
     box.SuspendLayout();
     box2.SuspendLayout();
     panel.SuspendLayout();
     this.tlpButtons.SuspendLayout();
     base.SuspendLayout();
     box.Controls.Add(this.chkCompareContent);
     box.Controls.Add(this.chkCompareSize);
     box.Controls.Add(this.chkAsyncCompareContent);
     box.Controls.Add(this.chkCompareDateTime);
     box.Controls.Add(this.chkCompareAttributes);
     manager.ApplyResources(box, "grpOptions");
     box.Name = "grpOptions";
     box.TabStop = false;
     manager.ApplyResources(this.chkCompareContent, "chkCompareContent");
     this.chkCompareContent.Name = "chkCompareContent";
     this.chkCompareContent.UseVisualStyleBackColor = true;
     this.chkCompareContent.CheckedChanged += new EventHandler(this.chkCompareContent_CheckedChanged);
     manager.ApplyResources(this.chkCompareSize, "chkCompareSize");
     this.chkCompareSize.Checked = true;
     this.chkCompareSize.CheckState = CheckState.Checked;
     this.chkCompareSize.Name = "chkCompareSize";
     this.chkCompareSize.UseVisualStyleBackColor = true;
     this.chkCompareSize.CheckedChanged += new EventHandler(this.chkCompareSize_CheckedChanged);
     manager.ApplyResources(this.chkAsyncCompareContent, "chkAsyncCompareContent");
     this.chkAsyncCompareContent.Checked = true;
     this.chkAsyncCompareContent.CheckState = CheckState.Indeterminate;
     this.chkAsyncCompareContent.Name = "chkAsyncCompareContent";
     this.chkAsyncCompareContent.ThreeState = true;
     this.chkAsyncCompareContent.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkCompareDateTime, "chkCompareDateTime");
     this.chkCompareDateTime.Checked = true;
     this.chkCompareDateTime.CheckState = CheckState.Checked;
     this.chkCompareDateTime.Name = "chkCompareDateTime";
     this.chkCompareDateTime.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkCompareAttributes, "chkCompareAttributes");
     this.chkCompareAttributes.Name = "chkCompareAttributes";
     this.chkCompareAttributes.UseVisualStyleBackColor = true;
     box2.Controls.Add(this.rbUnselect);
     box2.Controls.Add(this.rbSelect);
     manager.ApplyResources(box2, "grpSelect");
     box2.Name = "grpSelect";
     box2.TabStop = false;
     manager.ApplyResources(this.rbUnselect, "rbUnselect");
     this.rbUnselect.Name = "rbUnselect";
     this.rbUnselect.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.rbSelect, "rbSelect");
     this.rbSelect.Checked = true;
     this.rbSelect.Name = "rbSelect";
     this.rbSelect.TabStop = true;
     this.rbSelect.UseVisualStyleBackColor = true;
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(box2, 0, 1);
     panel.Controls.Add(box, 0, 0);
     panel.Name = "tlpBack";
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.DialogResult = DialogResult.OK;
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnCancel, 2, 0);
     this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpButtons.Name = "tlpButtons";
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Top;
     this.bvlButtons.Style = Border3DStyle.Flat;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.tlpButtons);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(panel);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "CompareFoldersDialog";
     base.ShowInTaskbar = false;
     box.ResumeLayout(false);
     box.PerformLayout();
     box2.ResumeLayout(false);
     box2.PerformLayout();
     panel.ResumeLayout(false);
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:101,代码来源:CompareFoldersDialog.cs

示例14: InitializeComponent


//.........这里部分代码省略.........
     this.tbcBack.Controls.Add(this.tpContext);
     manager.ApplyResources(this.tbcBack, "tbcBack");
     this.tbcBack.Name = "tbcBack";
     this.tbcBack.SelectedIndex = 0;
     this.tpBasic.Controls.Add(this.tlpBasic);
     manager.ApplyResources(this.tpBasic, "tpBasic");
     this.tpBasic.Name = "tpBasic";
     this.tpBasic.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.tlpBasic, "tlpBasic");
     this.tlpBasic.Controls.Add(this.lblServer, 0, 0);
     this.tlpBasic.Controls.Add(box, 0, 2);
     this.tlpBasic.Controls.Add(this.cmbServer, 0, 1);
     this.tlpBasic.Controls.Add(this.tlpNote, 0, 3);
     this.tlpBasic.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpBasic.Name = "tlpBasic";
     manager.ApplyResources(this.lblServer, "lblServer");
     this.lblServer.Name = "lblServer";
     manager.ApplyResources(this.cmbServer, "cmbServer");
     this.cmbServer.FormattingEnabled = true;
     this.cmbServer.Name = "cmbServer";
     this.Validator.SetValidateOn(this.cmbServer, ValidateOn.TextChangedTimer);
     this.cmbServer.Validating += new CancelEventHandler(this.cmbServer_Validating);
     manager.ApplyResources(this.tlpNote, "tlpNote");
     this.tlpNote.Controls.Add(this.lblNote, 1, 0);
     this.tlpNote.Controls.Add(this.imgNote, 0, 0);
     this.tlpNote.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpNote.Name = "tlpNote";
     this.tlpNote.Paint += new PaintEventHandler(this.tlpNote_Paint);
     manager.ApplyResources(this.lblNote, "lblNote");
     this.lblNote.Name = "lblNote";
     manager.ApplyResources(this.imgNote, "imgNote");
     this.imgNote.Name = "imgNote";
     this.imgNote.TabStop = false;
     this.tpContext.Controls.Add(this.FtpOptions);
     manager.ApplyResources(this.tpContext, "tpContext");
     this.tpContext.Name = "tpContext";
     this.tpContext.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.FtpOptions, "FtpOptions");
     this.FtpOptions.Name = "FtpOptions";
     this.FtpOptions.SaveSettings = false;
     manager.ApplyResources(this.tlpBack, "tlpBack");
     this.tlpBack.Controls.Add(this.tbcBack, 0, 0);
     this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpBack.Name = "tlpBack";
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.CausesValidation = false;
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.Validator.Owner = this;
     this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton;
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnCancel, 2, 0);
     this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpButtons.Name = "tlpButtons";
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Top;
     this.bvlButtons.Style = Border3DStyle.Flat;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     this.AutoValidate = AutoValidate.EnableAllowFocusChange;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.tlpButtons);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(this.tlpBack);
     base.FixMouseWheel = Settings.Default.FixMouseWheel;
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "FtpConnectDialog";
     base.ShowInTaskbar = false;
     base.Shown += new EventHandler(this.FtpConnectDialog_Shown);
     box.ResumeLayout(false);
     box.PerformLayout();
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tbcBack.ResumeLayout(false);
     this.tpBasic.ResumeLayout(false);
     this.tpBasic.PerformLayout();
     this.tlpBasic.ResumeLayout(false);
     this.tlpBasic.PerformLayout();
     this.tlpNote.ResumeLayout(false);
     this.tlpNote.PerformLayout();
     ((ISupportInitialize) this.imgNote).EndInit();
     this.tpContext.ResumeLayout(false);
     this.tpContext.PerformLayout();
     this.tlpBack.ResumeLayout(false);
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:101,代码来源:FtpConnectDialog.cs

示例15: mostrarComprobante


//.........这里部分代码省略.........
            {
                Label label_cod_pasaje = new System.Windows.Forms.Label();
                label_cod_pasaje.Location = new System.Drawing.Point(20, heig);
                label_cod_pasaje.Size = new System.Drawing.Size(55, 13);
                label_cod_pasaje.Text = pas.id_pasaje_gen.ToString();
                panel_pasajes.Controls.Add(label_cod_pasaje);

                Label label_pasajero_pasaje = new System.Windows.Forms.Label();
                label_pasajero_pasaje.Location = new System.Drawing.Point(115, heig);
                label_pasajero_pasaje.Size = new System.Drawing.Size(230, 13);
                label_pasajero_pasaje.Text = pas.cliente.nombre + " " + pas.cliente.apellido + " (" + pas.cliente.dni + ")";

                Label label_butaca_pasaje = new System.Windows.Forms.Label();
                label_butaca_pasaje.Location = new System.Drawing.Point(355, heig);
                label_butaca_pasaje.Name = "label_butaca_pasaje";
                label_butaca_pasaje.Size = new System.Drawing.Size(150, 13);
                label_butaca_pasaje.Text = "Nro: " + pas.butaca.nro_butaca + " - " + pas.butaca.tipo_butaca + " - Piso: " + pas.butaca.piso_butaca;

                Label label_precio_pasaje = new System.Windows.Forms.Label();
                label_precio_pasaje.Location = new System.Drawing.Point(528, heig);
                label_precio_pasaje.Size = new System.Drawing.Size(50, 13);
                label_precio_pasaje.Text = "$"+pas.precio.ToString();

                panel_pasajes.Controls.Add(label_cod_pasaje);
                panel_pasajes.Controls.Add(label_pasajero_pasaje);
                panel_pasajes.Controls.Add(label_butaca_pasaje);
                panel_pasajes.Controls.Add(label_precio_pasaje);

                heig = heig + 20;

            }

            //cargo panel encomiendas
            Label lab_head_cod_enco = new System.Windows.Forms.Label();
            lab_head_cod_enco.Location = new System.Drawing.Point(25, 1);
            lab_head_cod_enco.Size = new System.Drawing.Size(46, 13);
            lab_head_cod_enco.ForeColor = System.Drawing.Color.Indigo;
            lab_head_cod_enco.Text = "Código";
            Label lab_head_duenio = new System.Windows.Forms.Label();
            lab_head_duenio.Location = new System.Drawing.Point(175, 1);
            lab_head_duenio.Size = new System.Drawing.Size(75, 13);
            lab_head_duenio.ForeColor = System.Drawing.Color.Indigo;
            lab_head_duenio.Text = "Encomendero";
            Label lab_head_kg = new System.Windows.Forms.Label();
            lab_head_kg.Location = new System.Drawing.Point(400, 1);
            lab_head_kg.Size = new System.Drawing.Size(70, 13);
            lab_head_kg.ForeColor = System.Drawing.Color.Indigo;
            lab_head_kg.Text = "Cantidad Kg";
            Label lab_head_precio_enco = new System.Windows.Forms.Label();
            lab_head_precio_enco.Location = new System.Drawing.Point(530, 1);
            lab_head_precio_enco.Size = new System.Drawing.Size(50, 13);
            lab_head_precio_enco.ForeColor = System.Drawing.Color.Indigo;
            lab_head_precio_enco.Text = "Precio";

            panel_encomiendas.Controls.Add(lab_head_cod_enco);
            panel_encomiendas.Controls.Add(lab_head_duenio);
            panel_encomiendas.Controls.Add(lab_head_kg);
            panel_encomiendas.Controls.Add(lab_head_precio_enco);

            heig = 20;
            foreach (Nueva_Encomienda.Encomienda enco in this.lista_encomiendas)
            {
                Label label_cod_encomienda = new System.Windows.Forms.Label();
                label_cod_encomienda.Location = new System.Drawing.Point(20, heig);
                label_cod_encomienda.Size = new System.Drawing.Size(55, 13);
                label_cod_encomienda.Text = enco.id_encomienda_gen.ToString();

                Label label_pasajero_enco = new System.Windows.Forms.Label();
                label_pasajero_enco.Location = new System.Drawing.Point(115, heig);
                label_pasajero_enco.Size = new System.Drawing.Size(280, 13);
                label_pasajero_enco.Text = enco.cliente.nombre + " " + enco.cliente.apellido + " (" + enco.cliente.dni + ")";

                Label label_kg_enco = new System.Windows.Forms.Label();
                label_kg_enco.Location = new System.Drawing.Point(415, heig);
                label_kg_enco.Size = new System.Drawing.Size(50, 13);
                label_kg_enco.Text = enco.cant_kg.ToString();

                Label label_precio_enco = new System.Windows.Forms.Label();
                label_precio_enco.Location = new System.Drawing.Point(523, heig);
                label_precio_enco.Size = new System.Drawing.Size(50, 13);
                label_precio_enco.Text = "$"+enco.precio.ToString();

                panel_encomiendas.Controls.Add(label_cod_encomienda);
                panel_encomiendas.Controls.Add(label_pasajero_enco);
                panel_encomiendas.Controls.Add(label_kg_enco);
                panel_encomiendas.Controls.Add(label_precio_enco);

                heig = heig + 20;

            }

            /*fin - pongo los datos en pantalla*/

            this.Controls.Add(gb_detalle_compra);
            gb_detalle_compra.ResumeLayout(false);
            gb_detalle_compra.PerformLayout();
            this.ResumeLayout(false);

            MessageBox.Show("La Compra ha sido registrada", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
开发者ID:pedrojleon,项目名称:sashailobus,代码行数:101,代码来源:Finalizar_Compra.cs


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