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


C# TableLayoutPanel.ResumeLayout方法代码示例

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


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

示例1: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(AutoRefreshOptionControl));
     PropertyValue value2 = new PropertyValue();
     this.lblSlowVolumeAutoRefresh = new Label();
     this.cmbSlowVolumeAutoRefresh = new ComboBoxEx();
     this.ValuesWatcher = new PropertyValuesWatcher();
     TableLayoutPanel panel = new TableLayoutPanel();
     panel.SuspendLayout();
     ((ISupportInitialize) this.ValuesWatcher).BeginInit();
     base.SuspendLayout();
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(this.lblSlowVolumeAutoRefresh, 0, 0);
     panel.Controls.Add(this.cmbSlowVolumeAutoRefresh, 1, 0);
     panel.Name = "tlpBack";
     manager.ApplyResources(this.lblSlowVolumeAutoRefresh, "lblSlowVolumeAutoRefresh");
     this.lblSlowVolumeAutoRefresh.Name = "lblSlowVolumeAutoRefresh";
     manager.ApplyResources(this.cmbSlowVolumeAutoRefresh, "cmbSlowVolumeAutoRefresh");
     this.cmbSlowVolumeAutoRefresh.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbSlowVolumeAutoRefresh.FormattingEnabled = true;
     this.cmbSlowVolumeAutoRefresh.MinimumSize = new Size(110, 0);
     this.cmbSlowVolumeAutoRefresh.Name = "cmbSlowVolumeAutoRefresh";
     value2.DataObject = this.cmbSlowVolumeAutoRefresh;
     value2.PropertyName = "SelectedIndex";
     this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2 });
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(panel);
     base.Name = "AutoRefreshOptionControl";
     panel.ResumeLayout(false);
     panel.PerformLayout();
     ((ISupportInitialize) this.ValuesWatcher).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:35,代码来源:AutoRefreshOptionControl.cs

示例2: InitializeOptionsTable

		/// <summary>
		/// Initializes the options table
		/// </summary>
		/// <param name="settingsTable">Table</param>
		/// <param name="isPluginOptions">Whether the options are global options</param>
		public static void InitializeOptionsTable(TableLayoutPanel settingsTable, bool isPluginOptions)
		{
			int columnCount = isPluginOptions ? 3 : 4;
			settingsTable.SuspendLayout();
			try
			{
				// Set Columns
				settingsTable.ColumnCount = columnCount;
				settingsTable.ColumnStyles.Clear();
				settingsTable.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
				settingsTable.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
				settingsTable.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
				if (!isPluginOptions)
				{
					settingsTable.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
				}

				// Rows
				settingsTable.RowCount = 0;
				settingsTable.Controls.Clear();
			}
			finally
			{
				settingsTable.ResumeLayout(true);
			}

			// Hook Resize event
			settingsTable.Resize += (s, e) => ResizeEditorControls(settingsTable);
		}
开发者ID:stevebeauge,项目名称:crayon-syntax-snippet-wlw,代码行数:34,代码来源:FormHelper.cs

