本文整理汇总了C#中Panel.SuspendLayout方法的典型用法代码示例。如果您正苦于以下问题:C# Panel.SuspendLayout方法的具体用法?C# Panel.SuspendLayout怎么用?C# Panel.SuspendLayout使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Panel
的用法示例。
在下文中一共展示了Panel.SuspendLayout方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MainForm
public MainForm ()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager (typeof (MainForm));
_affectedFilesLabel = new Label ();
AffectedFiles = new ListView ();
ItemColumn = new ColumnHeader ();
_groupBox = new GroupBox ();
_optionsPanel = new Panel ();
_optionsButton = new Button ();
OptionsPanel = new Panel ();
panel4 = new Panel ();
panel5 = new Panel ();
_groupBox.SuspendLayout ();
_optionsPanel.SuspendLayout ();
OptionsPanel.SuspendLayout ();
panel4.SuspendLayout ();
panel5.SuspendLayout ();
SuspendLayout ();
//
// _affectedFilesLabel
//
_affectedFilesLabel.AccessibleDescription = resources.GetString ("affectedFilesLabel.AccessibleDescription");
_affectedFilesLabel.AccessibleName = resources.GetString ("affectedFilesLabel.AccessibleName");
_affectedFilesLabel.Anchor = ((AnchorStyles) (resources.GetObject ("affectedFilesLabel.Anchor")));
_affectedFilesLabel.AutoSize = ((bool) (resources.GetObject ("affectedFilesLabel.AutoSize")));
_affectedFilesLabel.Dock = ((DockStyle) (resources.GetObject ("affectedFilesLabel.Dock")));
_affectedFilesLabel.Enabled = ((bool) (resources.GetObject ("affectedFilesLabel.Enabled")));
_affectedFilesLabel.Font = ((System.Drawing.Font) (resources.GetObject ("affectedFilesLabel.Font")));
_affectedFilesLabel.Image = ((System.Drawing.Image) (resources.GetObject ("affectedFilesLabel.Image")));
_affectedFilesLabel.ImageAlign = ((System.Drawing.ContentAlignment) (resources.GetObject ("affectedFilesLabel.ImageAlign")));
_affectedFilesLabel.ImageIndex = ((int) (resources.GetObject ("affectedFilesLabel.ImageIndex")));
_affectedFilesLabel.ImeMode = ((ImeMode) (resources.GetObject ("affectedFilesLabel.ImeMode")));
_affectedFilesLabel.Location = ((System.Drawing.Point) (resources.GetObject ("affectedFilesLabel.Location")));
_affectedFilesLabel.Name = "_affectedFilesLabel";
_affectedFilesLabel.RightToLeft = ((RightToLeft) (resources.GetObject ("affectedFilesLabel.RightToLeft")));
_affectedFilesLabel.Size = ((System.Drawing.Size) (resources.GetObject ("affectedFilesLabel.Size")));
_affectedFilesLabel.TabIndex = ((int) (resources.GetObject ("affectedFilesLabel.TabIndex")));
_affectedFilesLabel.Text = resources.GetString ("affectedFilesLabel.Text");
_affectedFilesLabel.TextAlign = ((System.Drawing.ContentAlignment) (resources.GetObject ("affectedFilesLabel.TextAlign")));
_affectedFilesLabel.Visible = ((bool) (resources.GetObject ("affectedFilesLabel.Visible")));
//
// AffectedFiles
//
AffectedFiles.Anchor = ((AnchorStyles) (resources.GetObject ("AffectedFiles.Anchor")));
AffectedFiles.FullRowSelect = true;
AffectedFiles.HideSelection = false;
AffectedFiles.Location = ((System.Drawing.Point) (resources.GetObject ("AffectedFiles.Location")));
AffectedFiles.Size = new Size (195, 120);
AffectedFiles.View = View.Details;
//
// ItemColumn
//
ItemColumn.Text = "Items";
ItemColumn.Width = 150;
AffectedFiles.Columns.Add (ItemColumn);
//
// _groupBox
//
_groupBox.FlatStyle = FlatStyle.System;
_groupBox.Location = ((System.Drawing.Point) (resources.GetObject ("groupBox.Location")));
_groupBox.Size = new Size (195, 100);
_groupBox.TabStop = false;
_groupBox.Text = "Group";
//
// _optionsPanel
//
_optionsPanel.AccessibleDescription = resources.GetString ("panel.AccessibleDescription");
_optionsPanel.AccessibleName = resources.GetString ("panel.AccessibleName");
_optionsPanel.Anchor = ((AnchorStyles) (resources.GetObject ("panel.Anchor")));
_optionsPanel.AutoScroll = ((bool) (resources.GetObject ("panel.AutoScroll")));
_optionsPanel.AutoScrollMargin = ((System.Drawing.Size) (resources.GetObject ("panel.AutoScrollMargin")));
_optionsPanel.AutoScrollMinSize = ((System.Drawing.Size) (resources.GetObject ("panel.AutoScrollMinSize")));
_optionsPanel.BackgroundImage = ((System.Drawing.Image) (resources.GetObject ("panel.BackgroundImage")));
_optionsPanel.Controls.Add (_optionsButton);
_optionsPanel.Dock = ((DockStyle) (resources.GetObject ("panel.Dock")));
_optionsPanel.Enabled = ((bool) (resources.GetObject ("panel.Enabled")));
_optionsPanel.Font = ((System.Drawing.Font) (resources.GetObject ("panel.Font")));
_optionsPanel.ImeMode = ((ImeMode) (resources.GetObject ("panel.ImeMode")));
_optionsPanel.Location = ((System.Drawing.Point) (resources.GetObject ("panel.Location")));
_optionsPanel.RightToLeft = ((RightToLeft) (resources.GetObject ("panel.RightToLeft")));
_optionsPanel.Size = ((System.Drawing.Size) (resources.GetObject ("panel.Size")));
_optionsPanel.TabIndex = ((int) (resources.GetObject ("panel.TabIndex")));
_optionsPanel.Visible = ((bool) (resources.GetObject ("panel.Visible")));
//
// _optionsButton
//
_optionsButton.AccessibleDescription = resources.GetString ("_optionsButton.AccessibleDescription");
_optionsButton.AccessibleName = resources.GetString ("_optionsButton.AccessibleName");
_optionsButton.Anchor = ((AnchorStyles) (resources.GetObject ("_optionsButton.Anchor")));
_optionsButton.BackgroundImage = ((System.Drawing.Image) (resources.GetObject ("_optionsButton.BackgroundImage")));
_optionsButton.Dock = ((DockStyle) (resources.GetObject ("_optionsButton.Dock")));
_optionsButton.Enabled = ((bool) (resources.GetObject ("_optionsButton.Enabled")));
_optionsButton.FlatStyle = ((FlatStyle) (resources.GetObject ("_optionsButton.FlatStyle")));
_optionsButton.Font = ((System.Drawing.Font) (resources.GetObject ("_optionsButton.Font")));
_optionsButton.Image = ((System.Drawing.Image) (resources.GetObject ("_optionsButton.Image")));
_optionsButton.ImageAlign = ((System.Drawing.ContentAlignment) (resources.GetObject ("_optionsButton.ImageAlign")));
_optionsButton.ImageIndex = ((int) (resources.GetObject ("_optionsButton.ImageIndex")));
_optionsButton.ImeMode = ((ImeMode) (resources.GetObject ("_optionsButton.ImeMode")));
_optionsButton.Location = ((System.Drawing.Point) (resources.GetObject ("_optionsButton.Location")));
_optionsButton.Name = "_optionsButton";
//.........这里部分代码省略.........