本文整理汇总了C#中System.Windows.Forms.SplitContainer.SuspendLayout方法的典型用法代码示例。如果您正苦于以下问题:C# SplitContainer.SuspendLayout方法的具体用法?C# SplitContainer.SuspendLayout怎么用?C# SplitContainer.SuspendLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.SplitContainer
的用法示例。
在下文中一共展示了SplitContainer.SuspendLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: IntialOneView
void IntialOneView()
{
this.Controls.Clear();
//SplitContainer verticalRoot = new SplitContainer();
_viewContainerRoot = new SplitContainer();
((System.ComponentModel.ISupportInitialize)
(_viewContainerRoot)).BeginInit();
_viewContainerRoot.Panel1.SuspendLayout();
_viewContainerRoot.Panel2.SuspendLayout();
_viewContainerRoot.SuspendLayout();
_viewContainerRoot.Dock = DockStyle.Fill;
_viewContainerRoot.Location = new System.Drawing.Point(0, 0);
_viewContainerRoot.Name = "VerticalRoot";
_viewContainerRoot.Orientation = Orientation.Vertical;
SplitContainer view1 = new ViewContainer("View1", true);
// _viewContainerRoot.Panel1.Controls.Add(view1);
this.Controls.Add(view1);
this.Controls.Add(_viewContainerRoot);
view1.Panel1.ResumeLayout(false);
view1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)
view1).EndInit();
view1.ResumeLayout(false);
_viewContainerRoot.Panel1.ResumeLayout(false);
_viewContainerRoot.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)
_viewContainerRoot).EndInit();
_viewContainerRoot.ResumeLayout(false);
this.Name = "ViewPanal";
this.InitLayout();
}
示例2: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new Container();
ComponentResourceManager resources = new ComponentResourceManager(typeof(frmExplorer));
mainMenu1 = new MainMenu(components);
menuItem1 = new MenuItem();
OpenDBmenu = new MenuItem();
CreateDBMenu = new MenuItem();
CheckIntegrity = new MenuItem();
menuItem3 = new MenuItem();
ExitAppMenu = new MenuItem();
menuItem2 = new MenuItem();
AddAreaMenu = new MenuItem();
objExecuteSQL = new MenuItem();
objOpenTableSQL = new MenuItem();
objRenameTableSQL = new MenuItem();
objAddColumnSQL = new MenuItem();
objRemoveColumnSQL = new MenuItem();
objDeleteRowSQL = new MenuItem();
objCreateTableSQL = new MenuItem();
objDeleteTableSQL = new MenuItem();
TreeViewContextMenu = new ContextMenu();
TreeViewTablesMenu = new ContextMenu();
toolBar1 = new ToolBar();
OpenDatabase = new ToolBarButton();
IntegrityCheck = new ToolBarButton();
Separator = new ToolBarButton();
ExecuteSQL = new ToolBarButton();
ToolBarImages = new ImageList(components);
sqlStatementTextBox = new FastColoredTextBox();
statusStrip1 = new StatusStrip();
StatusStripLog = new ToolStripStatusLabel();
splitContainer1 = new SplitContainer();
splitContainer2 = new SplitContainer();
SQLAreaTabControl = new TabControlEx();
tabPage1 = new TabPage();
silverMonkeyFCTB1 = new SilverMonkeyFCTB();
SqlResultsListView = new ListView_NoFlicker();
tabControl1 = new TabControl();
tabPage2 = new TabPage();
tabPage3 = new TabPage();
DatabaseTreeView = new TreeView();
((ISupportInitialize)(sqlStatementTextBox)).BeginInit();
statusStrip1.SuspendLayout();
((ISupportInitialize)(splitContainer1)).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
((ISupportInitialize)(splitContainer2)).BeginInit();
splitContainer2.Panel1.SuspendLayout();
splitContainer2.Panel2.SuspendLayout();
splitContainer2.SuspendLayout();
SQLAreaTabControl.SuspendLayout();
tabPage1.SuspendLayout();
((ISupportInitialize)(silverMonkeyFCTB1)).BeginInit();
tabControl1.SuspendLayout();
tabPage2.SuspendLayout();
SuspendLayout();
//
// mainMenu1
//
mainMenu1.MenuItems.AddRange(new MenuItem[] {
menuItem1,
menuItem2});
//
// menuItem1
//
menuItem1.Index = 0;
menuItem1.MenuItems.AddRange(new MenuItem[] {
OpenDBmenu,
CreateDBMenu,
CheckIntegrity,
menuItem3,
ExitAppMenu});
menuItem1.Text = "File";
//
// OpenDBmenu
//
OpenDBmenu.Index = 0;
OpenDBmenu.Text = "Open Database";
OpenDBmenu.Click += new EventHandler(OpenDBmenu_Click);
//
// CreateDBMenu
//
CreateDBMenu.Index = 1;
CreateDBMenu.Text = "Create Database";
CreateDBMenu.Click += new EventHandler(CreateDBMenu_Click);
//
// CheckIntegrity
//
CheckIntegrity.Index = 2;
CheckIntegrity.Text = "Check DB Integrity";
CheckIntegrity.Click += new EventHandler(CheckIntegrity_Click);
//
// menuItem3
//
//.........这里部分代码省略.........
示例3: CreateSplitPanel
SplitContainer CreateSplitPanel(GuiLayout gl)
{
SplitContainer sc = new SplitContainer();
sc.SuspendLayout();
sc.Panel1.SuspendLayout();
sc.Panel2.SuspendLayout();
sc.Orientation = Orientation.Horizontal;
if (gl.orientation.IsExplicit() && (((string)gl.orientation).ToLower()[0] == 'v'))
sc.Orientation = Orientation.Vertical;
if (gl.splitPos.IsExplicit())
sc.SplitterDistance = gl.splitPos;
foreach (GuiLayout subgl in gl.subLayouts)
{
SplitterPanel sp;
if (subgl.type == GuiLayout.LayoutType.SplitPanel1)
sp = sc.Panel1;
else if (subgl.type == GuiLayout.LayoutType.SplitPanel2)
sp = sc.Panel2;
else
continue;
CreateSublayouts(subgl, sp);
}
FillCommonLayoutParameters(gl, sc);
sc.Panel1.ResumeLayout();
sc.Panel2.ResumeLayout();
return sc;
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
treeView = new TreeView();
timer = new Timer(components);
chart = new ChartContrl();
splitContainer = new SplitContainer();
((System.ComponentModel.ISupportInitialize)(splitContainer)).BeginInit();
splitContainer.Panel1.SuspendLayout();
splitContainer.Panel2.SuspendLayout();
splitContainer.SuspendLayout();
SuspendLayout();
//
// treeView
//
treeView.Dock = DockStyle.Fill;
treeView.Location = new Point(0, 0);
treeView.Name = "treeView";
treeView.Size = new Size(175, 288);
treeView.TabIndex = 12;
treeView.MouseClick += new MouseEventHandler(treeView_MouseClick);
//
// timer
//
timer.Interval = 1000;
timer.Tick += new System.EventHandler(timer_Tick);
//
// chart
//
chart.Dock = DockStyle.Fill;
chart.Location = new Point(0, 0);
chart.Name = "chart";
chart.Size = new Size(348, 288);
chart.TabIndex = 11;
//
// splitContainer
//
splitContainer.Dock = DockStyle.Fill;
splitContainer.Location = new Point(0, 0);
splitContainer.Name = "splitContainer";
//
// splitContainer.Panel1
//
splitContainer.Panel1.Controls.Add(treeView);
//
// splitContainer.Panel2
//
splitContainer.Panel2.Controls.Add(chart);
splitContainer.Size = new Size(527, 288);
splitContainer.SplitterDistance = 175;
splitContainer.TabIndex = 13;
//
// ChartForm
//
AutoScaleDimensions = new SizeF(6F, 13F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(527, 288);
Controls.Add(splitContainer);
MaximizeBox = false;
Name = "ChartForm";
Text = "Performance Counters";
Load += new System.EventHandler(ChartForm_Load);
splitContainer.Panel1.ResumeLayout(false);
splitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(splitContainer)).EndInit();
splitContainer.ResumeLayout(false);
ResumeLayout(false);
}
示例5: Init
private void Init(CurveCanvas curveCanvas)
{
var lockorgValues = (int[])Enum.GetValues(typeof(OriginLockMode));
var tanTypeValues = (int[])Enum.GetValues(typeof(CurveTangentTypes));
var loopValues = (int[])Enum.GetValues(typeof(CurveLoopTypes));
splitContainer1 = new SplitContainer();
m_curvesListView = new ListView();
m_curveControl = curveCanvas;
m_menu = new MenuStrip();
m_tangentsMenuItem = new ToolStripMenuItem();
m_InTangentMenuItem = new ToolStripMenuItem();
m_outTangentMenuItem = new ToolStripMenuItem();
m_topStrip = new ToolStrip();
m_PointLabel = new ToolStripLabel();
m_xTxtBox = new ToolStripTextBox();
m_yTxtBox = new ToolStripTextBox();
m_bottomStrip = new ToolStrip();
m_MousePos = new ToolStripLabel();
m_helpForm = new HelpForm();
m_TangentsSep1 = new ToolStripSeparator();
m_editModeButtons = new ToolStripButton[4];
for (int i = 0; i < m_editModeButtons.Length; i++)
{
m_editModeButtons[i] = new ToolStripButton();
}
m_tangentBtns = new ToolStripButton[5];
for (int i = 0; i < m_tangentBtns.Length; i++)
{
m_tangentBtns[i] = new ToolStripButton();
}
m_infinityBtns = new ToolStripButton[4];
for (int i = 0; i < m_infinityBtns.Length; i++)
{
m_infinityBtns[i] = new ToolStripButton();
}
// help menu items
m_helpMenuItem = new ToolStripMenuItem();
var quickHelpMenuItem = new ToolStripMenuItem();
m_fitBtn = new ToolStripButton();
m_breakTangent = new ToolStripButton();
m_unifyTangent = new ToolStripButton();
var snapToX = new ToolStripButton();
var snapToY = new ToolStripButton();
var snapToPoint = new ToolStripButton();
var snapToCurve = new ToolStripButton();
m_undoBtn = new ToolStripButton();
m_redoBtn = new ToolStripButton();
//m_cutBtn = new ToolStripButton();
//m_copyBtn = new ToolStripButton();
//m_pasteBtn = new ToolStripButton();
m_delBtn = new ToolStripButton();
// suspendlayouts
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
SuspendLayout();
m_preInfinityMenuItem = new ToolStripMenuItem();
m_preInfinityMenuItem.Name = "PreInfinity";
m_preInfinityMenuItem.Text = "Pre-Infinity".Localize();
foreach (int val in loopValues)
{
string name = Enum.GetName(typeof(CurveLoopTypes), val);
var item = new ToolStripMenuItem();
item.Name = "PreInfinity" + name;
item.Text = name;
item.Tag = (CurveLoopTypes)val;
item.Click += curveLoopMenu_Click;
m_preInfinityMenuItem.DropDownItems.Add(item);
}
m_postInfinityMenuItem = new ToolStripMenuItem();
m_postInfinityMenuItem.Name = "PostInfinity";
m_postInfinityMenuItem.Text = "Post-Infinity".Localize();
foreach (int val in loopValues)
{
string name = Enum.GetName(typeof(CurveLoopTypes), val);
var item = new ToolStripMenuItem();
item.Name = "PostInfinity" + name;
item.Text = name;
item.Tag = (CurveLoopTypes)val;
item.Click += curveLoopMenu_Click;
m_postInfinityMenuItem.DropDownItems.Add(item);
}
m_curveMenuItem = new ToolStripMenuItem();
m_curveMenuItem.DropDownItems.AddRange(new ToolStripItem[] { m_preInfinityMenuItem, m_postInfinityMenuItem });
m_curveMenuItem.Name = "Curve";
m_curveMenuItem.Text = "Curve".Localize();
//.........这里部分代码省略.........
示例6: InitializeComponent
private void InitializeComponent()
{
playerListMapSplitContainer = new SplitContainer();
playerBoxSearchBarContainer = new Panel();
playerBox = new PlayerListControl();
searchBarContainer = new TableLayoutPanel();
playerSearchBox = new ZklTextBox();
sendBox = new SendBox();
topicPanel = new Panel();
hideButton = new BitmapButton();
topicBox = new ChatBox();
ChatBox = new ChatBox();
splitContainer1 = new ZkSplitContainer();
((ISupportInitialize)playerListMapSplitContainer).BeginInit();
playerListMapSplitContainer.Panel1.SuspendLayout();
playerListMapSplitContainer.SuspendLayout();
playerBoxSearchBarContainer.SuspendLayout();
searchBarContainer.SuspendLayout();
topicPanel.SuspendLayout();
((ISupportInitialize)splitContainer1).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
SuspendLayout();
//
// playerListMapSplitContainer
//
playerListMapSplitContainer.BackColor = Color.DimGray;
playerListMapSplitContainer.Dock = DockStyle.Fill;
playerListMapSplitContainer.Location = new Point(0, 0);
playerListMapSplitContainer.Margin = new Padding(2);
playerListMapSplitContainer.Name = "playerListMapSplitContainer";
playerListMapSplitContainer.Orientation = Orientation.Horizontal;
//
// playerListMapSplitContainer.Panel1
//
playerListMapSplitContainer.Panel1.Controls.Add(playerBoxSearchBarContainer);
//
// playerListMapSplitContainer.Panel2
//
playerListMapSplitContainer.Panel2.AutoScroll = true;
playerListMapSplitContainer.Size = new Size(326, 793);
playerListMapSplitContainer.SplitterDistance = 565;
playerListMapSplitContainer.SplitterWidth = 3;
playerListMapSplitContainer.TabIndex = 0;
playerListMapSplitContainer.SplitterMoved += new SplitterEventHandler(playerListMapSplitContainer_SplitterMoved);
//
// playerBoxSearchBarContainer
//
playerBoxSearchBarContainer.AutoSizeMode = AutoSizeMode.GrowAndShrink;
playerBoxSearchBarContainer.Controls.Add(playerBox);
playerBoxSearchBarContainer.Controls.Add(searchBarContainer);
playerBoxSearchBarContainer.Dock = DockStyle.Fill;
playerBoxSearchBarContainer.Location = new Point(0, 0);
playerBoxSearchBarContainer.Name = "playerBoxSearchBarContainer";
playerBoxSearchBarContainer.Size = new Size(326, 565);
playerBoxSearchBarContainer.TabIndex = 2;
//
// playerBox
//
playerBox.BackColor = Color.DimGray;
playerBox.Dock = DockStyle.Fill;
playerBox.ForeColor = Color.White;
playerBox.HoverItem = null;
playerBox.IsBattle = false;
playerBox.IsSorted = false;
playerBox.Location = new Point(0, 24);
playerBox.Name = "playerBox";
playerBox.SelectedItem = null;
playerBox.Size = new Size(326, 541);
playerBox.TabIndex = 1;
//
// searchBarContainer
//
searchBarContainer.ColumnCount = 2;
searchBarContainer.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize, 20F));
searchBarContainer.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
searchBarContainer.Controls.Add(playerSearchBox, 1, 0);
searchBarContainer.Dock = DockStyle.Top;
searchBarContainer.Location = new Point(0, 0);
searchBarContainer.Name = "searchBarContainer";
searchBarContainer.RowCount = 1;
searchBarContainer.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F));
searchBarContainer.Size = new Size(326, 30);
searchBarContainer.AutoSize = false;
searchBarContainer.TabIndex = 0;
//
// playerSearchBox
//
playerSearchBox.Anchor = AnchorStyles.Left | AnchorStyles.Top;
playerSearchBox.Location = new Point(23, 22);
playerSearchBox.Name = "playerSearchBox";
playerSearchBox.Size = new Size(300, 20);
playerSearchBox.Margin = new Padding(0);
playerSearchBox.TabIndex = 0;
playerSearchBox.Font = Config.GeneralFontSmall;
playerSearchBox.TextChanged += new EventHandler(playerSearchBox_TextChanged);
//
// sendBox
//
//.........这里部分代码省略.........
示例7: InitializeComponent
private void InitializeComponent()
{
components = new Container();
var componentResourceManager = new ComponentResourceManager(typeof (BCForm));
label1 = new Label();
listBox1 = new ListBox();
label3 = new Label();
tableLayoutPanel1 = new TableLayoutPanel();
label4 = new Label();
label5 = new Label();
label6 = new Label();
label7 = new Label();
label8 = new Label();
label9 = new Label();
p1 = new PictureBox();
p2 = new PictureBox();
p3 = new PictureBox();
p4 = new PictureBox();
p5 = new PictureBox();
p6 = new PictureBox();
toolTip1 = new ToolTip(components);
textBoxLog = new TextBox();
button1 = new Button();
splitContainer1 = new SplitContainer();
splitContainer2 = new SplitContainer();
openFileDialog1 = new OpenFileDialog();
linkLabel1 = new LinkLabel();
tableLayoutPanel1.SuspendLayout();
((ISupportInitialize) p1).BeginInit();
((ISupportInitialize) p2).BeginInit();
((ISupportInitialize) p3).BeginInit();
((ISupportInitialize) p4).BeginInit();
((ISupportInitialize) p5).BeginInit();
((ISupportInitialize) p6).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
splitContainer2.Panel1.SuspendLayout();
splitContainer2.Panel2.SuspendLayout();
splitContainer2.SuspendLayout();
base.SuspendLayout();
label1.AutoSize = true;
label1.Location = new Point(12, 9);
label1.Name = "label1";
label1.Size = new Size(191, 14);
label1.TabIndex = 0;
label1.Text = "Choose one from below presets:";
listBox1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
listBox1.FormattingEnabled = true;
listBox1.IntegralHeight = false;
listBox1.ItemHeight = 14;
listBox1.Location = new Point(12, 26);
listBox1.Name = "listBox1";
listBox1.Size = new Size(194, 480);
listBox1.TabIndex = 1;
listBox1.SelectedIndexChanged += listBox1_SelectedIndexChanged;
label3.AutoSize = true;
label3.Location = new Point(3, 9);
label3.Name = "label3";
label3.Size = new Size(187, 14);
label3.TabIndex = 3;
label3.Text = "Display the status of bound files:";
tableLayoutPanel1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
tableLayoutPanel1.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableLayoutPanel1.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single;
tableLayoutPanel1.ColumnCount = 3;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f));
tableLayoutPanel1.Controls.Add(label4, 0, 0);
tableLayoutPanel1.Controls.Add(label5, 1, 0);
tableLayoutPanel1.Controls.Add(label6, 2, 0);
tableLayoutPanel1.Controls.Add(label7, 0, 1);
tableLayoutPanel1.Controls.Add(label8, 0, 2);
tableLayoutPanel1.Controls.Add(label9, 0, 3);
tableLayoutPanel1.Controls.Add(p1, 1, 1);
tableLayoutPanel1.Controls.Add(p2, 2, 1);
tableLayoutPanel1.Controls.Add(p3, 1, 2);
tableLayoutPanel1.Controls.Add(p4, 2, 2);
tableLayoutPanel1.Controls.Add(p5, 1, 3);
tableLayoutPanel1.Controls.Add(p6, 2, 3);
tableLayoutPanel1.Location = new Point(6, 26);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 4;
tableLayoutPanel1.RowStyles.Add(new RowStyle());
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
tableLayoutPanel1.Size = new Size(452, 404);
tableLayoutPanel1.TabIndex = 4;
label4.AutoSize = true;
label4.Location = new Point(4, 1);
label4.Name = "label4";
label4.Size = new Size(13, 14);
label4.TabIndex = 0;
label4.Text = " ";
label5.AutoSize = true;
label5.Location = new Point(76, 1);
label5.Name = "label5";
label5.Size = new Size(37, 14);
//.........这里部分代码省略.........
示例8: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.SplitContainer splitContainer1;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DeluxeTreeItemsEditorForm));
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.DeluxTreeToolStrip = new System.Windows.Forms.ToolStrip();
this._addRootButton = new System.Windows.Forms.ToolStripButton();
this._addChildButton = new System.Windows.Forms.ToolStripButton();
this._removeButton = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this._moveUpButton = new System.Windows.Forms.ToolStripButton();
this._moveDownButton = new System.Windows.Forms.ToolStripButton();
this._indentButton = new System.Windows.Forms.ToolStripButton();
this._unindentButton = new System.Windows.Forms.ToolStripButton();
this._treeView = new System.Windows.Forms.TreeView();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.pictureBox2 = new System.Windows.Forms.PictureBox();
splitContainer1 = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(splitContainer1)).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.DeluxTreeToolStrip.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
//
splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
splitContainer1.Location = new System.Drawing.Point(0, 0);
splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel3);
//
// splitContainer1.Panel2
//
splitContainer1.Panel2.Controls.Add(this.tableLayoutPanel1);
splitContainer1.Size = new System.Drawing.Size(518, 366);
splitContainer1.SplitterDistance = 257;
splitContainer1.TabIndex = 11;
//
// tableLayoutPanel3
//
this.tableLayoutPanel3.ColumnCount = 1;
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F));
this.tableLayoutPanel3.Controls.Add(this.DeluxTreeToolStrip, 0, 1);
this.tableLayoutPanel3.Controls.Add(this._treeView, 0, 2);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 4;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(257, 366);
this.tableLayoutPanel3.TabIndex = 11;
//
// DeluxTreeToolStrip
//
this.DeluxTreeToolStrip.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.DeluxTreeToolStrip.Dock = System.Windows.Forms.DockStyle.None;
this.DeluxTreeToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.DeluxTreeToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this._addRootButton,
this._addChildButton,
this._removeButton,
this.toolStripSeparator1,
this._moveUpButton,
this._moveDownButton,
this._indentButton,
this._unindentButton});
this.DeluxTreeToolStrip.Location = new System.Drawing.Point(0, 22);
this.DeluxTreeToolStrip.Name = "DeluxTreeToolStrip";
this.DeluxTreeToolStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
this.DeluxTreeToolStrip.Size = new System.Drawing.Size(257, 29);
this.DeluxTreeToolStrip.TabIndex = 10;
this.DeluxTreeToolStrip.Text = "toolStrip1";
//
// _addRootButton
//
this._addRootButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
//.........这里部分代码省略.........
示例9: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.ToolStripSeparator _toolStripSeparator3;
System.Windows.Forms.ToolStripSeparator _toolStripSeparator1;
System.Windows.Forms.ToolStripSeparator _toolStripSeparator2;
System.Windows.Forms.SplitContainer _splitTreeProps;
System.Windows.Forms.SplitContainer _splitEditorOutput;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainView));
this._treeView = new MonoGame.Tools.Pipeline.MultiSelectTreeview();
this._propertyGrid = new System.Windows.Forms.PropertyGrid();
this._outputWindow = new System.Windows.Forms.RichTextBox();
this._mainMenu = new System.Windows.Forms.MenuStrip();
this._fileMenu = new System.Windows.Forms.ToolStripMenuItem();
this._newProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._openProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._closeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this._importProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._saveMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._saveAsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._exitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._undoMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._redoMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this._newItemMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._addItemMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this._deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._buildMenu = new System.Windows.Forms.ToolStripMenuItem();
this._buildMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._rebuildMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._cleanMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this._debuggerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._cancelBuildSeparator = new System.Windows.Forms.ToolStripSeparator();
this._cancelBuildMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._helpMenu = new System.Windows.Forms.ToolStripMenuItem();
this._viewHelpMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._treeContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this._treeNewItemMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._treeAddItemMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._treeDeleteMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this._treeOpenFileMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._treeOpenFileLocationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this._treeRebuildMenuItem = new System.Windows.Forms.ToolStripMenuItem();
_toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
_toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
_toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
_splitTreeProps = new System.Windows.Forms.SplitContainer();
_splitEditorOutput = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(_splitTreeProps)).BeginInit();
_splitTreeProps.Panel1.SuspendLayout();
_splitTreeProps.Panel2.SuspendLayout();
_splitTreeProps.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(_splitEditorOutput)).BeginInit();
_splitEditorOutput.Panel1.SuspendLayout();
_splitEditorOutput.Panel2.SuspendLayout();
_splitEditorOutput.SuspendLayout();
this._mainMenu.SuspendLayout();
this._treeContextMenu.SuspendLayout();
this.SuspendLayout();
//
// _toolStripSeparator3
//
_toolStripSeparator3.Name = "_toolStripSeparator3";
_toolStripSeparator3.Size = new System.Drawing.Size(179, 6);
//
// _toolStripSeparator1
//
_toolStripSeparator1.Name = "_toolStripSeparator1";
_toolStripSeparator1.Size = new System.Drawing.Size(179, 6);
//
// _toolStripSeparator2
//
_toolStripSeparator2.Name = "_toolStripSeparator2";
_toolStripSeparator2.Size = new System.Drawing.Size(143, 6);
//
// _splitTreeProps
//
_splitTreeProps.Dock = System.Windows.Forms.DockStyle.Fill;
_splitTreeProps.Location = new System.Drawing.Point(0, 0);
_splitTreeProps.Name = "_splitTreeProps";
_splitTreeProps.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// _splitTreeProps.Panel1
//
_splitTreeProps.Panel1.Controls.Add(this._treeView);
//
// _splitTreeProps.Panel2
//
_splitTreeProps.Panel2.Controls.Add(this._propertyGrid);
//.........这里部分代码省略.........
示例10: InitializeComponent
private void InitializeComponent()
{
//this.components = new System.ComponentModel.Container();
this.SuspendLayout();
#region Bars
// Component init for various toolbars
// Status Bar
// Bottom bar of application
statusBar = new StatusStrip();
statusBar.Name = "statusBar";
statusBar.Location = new Point(0, 590);
// Tool Bar
// Main toolbar
toolStrip = new ToolStrip();
toolStrip.Location = new Point(0, 24);
toolStrip.Name = "toolStrip";
toolStrip.Items.Add("Write Tag", null, click_write_tag);
toolStrip.Items.Add("Tag from File", null, click_tag_from_file);
toolStrip.Items.Add("Tag from Filename", null, click_tag_from_filename);
// Menu Bar
// Top bar of application
menuBar = new MenuStrip();
menuBar.SuspendLayout();
menuBar.Name = "menuBar";
menuBar.Location = new Point(0, 0);
#region Menu Bar Items
// File
mb_file = new ToolStripMenuItem();
mb_file.Name = "mb_file";
mb_file.Text = "File";
// Open
mb_file_open = new ToolStripMenuItem();
mb_file_open.Name = "mb_file_open";
mb_file_open.Text = "Open File(s)";
mb_file_open.Click += new EventHandler(mb_file_open_Click);
// Exit
mb_file_exit = new ToolStripMenuItem();
mb_file_exit.Name = "mb_file_exit";
mb_file_exit.Text = "Exit";
mb_file_exit.Click += new EventHandler(mb_file_exit_Click);
mb_file.DropDownItems.AddRange(new ToolStripItem[] {
mb_file_open,
mb_file_exit});
// View
mb_view = new ToolStripMenuItem();
mb_view.Name = "mb_view";
mb_view.Text = "View";
// Columns
mb_view_columns = new ToolStripMenuItem();
mb_view_columns.Name = "mb_view_columns";
mb_view_columns.Text = "Columns...";
mb_view_columns.Click += new EventHandler(mb_view_columns_Click);
mb_view.DropDownItems.AddRange(new ToolStripItem[] {
mb_view_columns});
// Help
mb_help = new ToolStripMenuItem();
mb_help.Name = "mb_help";
mb_help.Text = "Help";
// About
mb_help_about = new ToolStripMenuItem();
mb_help_about.Name = "mb_help";
mb_help_about.Text = "About";
mb_help.DropDownItems.AddRange(new ToolStripItem[] {
mb_help_about});
menuBar.Items.AddRange(new ToolStripItem[] {
mb_file,
mb_view,
mb_help});
#endregion
#endregion
#region Main Interface
// Main window components
// Main window splitter
mainSplit = new SplitContainer();
((System.ComponentModel.ISupportInitialize)(mainSplit)).BeginInit();
mainSplit.Panel1.SuspendLayout();
mainSplit.Panel2.SuspendLayout();
mainSplit.SuspendLayout();
mainSplit.BorderStyle = BorderStyle.Fixed3D;
//.........这里部分代码省略.........
示例11: CreateExceptionTree
/// <summary>Creates a new exception tree. Currently, only one is used.</summary>
/// <param name="list">The list.</param>
/// <returns>An exception tree</returns>
public ExceptionTree CreateExceptionTree(IEnumerable<ThrownException> list)
{
if (this.exceptionTree != null)
{
return this.exceptionTree;
}
ExceptionTree tree = new ExceptionTree();
CallStackList callStackList = new CallStackList();
TitleBar treeTitle = new TitleBar();
TitleBar callStackTitle = new TitleBar();
SplitContainer split = new SplitContainer();
tree.SuspendLayout();
callStackList.SuspendLayout();
treeTitle.SuspendLayout();
callStackTitle.SuspendLayout();
split.SuspendLayout();
tree.CallStackList = callStackList;
int titleHeight = 18;
int width = this.splitContainerMaster.Panel1.ClientRectangle.Width;
//treeTitle.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
treeTitle.Dock = DockStyle.Top;
treeTitle.BackColor = System.Drawing.SystemColors.Control;
treeTitle.Font = new System.Drawing.Font("Segoe UI", 9F);
//treeTitle.Location = new System.Drawing.Point(0, this.exceptionTabStrip.Height);
treeTitle.Name = "exceptionTreeTitle";
treeTitle.Size = new System.Drawing.Size(width, titleHeight);
treeTitle.TabIndex = 1;
treeTitle.Text = "Exception Tree";
treeTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
tree.BackColor = System.Drawing.SystemColors.Window;
tree.Controller = null;
tree.Dock = System.Windows.Forms.DockStyle.Fill;
tree.FullRowSelect = true;
tree.Location = new System.Drawing.Point(0, titleHeight);
tree.Margin = new System.Windows.Forms.Padding(0);
tree.Name = "exceptionTree";
tree.ImageList = this.classTree.ImageList;
tree.Size = new System.Drawing.Size(558, 154);
tree.TabIndex = 2;
callStackTitle.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
callStackTitle.BackColor = System.Drawing.SystemColors.Control;
callStackTitle.Font = new System.Drawing.Font("Segoe UI", 9F);
callStackTitle.Location = new System.Drawing.Point(0, 0);
callStackTitle.Name = "callStackTitle";
callStackTitle.Size = new System.Drawing.Size(width, titleHeight);
callStackTitle.TabIndex = 1;
callStackTitle.Text = "Call stack";
callStackTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
callStackList.BackColor = System.Drawing.SystemColors.Window;
callStackList.Controller = null;
callStackList.Dock = System.Windows.Forms.DockStyle.Fill;
callStackList.FullRowSelect = true;
callStackList.GroupByType = false;
callStackList.Location = new System.Drawing.Point(0, titleHeight);
callStackList.Margin = new System.Windows.Forms.Padding(0);
callStackList.Name = "callStackList";
callStackList.OwnerDraw = true;
callStackList.Size = new System.Drawing.Size(width, 154);
callStackList.SmallImageList = this.images;
callStackList.TabIndex = 2;
callStackList.UseCompatibleStateImageBehavior = false;
callStackList.View = System.Windows.Forms.View.Details;
split.Name = "splitExceptions";
split.Orientation = System.Windows.Forms.Orientation.Horizontal;
//split.Location = new System.Drawing.Point(0, this.exceptionTabStrip.Size.Height);
//split.Size = new System.Drawing.Size(100, this.exceptionTabStrip.ClientRectangle.Height);
split.Panel1.Controls.Add(treeTitle);
split.Panel1.Controls.Add(tree);
split.Panel1.Padding = new System.Windows.Forms.Padding(0, titleHeight , 0, 0);
split.Panel2.Controls.Add(callStackTitle);
split.Panel2.Controls.Add(callStackList);
split.Panel2.Padding = new System.Windows.Forms.Padding(0, titleHeight, 0, 0);
//split.Size = new System.Drawing.Size(558, 298);
split.SplitterDistance = 122;
split.TabIndex = 5;
split.Dock = DockStyle.Fill;
this.splitContainerMaster.Panel2.Controls.Add(split);
////this.tablePanel.Controls.Add(split, 0, 1);
////this.exceptionTabStrip.ActiveTab = this.exceptionTabStrip.AddTab("hello", split);
split.Margin = new System.Windows.Forms.Padding(0);
//.........这里部分代码省略.........
示例12: InitializeComponent
private void InitializeComponent()
{
components = new Container();
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Main));
tabControl1 = new TabControl();
mainPage = new TabPage();
newVersionCheck = new CheckBox();
groupBox1 = new GroupBox();
newsBox = new Label();
userGroupLabel = new Label();
hackVersionLabel = new Label();
loaderVersionLabel = new Label();
startButton = new Button();
reloadButton = new Button();
label1 = new Label();
chatPage = new TabPage();
ircTabControl = new TabControl();
tabPage1 = new TabPage();
splitContainer1 = new SplitContainer();
label4 = new Label();
ircLanguage = new ComboBox();
label2 = new Label();
label3 = new Label();
enterChatButton = new Button();
autoEnterChatCheckBox = new CheckBox();
statusBox = new ListBox();
tabPage2 = new TabPage();
splitContainer2 = new SplitContainer();
splitContainer3 = new SplitContainer();
ircMessageBox = new RichTextBox();
ircUserList = new ListBox();
flowLayoutPanel1 = new FlowLayoutPanel();
ircSendButton = new Button();
ircChatText = new TextBox();
ircCloseButton = new Button();
scriptsPage = new TabPage();
scriptsDataGrid = new DataGridView();
LoadScript = new DataGridViewCheckBoxColumn();
ScriptName = new DataGridViewTextBoxColumn();
ScriptDescription = new DataGridViewTextBoxColumn();
State = new DataGridViewImageColumn();
ConfigColumn = new DataGridViewImageColumn();
listBinding = new BindingSource(components);
scriptConfigPage = new TabPage();
scriptConfigGrid = new PropertyGrid();
repository = new TabPage();
tableLayoutPanel1 = new TableLayoutPanel();
tableLayoutPanel2 = new TableLayoutPanel();
tableLayoutPanel3 = new TableLayoutPanel();
repoName = new TextBox();
addRepo = new Button();
removeRepo = new Button();
repoScripts = new TreeView();
configPage = new TabPage();
configGrid = new PropertyGrid();
helpPage = new TabPage();
changelogLink = new LinkLabel();
bugLink = new LinkLabel();
scriptsLink = new LinkLabel();
installLink = new LinkLabel();
dotaFindTimer = new System.Windows.Forms.Timer(components);
taskbarIcon = new NotifyIcon(components);
injectWorker = new BackgroundWorker();
pipeWorker = new BackgroundWorker();
serverWorker = new BackgroundWorker();
updateTimer = new System.Windows.Forms.Timer(components);
loadWorker = new BackgroundWorker();
DisableVAC = new CheckBox();
tabControl1.SuspendLayout();
mainPage.SuspendLayout();
groupBox1.SuspendLayout();
chatPage.SuspendLayout();
ircTabControl.SuspendLayout();
tabPage1.SuspendLayout();
splitContainer1.BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
tabPage2.SuspendLayout();
splitContainer2.BeginInit();
splitContainer2.Panel1.SuspendLayout();
splitContainer2.Panel2.SuspendLayout();
splitContainer2.SuspendLayout();
splitContainer3.BeginInit();
splitContainer3.Panel1.SuspendLayout();
splitContainer3.Panel2.SuspendLayout();
splitContainer3.SuspendLayout();
flowLayoutPanel1.SuspendLayout();
scriptsPage.SuspendLayout();
((ISupportInitialize)scriptsDataGrid).BeginInit();
((ISupportInitialize)listBinding).BeginInit();
scriptConfigPage.SuspendLayout();
repository.SuspendLayout();
tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
tableLayoutPanel3.SuspendLayout();
configPage.SuspendLayout();
helpPage.SuspendLayout();
SuspendLayout();
tabControl1.Controls.Add(mainPage);
//.........这里部分代码省略.........
示例13: MultiPropControl
public MultiPropControl()
{
m_propControls = new Sce.Atf.Controls.PropertyEditing.PropertyGrid[2];
m_propControls[0] = new Sce.Atf.Controls.PropertyEditing.PropertyGrid();
m_propControls[1] = new Sce.Atf.Controls.PropertyEditing.PropertyGrid();
Layout += OnLayout;
m_splitContainer = new SplitContainer();
SuspendLayout();
m_splitContainer.SuspendLayout();
m_splitContainer.Panel1.SuspendLayout();
m_splitContainer.Panel2.SuspendLayout();
m_propControls[0].Dock = DockStyle.Fill;
m_splitContainer.Panel1.Controls.Add(m_propControls[0]);
m_propControls[1].Dock = DockStyle.Fill;
m_splitContainer.Panel2.Controls.Add(m_propControls[1]);
m_splitContainer.FixedPanel = FixedPanel.None;
m_splitContainer.Dock = DockStyle.Fill;
Controls.Add(m_splitContainer);
m_splitContainer.Panel2.ResumeLayout(false);
m_splitContainer.Panel1.ResumeLayout(false);
m_splitContainer.ResumeLayout(false);
this.ResumeLayout(true);
}
示例14: InitializeComponent
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
Load += new EventHandler(Help_Load);
Shown += new EventHandler(Help_Shown);
TreeNode TreeNode1 = new TreeNode("Introduction");
TreeNode TreeNode2 = new TreeNode("Prerequisites");
TreeNode TreeNode3 = new TreeNode("Installation");
TreeNode TreeNode4 = new TreeNode("Configuration");
TreeNode TreeNode5 = new TreeNode("SQL Configuration");
TreeNode TreeNode6 = new TreeNode("Command-Line Switches");
TreeNode TreeNode7 = new TreeNode("Getting Started", new TreeNode[] {TreeNode2, TreeNode3, TreeNode4, TreeNode5, TreeNode6});
TreeNode TreeNode8 = new TreeNode("Main Menu");
TreeNode TreeNode9 = new TreeNode("Connections");
TreeNode TreeNode10 = new TreeNode("Config");
TreeNode TreeNode11 = new TreeNode("Errors and Infos");
TreeNode TreeNode12 = new TreeNode("Save As / Export");
TreeNode TreeNode14 = new TreeNode("Screenshot Manager");
TreeNode TreeNode15 = new TreeNode("Connection");
TreeNode TreeNode16 = new TreeNode("Options");
TreeNode TreeNode17 = new TreeNode("Update");
TreeNode TreeNode18 = new TreeNode("SSH File Transfer");
TreeNode TreeNode19 = new TreeNode("Quick Connect");
TreeNode TreeNode20 = new TreeNode("Import From Active Directory");
TreeNode TreeNode21 = new TreeNode("External Applications");
TreeNode TreeNode22 = new TreeNode("Port Scan");
TreeNode TreeNode23 = new TreeNode("User Interface", new TreeNode[] {TreeNode8, TreeNode9, TreeNode10, TreeNode11, TreeNode12, TreeNode14, TreeNode15, TreeNode16, TreeNode17, TreeNode18, TreeNode19, TreeNode20, TreeNode21, TreeNode22});
TreeNode TreeNode24 = new TreeNode("Quick Reference");
TreeNode TreeNode25 = new TreeNode("Help", new TreeNode[] {TreeNode1, TreeNode7, TreeNode23, TreeNode24});
wbHelp = new WebBrowser();
wbHelp.DocumentTitleChanged += new EventHandler(wbHelp_DocumentTitleChanged);
tvIndex = new TreeView();
tvIndex.NodeMouseClick += new TreeNodeMouseClickEventHandler(tvIndex_NodeMouseClick);
tvIndex.AfterSelect += new TreeViewEventHandler(tvIndex_AfterSelect);
imgListHelp = new ImageList(components);
pnlSplitter = new SplitContainer();
lblDocName = new Label();
pnlSplitter.Panel1.SuspendLayout();
pnlSplitter.Panel2.SuspendLayout();
pnlSplitter.SuspendLayout();
SuspendLayout();
//
//wbHelp
//
wbHelp.Anchor = ((AnchorStyles.Top | AnchorStyles.Bottom)
| AnchorStyles.Left)
| AnchorStyles.Right;
wbHelp.Location = new System.Drawing.Point(1, 36);
wbHelp.MinimumSize = new System.Drawing.Size(20, 20);
wbHelp.Name = "wbHelp";
wbHelp.ScriptErrorsSuppressed = true;
wbHelp.Size = new System.Drawing.Size(327, 286);
wbHelp.TabIndex = 1;
//
//tvIndex
//
tvIndex.Anchor = ((AnchorStyles.Top | AnchorStyles.Bottom)
| AnchorStyles.Left)
| AnchorStyles.Right;
tvIndex.BorderStyle = BorderStyle.None;
tvIndex.HideSelection = false;
tvIndex.Location = new System.Drawing.Point(1, 1);
tvIndex.Name = "tvIndex";
TreeNode1.Name = "Node0";
TreeNode1.Tag = "Introduction";
TreeNode1.Text = "Introduction";
TreeNode2.Name = "Node0";
TreeNode2.Tag = "Prerequisites";
TreeNode2.Text = "Prerequisites";
TreeNode3.Name = "Node3";
TreeNode3.Tag = "Installation";
TreeNode3.Text = "Installation";
TreeNode4.Name = "Node4";
TreeNode4.Tag = "Configuration";
TreeNode4.Text = "Configuration";
TreeNode5.Name = "Node0";
TreeNode5.Tag = "ConfigurationSQL";
TreeNode5.Text = "SQL Configuration";
TreeNode6.Name = "Node5";
TreeNode6.Tag = "CMDSwitches";
TreeNode6.Text = "Command-Line Switches";
TreeNode7.Name = "Node1";
TreeNode7.Text = "Getting Started";
TreeNode8.Name = "Node7";
TreeNode8.Tag = "MainMenu";
TreeNode8.Text = "Main Menu";
TreeNode9.Name = "Node8";
TreeNode9.Tag = "Connections";
TreeNode9.Text = "Connections";
TreeNode10.Name = "Node9";
TreeNode10.Tag = "Config";
TreeNode10.Text = "Config";
TreeNode11.Name = "Node10";
TreeNode11.Tag = "ErrorsAndInfos";
TreeNode11.Text = "Errors and Infos";
TreeNode12.Name = "Node11";
TreeNode12.Tag = "SaveAsExport";
TreeNode12.Text = "Save As / Export";
TreeNode14.Name = "Node13";
TreeNode14.Tag = "ScreenshotManager";
//.........这里部分代码省略.........
示例15: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Panel panelControls;
System.Windows.Forms.GroupBox filtersGroup;
System.Windows.Forms.SplitContainer splitContainer;
System.Windows.Forms.TableLayoutPanel tableLeft;
System.Windows.Forms.TableLayoutPanel tableRight;
this.episodesTree = new System.Windows.Forms.TreeView();
this.episodesCountLabel = new System.Windows.Forms.Label();
this.refreshButton = new System.Windows.Forms.Button();
this.hideWholeSeasons = new System.Windows.Forms.CheckBox();
this.hideLocked = new System.Windows.Forms.CheckBox();
this.hidePart2 = new System.Windows.Forms.CheckBox();
this.hideSeason0 = new System.Windows.Forms.CheckBox();
this.hideUnaired = new System.Windows.Forms.CheckBox();
this.duplicatesButton = new System.Windows.Forms.Button();
this.missingButton = new System.Windows.Forms.Button();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
panelControls = new System.Windows.Forms.Panel();
filtersGroup = new System.Windows.Forms.GroupBox();
splitContainer = new System.Windows.Forms.SplitContainer();
tableLeft = new System.Windows.Forms.TableLayoutPanel();
tableRight = new System.Windows.Forms.TableLayoutPanel();
panelControls.SuspendLayout();
filtersGroup.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(splitContainer)).BeginInit();
splitContainer.Panel1.SuspendLayout();
splitContainer.Panel2.SuspendLayout();
splitContainer.SuspendLayout();
tableLeft.SuspendLayout();
tableRight.SuspendLayout();
this.SuspendLayout();
//
// episodesTree
//
this.episodesTree.Dock = System.Windows.Forms.DockStyle.Fill;
this.episodesTree.Location = new System.Drawing.Point(3, 36);
this.episodesTree.Name = "episodesTree";
this.episodesTree.Size = new System.Drawing.Size(232, 497);
this.episodesTree.TabIndex = 0;
this.toolTip.SetToolTip(this.episodesTree, "Shows the results of the search");
//
// episodesCountLabel
//
this.episodesCountLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.episodesCountLabel.AutoSize = true;
this.episodesCountLabel.Location = new System.Drawing.Point(3, 20);
this.episodesCountLabel.Name = "episodesCountLabel";
this.episodesCountLabel.Size = new System.Drawing.Size(114, 13);
this.episodesCountLabel.TabIndex = 1;
this.episodesCountLabel.Text = "Number of Episodes: 0";
//
// refreshButton
//
this.refreshButton.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.refreshButton.Location = new System.Drawing.Point(3, 5);
this.refreshButton.Name = "refreshButton";
this.refreshButton.Size = new System.Drawing.Size(144, 23);
this.refreshButton.TabIndex = 1;
this.refreshButton.Text = "Refresh Episode Counts";
this.toolTip.SetToolTip(this.refreshButton, "Searches the Output Directories for episodes and updates their file count numbers" +
". \r\nThis is used to determine the results of the missing and duplicate episode\r\n" +
"searches.");
this.refreshButton.UseVisualStyleBackColor = true;
this.refreshButton.Click += new System.EventHandler(this.RefreshButtonClick);
//
// panelControls
//
panelControls.Controls.Add(filtersGroup);
panelControls.Controls.Add(this.duplicatesButton);
panelControls.Controls.Add(this.missingButton);
panelControls.Dock = System.Windows.Forms.DockStyle.Fill;
panelControls.Location = new System.Drawing.Point(0, 33);
panelControls.Margin = new System.Windows.Forms.Padding(0);
panelControls.Name = "panelControls";
panelControls.Size = new System.Drawing.Size(468, 503);
panelControls.TabIndex = 2;
//
// filtersGroup
//
filtersGroup.Controls.Add(this.hideWholeSeasons);
filtersGroup.Controls.Add(this.hideLocked);
filtersGroup.Controls.Add(this.hidePart2);
filtersGroup.Controls.Add(this.hideSeason0);
filtersGroup.Controls.Add(this.hideUnaired);
filtersGroup.Location = new System.Drawing.Point(3, 32);
filtersGroup.Name = "filtersGroup";
filtersGroup.Size = new System.Drawing.Size(294, 136);
filtersGroup.TabIndex = 4;
filtersGroup.TabStop = false;
filtersGroup.Text = "Missing Episode Filters";
//
// hideWholeSeasons
//
this.hideWholeSeasons.AutoSize = true;
//.........这里部分代码省略.........