示例3: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(HiddenItemsOptionControl));
     PropertyValue value2 = new PropertyValue();
     PropertyValue value3 = new PropertyValue();
     PropertyValue value4 = new PropertyValue();
     this.chkHideSysHidItems = new CheckBox();
     this.chkUseHiddenItemsList = new CheckBox();
     this.txtHiddenItemsList = new TextBox();
     this.ValuesWatcher = new PropertyValuesWatcher();
     TableLayoutPanel panel = new TableLayoutPanel();
     ((ISupportInitialize) this.ValuesWatcher).BeginInit();
     panel.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(this.chkHideSysHidItems, "chkHideSysHidItems");
     this.chkHideSysHidItems.Name = "chkHideSysHidItems";
     this.chkHideSysHidItems.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkUseHiddenItemsList, "chkUseHiddenItemsList");
     this.chkUseHiddenItemsList.Name = "chkUseHiddenItemsList";
     this.chkUseHiddenItemsList.UseVisualStyleBackColor = true;
     this.chkUseHiddenItemsList.CheckedChanged += new EventHandler(this.chkUseHiddenItemsList_CheckedChanged);
     this.txtHiddenItemsList.AcceptsReturn = true;
     manager.ApplyResources(this.txtHiddenItemsList, "txtHiddenItemsList");
     this.txtHiddenItemsList.Name = "txtHiddenItemsList";
     value2.DataObject = this.chkHideSysHidItems;
     value2.PropertyName = "Checked";
     value3.DataObject = this.chkUseHiddenItemsList;
     value3.PropertyName = "Checked";
     value4.DataObject = this.txtHiddenItemsList;
     value4.PropertyName = "Text";
     this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4 });
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(this.chkHideSysHidItems, 0, 0);
     panel.Controls.Add(this.chkUseHiddenItemsList, 0, 1);
     panel.Name = "tlpBack";
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(this.txtHiddenItemsList);
     base.Controls.Add(panel);
     base.Name = "HiddenItemsOptionControl";
     ((ISupportInitialize) this.ValuesWatcher).EndInit();
     panel.ResumeLayout(false);
     panel.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:46,代码来源:HiddenItemsOptionControl.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
			tableLayoutRevision.Controls.Add(this.lblDiffCount, 0, 2);
			tableLayoutRevision.Controls.Add(this.lblRevDiffType, 0, 0);
			tableLayoutRevision.Controls.Add(this.btnRevertToOld, 2, 1);
			tableLayoutRevision.Controls.Add(this.btnPrev, 0, 1);
			tableLayoutRevision.Name = "tableLayoutRevision";
			//
			// lblDiffCount
			//
			resources.ApplyResources(this.lblDiffCount, "lblDiffCount");
			this.lblDiffCount.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			tableLayoutRevision.SetColumnSpan(this.lblDiffCount, 3);
			this.lblDiffCount.Name = "lblDiffCount";
			//
			// lblRevDiffType
			//
			resources.ApplyResources(this.lblRevDiffType, "lblRevDiffType");
			this.lblRevDiffType.BackColor = System.Drawing.Color.Honeydew;
			this.lblRevDiffType.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			tableLayoutRevision.SetColumnSpan(this.lblRevDiffType, 3);
			this.lblRevDiffType.ForeColor = System.Drawing.SystemColors.InfoText;
			this.lblRevDiffType.MinimumSize = new System.Drawing.Size(0, 27);
			this.lblRevDiffType.Name = "lblRevDiffType";
			this.lblRevDiffType.Paint += new System.Windows.Forms.PaintEventHandler(this.lblRevDiffType_Paint);
			//
			// tableLayoutCurrent
			//
			resources.ApplyResources(tableLayoutCurrent, "tableLayoutCurrent");
			tableLayoutCurrent.Controls.Add(this.lblCurrentDiffType, 0, 0);
			tableLayoutCurrent.Controls.Add(this.btnKeepCurrent, 0, 1);
			tableLayoutCurrent.Controls.Add(this.btnEdit, 1, 1);
			tableLayoutCurrent.Controls.Add(this.btnNext, 2, 1);
			tableLayoutCurrent.Controls.Add(pnlCloseHelp, 1, 2);
			tableLayoutCurrent.Controls.Add(this.lblReference, 0, 2);
			tableLayoutCurrent.Name = "tableLayoutCurrent";
			//
			// lblCurrentDiffType
			//
			resources.ApplyResources(this.lblCurrentDiffType, "lblCurrentDiffType");
			this.lblCurrentDiffType.BackColor = System.Drawing.Color.Honeydew;
			this.lblCurrentDiffType.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			tableLayoutCurrent.SetColumnSpan(this.lblCurrentDiffType, 3);
			this.lblCurrentDiffType.ForeColor = System.Drawing.SystemColors.InfoText;
			this.lblCurrentDiffType.MinimumSize = new System.Drawing.Size(0, 27);
			this.lblCurrentDiffType.Name = "lblCurrentDiffType";
			this.lblCurrentDiffType.Paint += new System.Windows.Forms.PaintEventHandler(this.lblCurrentDiffType_Paint);
			//
			// lblReference
			//
			this.lblReference.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			resources.ApplyResources(this.lblReference, "lblReference");
			this.lblReference.Name = "lblReference";
			//
			// lblSavedVersion
			//
			this.lblSavedVersion.AutoEllipsis = true;
			resources.ApplyResources(this.lblSavedVersion, "lblSavedVersion");
			this.lblSavedVersion.Name = "lblSavedVersion";
			//
			// lblCurrent
			//
			this.lblCurrent.BackColor = System.Drawing.SystemColors.Control;
			resources.ApplyResources(this.lblCurrent, "lblCurrent");
			this.lblCurrent.Name = "lblCurrent";
			//
			// tableLayoutPanel
			//
			resources.ApplyResources(this.tableLayoutPanel, "tableLayoutPanel");
			this.tableLayoutPanel.Controls.Add(this.lblCurrent, 1, 0);
			this.tableLayoutPanel.Controls.Add(this.lblSavedVersion, 0, 0);
			this.tableLayoutPanel.Controls.Add(tableLayoutCurrent, 1, 3);
			this.tableLayoutPanel.Controls.Add(tableLayoutRevision, 0, 3);
			this.tableLayoutPanel.Name = "tableLayoutPanel";
			//
			// persistence
			//
			this.persistence.Parent = this;
			this.persistence.LoadSettings += new SIL.FieldWorks.Common.Controls.Persistence.Settings(this.OnLoadSettings);
			this.persistence.SaveSettings += new SIL.FieldWorks.Common.Controls.Persistence.Settings(this.OnSaveSettings);
			//
			// DiffDialog
			//
			this.AcceptButton = btnClose;
			resources.ApplyResources(this, "$this");
			this.AccessibleRole = System.Windows.Forms.AccessibleRole.Dialog;
			this.CancelButton = btnClose;
			this.Controls.Add(this.tableLayoutPanel);
			this.MinimizeBox = false;
			this.Name = "DiffDialog";
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			pnlCloseHelp.ResumeLayout(false);
			tableLayoutRevision.ResumeLayout(false);
			tableLayoutRevision.PerformLayout();
			tableLayoutCurrent.ResumeLayout(false);
			tableLayoutCurrent.PerformLayout();
			this.tableLayoutPanel.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.persistence)).EndInit();
			this.ResumeLayout(false);

		}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:101,代码来源:DiffDialog.cs

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

示例6: InitializeComponent


//.........这里部分代码省略.........
     this.btnTree.UseVisualStyleBackColor = true;
     this.btnTree.Click += new EventHandler(this.btnTree_Click);
     manager.ApplyResources(this.tlpBack, "tlpBack");
     this.tlpBack.Controls.Add(this.lblCopyTo, 0, 0);
     this.tlpBack.Controls.Add(this.chkAsyncFileCopy, 1, 6);
     this.tlpBack.Controls.Add(this.chkCopyItemACL, 0, 6);
     this.tlpBack.Controls.Add(this.chkSkipEmptyFolders, 1, 5);
     this.tlpBack.Controls.Add(this.cmbCopyTo, 0, 1);
     this.tlpBack.Controls.Add(this.chkCheckFreeSpace, 1, 4);
     this.tlpBack.Controls.Add(this.chkCopyItemTime, 0, 5);
     this.tlpBack.Controls.Add(this.lblMode, 0, 2);
     this.tlpBack.Controls.Add(this.cmbMode, 0, 3);
     this.tlpBack.Controls.Add(this.lblFilter, 1, 2);
     this.tlpBack.Controls.Add(this.chkDeleteSource, 0, 4);
     this.tlpBack.Controls.Add(this.cmbFilter, 1, 3);
     this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpBack.Name = "tlpBack";
     this.lblCopyTo.AutoEllipsis = true;
     this.tlpBack.SetColumnSpan(this.lblCopyTo, 2);
     manager.ApplyResources(this.lblCopyTo, "lblCopyTo");
     this.lblCopyTo.Name = "lblCopyTo";
     manager.ApplyResources(this.chkAsyncFileCopy, "chkAsyncFileCopy");
     this.chkAsyncFileCopy.Checked = true;
     this.chkAsyncFileCopy.CheckState = CheckState.Indeterminate;
     this.chkAsyncFileCopy.Name = "chkAsyncFileCopy";
     this.chkAsyncFileCopy.ThreeState = true;
     this.chkAsyncFileCopy.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkCopyItemACL, "chkCopyItemACL");
     this.chkCopyItemACL.Name = "chkCopyItemACL";
     this.chkCopyItemACL.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkSkipEmptyFolders, "chkSkipEmptyFolders");
     this.chkSkipEmptyFolders.Name = "chkSkipEmptyFolders";
     this.chkSkipEmptyFolders.UseVisualStyleBackColor = true;
     this.AutoComplete.SetAutoComplete(this.cmbCopyTo, true);
     this.tlpBack.SetColumnSpan(this.cmbCopyTo, 2);
     manager.ApplyResources(this.cmbCopyTo, "cmbCopyTo");
     this.cmbCopyTo.Name = "cmbCopyTo";
     this.Validator.SetValidateOn(this.cmbCopyTo, ValidateOn.TextChangedTimer);
     this.cmbCopyTo.Validating += new CancelEventHandler(this.cmbCopyTo_Validating);
     this.cmbCopyTo.SelectionChangeCommitted += new EventHandler(this.cmbCopyTo_TextUpdate);
     this.cmbCopyTo.TextUpdate += new EventHandler(this.cmbCopyTo_TextUpdate);
     manager.ApplyResources(this.chkCheckFreeSpace, "chkCheckFreeSpace");
     this.chkCheckFreeSpace.Checked = true;
     this.chkCheckFreeSpace.CheckState = CheckState.Checked;
     this.chkCheckFreeSpace.Name = "chkCheckFreeSpace";
     this.chkCheckFreeSpace.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkCopyItemTime, "chkCopyItemTime");
     this.chkCopyItemTime.Checked = true;
     this.chkCopyItemTime.CheckState = CheckState.Checked;
     this.chkCopyItemTime.Name = "chkCopyItemTime";
     this.chkCopyItemTime.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.lblMode, "lblMode");
     this.lblMode.Name = "lblMode";
     manager.ApplyResources(this.cmbMode, "cmbMode");
     this.cmbMode.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbMode.Items.AddRange(new object[] { manager.GetString("cmbMode.Items"), manager.GetString("cmbMode.Items1"), manager.GetString("cmbMode.Items2"), manager.GetString("cmbMode.Items3"), manager.GetString("cmbMode.Items4") });
     this.cmbMode.MinimumSize = new Size(0xca, 0);
     this.cmbMode.Name = "cmbMode";
     manager.ApplyResources(this.lblFilter, "lblFilter");
     this.lblFilter.Name = "lblFilter";
     manager.ApplyResources(this.chkDeleteSource, "chkDeleteSource");
     this.chkDeleteSource.Name = "chkDeleteSource";
     this.chkDeleteSource.UseVisualStyleBackColor = true;
     this.chkDeleteSource.Click += new EventHandler(this.chkDeleteSource_Click);
     manager.ApplyResources(this.cmbFilter, "cmbFilter");
     this.cmbFilter.DrawMode = DrawMode.OwnerDrawFixed;
     this.cmbFilter.FormattingEnabled = true;
     this.cmbFilter.Name = "cmbFilter";
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Top;
     this.bvlButtons.Style = Border3DStyle.Flat;
     this.Validator.Owner = this;
     this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton;
     this.AutoComplete.UseCustomSource = Settings.Default.UseACSRecentItems;
     this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables;
     this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     this.AutoValidate = AutoValidate.EnableAllowFocusChange;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(panel);
     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 = "FileSystemCopyDialog";
     base.ShowInTaskbar = false;
     base.Shown += new EventHandler(this.FileSystemCopyDialog_Shown);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tlpBack.ResumeLayout(false);
     this.tlpBack.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:101,代码来源:FileSystemCopyDialog.cs

示例7: Bug81843

		public void Bug81843 ()
		{
			Form f = new Form ();
			f.ShowInTaskbar = false;
			
		        TableLayoutPanel tableLayoutPanel1;
			Button button2;
			TextBox textBox1;
			Button button4;

			tableLayoutPanel1 = new TableLayoutPanel ();
			button2 = new Button ();
			button4 = new Button ();
			textBox1 = new TextBox ();
			tableLayoutPanel1.SuspendLayout ();
			f.SuspendLayout ();

			tableLayoutPanel1.AutoSize = true;
			tableLayoutPanel1.ColumnCount = 3;
			tableLayoutPanel1.ColumnStyles.Add (new ColumnStyle ());
			tableLayoutPanel1.ColumnStyles.Add (new ColumnStyle ());
			tableLayoutPanel1.ColumnStyles.Add (new ColumnStyle ());
			tableLayoutPanel1.Controls.Add (button2, 0, 1);
			tableLayoutPanel1.Controls.Add (button4, 2, 1);
			tableLayoutPanel1.Controls.Add (textBox1, 1, 0);
			tableLayoutPanel1.Location = new Point (0, 0);
			tableLayoutPanel1.RowCount = 2;
			tableLayoutPanel1.RowStyles.Add (new RowStyle (SizeType.Percent, 50F));
			tableLayoutPanel1.RowStyles.Add (new RowStyle (SizeType.Percent, 50F));
			tableLayoutPanel1.Size = new Size (292, 287);

			button2.Size = new Size (75, 23);
			
			button4.Size = new Size (75, 23);

			textBox1.Dock = DockStyle.Fill;
			textBox1.Location = new Point (84, 3);
			textBox1.Multiline = true;
			textBox1.Size = new Size (94, 137);

			f.ClientSize = new Size (292, 312);
			f.Controls.Add (tableLayoutPanel1);
			f.Name = "Form1";
			f.Text = "Form1";
			tableLayoutPanel1.ResumeLayout (false);
			tableLayoutPanel1.PerformLayout ();
			f.ResumeLayout (false);
			f.PerformLayout ();

			f.Show ();

			Assert.AreEqual (new Rectangle (3, 146, 75, 23), button2.Bounds, "A1");
			Assert.AreEqual (new Rectangle (184, 146, 75, 23), button4.Bounds, "A2");
			Assert.AreEqual (new Rectangle (84, 3, 94, 137), textBox1.Bounds, "A3");
			
			f.Dispose ();
		}
开发者ID:Profit0004,项目名称:mono,代码行数:57,代码来源:TableLayoutTest.cs

示例8: XamarinBug18638

		public void XamarinBug18638 ()
		{
			// Spanning items should not have their entire width assigned to the first column in the span.
			TableLayoutPanel tlp = new TableLayoutPanel ();
			tlp.SuspendLayout ();
			tlp.Size = new Size(291, 100);
			tlp.AutoSize = true;
			tlp.ColumnStyles.Add (new ColumnStyle (SizeType.Absolute, 60));
			tlp.ColumnStyles.Add (new ColumnStyle (SizeType.Percent, 100));
			tlp.ColumnStyles.Add (new ColumnStyle (SizeType.Absolute, 45));
			tlp.ColumnCount = 3;
			tlp.RowStyles.Add (new RowStyle (SizeType.AutoSize));
			var label1 = new Label {AutoSize = true, Text = @"This line spans all three columns in the table!"};
			tlp.Controls.Add (label1, 0, 0);
			tlp.SetColumnSpan (label1, 3);
			tlp.RowStyles.Add (new RowStyle (SizeType.AutoSize));
			tlp.RowCount = 1;
			var label2 = new Label {AutoSize = true, Text = @"This line spans columns two and three."};
			tlp.Controls.Add (label2, 1, 1);
			tlp.SetColumnSpan (label2, 2);
			tlp.RowCount = 2;
			AddTableRow (tlp, "First Row", "This is a test");
			AddTableRow (tlp, "Row 2", "This is another test");
			tlp.ResumeLayout ();

			var widths = tlp.GetColumnWidths ();
			Assert.AreEqual (4, tlp.RowCount, "X18638-1");
			Assert.AreEqual (3, tlp.ColumnCount, "X18638-2");
			Assert.AreEqual (60, widths[0], "X18638-3");
			Assert.Greater (label2.Width, widths[1], "X18638-5");
			Assert.AreEqual (45, widths[2], "X18638-4");
		}
开发者ID:Profit0004,项目名称:mono,代码行数:32,代码来源:TableLayoutTest.cs

示例9: CreateTableForExtensionNodeProperties

        private TableLayoutPanel CreateTableForExtensionNodeProperties()
        {
            var table = new TableLayoutPanel
            {
                AutoSize = true,
                Dock = DockStyle.Top,
            };
            table.ColumnCount = 2;
            table.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
            table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100));

            table.SuspendLayout();
            foreach (var propertyName in _node.PropertyNames)
            {
                table.RowCount++;
                table.RowStyles.Add(new RowStyle(SizeType.AutoSize));
                AddExtensionNodeProperties(table, propertyName);
            }
            table.ResumeLayout();

            return table;
        }
开发者ID:nunit,项目名称:nunit-gui,代码行数:22,代码来源:ExtensionNodeView.cs

示例10: ShowPanelBar


//.........这里部分代码省略.........
      _splashAnimation = new PictureBox();

      _splashOuterPanel.SuspendLayout();
      _splashOuterTable.SuspendLayout();
      _splashInnerTable.SuspendLayout();
      ((System.ComponentModel.ISupportInitialize)(_splashAnimation)).BeginInit();
      _form.SuspendLayout();

      var splashX = (_form.ClientRectangle.Width / 2) - (262 / 2);
      var splashY = (_form.ClientRectangle.Height / 2) - (117 / 2);

      // 
      // splashOuterPanel
      // 
      _splashOuterPanel.BorderStyle = BorderStyle.FixedSingle;
      _splashOuterPanel.Controls.Add(_splashOuterTable);
      _splashOuterPanel.Location = new System.Drawing.Point(splashX, splashY);
      _splashOuterPanel.Name = "splashOuterPanel";
      _splashOuterPanel.Size = new System.Drawing.Size(262, 117);
      _splashOuterPanel.UseWaitCursor = true;

      // 
      // splashOuterTable
      // 
      _splashOuterTable.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single;
      _splashOuterTable.ColumnCount = 1;
      _splashOuterTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
      _splashOuterTable.Controls.Add(_splashInnerTable, 0, 0);
      _splashOuterTable.Dock = DockStyle.Fill;
      _splashOuterTable.Location = new System.Drawing.Point(0, 0);
      _splashOuterTable.Name = "splashOuterTable";
      _splashOuterTable.RowCount = 1;
      _splashOuterTable.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
      _splashOuterTable.Size = new System.Drawing.Size(260, 115);
      _splashOuterTable.UseWaitCursor = true;

      // 
      // splashInnerTable
      // 
      _splashInnerTable.AutoSize = true;
      _splashInnerTable.BackgroundImage = Properties.Resources.AboutBack;
      _splashInnerTable.BackgroundImageLayout = ImageLayout.Stretch;
      _splashInnerTable.ColumnCount = 1;
      _splashInnerTable.ColumnStyles.Add(new ColumnStyle());
      _splashInnerTable.Controls.Add(_splashStatusLabel, 0, 0);
      _splashInnerTable.Controls.Add(_splashAnimation, 0, 1);
      _splashInnerTable.Dock = DockStyle.Fill;
      _splashInnerTable.ForeColor = System.Drawing.SystemColors.ControlText;
      _splashInnerTable.Location = new System.Drawing.Point(1, 1);
      _splashInnerTable.Margin = new Padding(0);
      _splashInnerTable.Name = "splashInnerTable";
      _splashInnerTable.RowCount = 2;
      _splashInnerTable.RowStyles.Add(new RowStyle(SizeType.Absolute, 60F));
      _splashInnerTable.RowStyles.Add(new RowStyle());
      _splashInnerTable.Size = new System.Drawing.Size(258, 113);
      _splashInnerTable.UseWaitCursor = true;

      // 
      // splashStatusLabel
      // 
      _splashStatusLabel.BackColor = System.Drawing.Color.Transparent;
      _splashStatusLabel.Dock = DockStyle.Fill;
      _splashStatusLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
      _splashStatusLabel.ImeMode = ImeMode.NoControl;
      _splashStatusLabel.Location = new System.Drawing.Point(20, 0);
      _splashStatusLabel.Margin = new Padding(20, 0, 40, 0);
      _splashStatusLabel.Name = "splashStatusLabel";
      _splashStatusLabel.Size = new System.Drawing.Size(210, 60);
      if (text.Length > 0)
      {
        _splashStatusLabel.Text = text;
      }
      _splashStatusLabel.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
      _splashStatusLabel.UseWaitCursor = true;

      // 
      // splashAnimation
      // 
      _splashAnimation.Image = Properties.Resources.progressbar_green;
      _splashAnimation.ImeMode = ImeMode.NoControl;
      _splashAnimation.Location = new System.Drawing.Point(20, 70);
      _splashAnimation.Margin = new Padding(20, 10, 0, 0);
      _splashAnimation.Name = "splashAnimation";
      _splashAnimation.Size = new System.Drawing.Size(214, 15);
      _splashAnimation.TabStop = false;
      _splashAnimation.UseWaitCursor = true;

      // 
      // Add to form
      // 
      _form.Controls.Add(_splashOuterPanel);
      _splashOuterPanel.ResumeLayout(false);
      _splashOuterTable.ResumeLayout(false);
      _splashOuterTable.PerformLayout();
      _splashInnerTable.ResumeLayout(false);
      ((System.ComponentModel.ISupportInitialize)(_splashAnimation)).EndInit();
      _form.ResumeLayout(false);

      _splashOuterPanel.BringToFront();
    }
开发者ID:transformersprimeabcxyz,项目名称:cslacontrib-MarimerLLC,代码行数:101,代码来源:SplashPanel.cs

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

示例12: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(DialogFontOptionControl));
     this.chkChangeFont = new CheckBox();
     this.cmbFontSize = new ComboBox();
     this.lblFontSize = new Label();
     this.lblFontFamily = new Label();
     this.cmbFontFamily = new ComboBox();
     TableLayoutPanel panel = new TableLayoutPanel();
     panel.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(this.chkChangeFont, 0, 0);
     panel.Controls.Add(this.cmbFontSize, 2, 2);
     panel.Controls.Add(this.lblFontSize, 1, 2);
     panel.Controls.Add(this.lblFontFamily, 1, 1);
     panel.Controls.Add(this.cmbFontFamily, 2, 1);
     panel.Name = "tlpBack";
     manager.ApplyResources(this.chkChangeFont, "chkChangeFont");
     panel.SetColumnSpan(this.chkChangeFont, 3);
     this.chkChangeFont.Name = "chkChangeFont";
     this.chkChangeFont.UseVisualStyleBackColor = true;
     this.chkChangeFont.CheckedChanged += new EventHandler(this.chkChangeFont_CheckedChanged);
     manager.ApplyResources(this.cmbFontSize, "cmbFontSize");
     this.cmbFontSize.FormattingEnabled = true;
     this.cmbFontSize.Items.AddRange(new object[] { manager.GetString("cmbFontSize.Items"), manager.GetString("cmbFontSize.Items1"), manager.GetString("cmbFontSize.Items2"), manager.GetString("cmbFontSize.Items3"), manager.GetString("cmbFontSize.Items4"), manager.GetString("cmbFontSize.Items5"), manager.GetString("cmbFontSize.Items6"), manager.GetString("cmbFontSize.Items7"), manager.GetString("cmbFontSize.Items8"), manager.GetString("cmbFontSize.Items9"), manager.GetString("cmbFontSize.Items10") });
     this.cmbFontSize.Name = "cmbFontSize";
     this.cmbFontSize.Leave += new EventHandler(this.cmbFontSize_Leave);
     this.cmbFontSize.Enter += new EventHandler(this.cmbFontSize_Enter);
     manager.ApplyResources(this.lblFontSize, "lblFontSize");
     this.lblFontSize.Name = "lblFontSize";
     manager.ApplyResources(this.lblFontFamily, "lblFontFamily");
     this.lblFontFamily.Name = "lblFontFamily";
     this.cmbFontFamily.AutoCompleteMode = AutoCompleteMode.Append;
     this.cmbFontFamily.AutoCompleteSource = AutoCompleteSource.ListItems;
     this.cmbFontFamily.DisplayMember = "Name";
     manager.ApplyResources(this.cmbFontFamily, "cmbFontFamily");
     this.cmbFontFamily.Name = "cmbFontFamily";
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(panel);
     base.Name = "DialogFontOptionControl";
     panel.ResumeLayout(false);
     panel.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:47,代码来源:DialogFontOptionControl.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.btnOk = new Button();
     this.btnMakeFolder = new Button();
     this.toolTipError = new ToolTip(this.components);
     this.bvlButtons = new Bevel();
     this.AutoComplete = new AutoCompleteProvider();
     Label label = new Label();
     Label label2 = new Label();
     TableLayoutPanel panel = new TableLayoutPanel();
     panel.SuspendLayout();
     this.tlpButtons.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(label, "lblFolder");
     label.Name = "lblFolder";
     manager.ApplyResources(label2, "lblTree");
     label2.Name = "lblTree";
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(label, 0, 0);
     panel.Controls.Add(this.chkUpdateTree, 0, 4);
     panel.Controls.Add(this.cmbFolder, 0, 1);
     panel.Controls.Add(label2, 0, 2);
     panel.Controls.Add(this.tvFolders, 0, 3);
     panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel.Name = "tlpBack";
     manager.ApplyResources(this.chkUpdateTree, "chkUpdateTree");
     this.chkUpdateTree.Checked = true;
     this.chkUpdateTree.CheckState = CheckState.Checked;
     this.chkUpdateTree.Name = "chkUpdateTree";
     this.chkUpdateTree.UseVisualStyleBackColor = true;
     this.AutoComplete.SetAutoComplete(this.cmbFolder, true);
     manager.ApplyResources(this.cmbFolder, "cmbFolder");
     this.cmbFolder.FormattingEnabled = true;
     this.cmbFolder.Name = "cmbFolder";
     this.cmbFolder.SelectionChangeCommitted += new EventHandler(this.cmbFolder_SelectionChangeCommitted);
     this.cmbFolder.Leave += new EventHandler(this.cmbFolder_Leave);
     this.cmbFolder.DropDownClosed += new EventHandler(this.cmbFolder_DropDownClosed);
     this.cmbFolder.TextUpdate += new EventHandler(this.cmbFolder_TextUpdate);
     this.tvFolders.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never));
     this.tvFolders.DataBindings.Add(new Binding("FolderNameCasing", VirtualFilePanelSettings.Default, "FolderNameCasing", true, DataSourceUpdateMode.Never));
     manager.ApplyResources(this.tvFolders, "tvFolders");
     this.tvFolders.DrawMode = TreeViewDrawMode.OwnerDrawAll;
     this.tvFolders.ExplorerTheme = Settings.Default.ExplorerTheme;
     this.tvFolders.FadePlusMinus = true;
     this.tvFolders.FolderNameCasing = VirtualFilePanelSettings.Default.FolderNameCasing;
     this.tvFolders.FullRowSelect = true;
     this.tvFolders.HideSelection = false;
     this.tvFolders.HotTracking = true;
     this.tvFolders.Name = "tvFolders";
     this.tvFolders.ShowAllRootFolders = true;
     this.tvFolders.ShowItemIcons = false;
     this.tvFolders.ShowLines = false;
     this.tvFolders.WatchChanges = Settings.Default.WatchFolderTree;
     this.tvFolders.AfterSelect += new TreeViewEventHandler(this.treeView_AfterSelect);
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.btnCancel, 3, 0);
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnMakeFolder, 2, 0);
     this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpButtons.Name = "tlpButtons";
     this.btnCancel.DialogResult = DialogResult.Cancel;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     manager.ApplyResources(this.btnMakeFolder, "btnMakeFolder");
     this.btnMakeFolder.Name = "btnMakeFolder";
     this.btnMakeFolder.UseVisualStyleBackColor = true;
     this.btnMakeFolder.Click += new EventHandler(this.btnMakeFolder_Click);
     this.toolTipError.ToolTipIcon = ToolTipIcon.Error;
     this.toolTipError.ToolTipTitle = "Invalid Folder Name";
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Bottom;
     this.bvlButtons.Style = Border3DStyle.Flat;
     this.AutoComplete.UseEnvironmentVariablesSource = Settings.Default.UseACSEnvironmentVariables;
     this.AutoComplete.UseFileSystemSource = Settings.Default.UseACSFileSystem;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(panel);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(this.tlpButtons);
     base.FixMouseWheel = Settings.Default.FixMouseWheel;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SelectFolderDialog";
     base.ShowInTaskbar = false;
     base.Shown += new EventHandler(this.SelectFolderDialog_Shown);
     base.FormClosed += new FormClosedEventHandler(this.SelectFolderDialog_FormClosed);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
开发者ID:shankithegreat,项目名称:commanderdotnet,代码行数:101,代码来源:SelectFolderDialog.cs

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


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