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


C# SplitContainer.ResumeLayout方法代码示例

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


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

示例1: 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);

        }
开发者ID:Iulian-Stan,项目名称:PerformanceCountersChart,代码行数:73,代码来源:ChartForm.Designer.cs

示例2: InitializeComponent


//.........这里部分代码省略.........
     silverMonkeyFCTB1.IsReplaceMode = false;
     silverMonkeyFCTB1.Language = FastColoredTextBoxNS.Language.SQL;
     silverMonkeyFCTB1.LeftBracket = '(';
     silverMonkeyFCTB1.Location = new Point(3, 3);
     silverMonkeyFCTB1.Name = "silverMonkeyFCTB1";
     silverMonkeyFCTB1.Paddings = new Padding(0);
     silverMonkeyFCTB1.RightBracket = ')';
     silverMonkeyFCTB1.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     silverMonkeyFCTB1.ServiceColors = ((ServiceColors)(resources.GetObject("silverMonkeyFCTB1.ServiceColors")));
     silverMonkeyFCTB1.Size = new Size(532, 116);
     silverMonkeyFCTB1.TabIndex = 0;
     silverMonkeyFCTB1.Zoom = 100;
     //
     // SqlResultsListView
     //
     SqlResultsListView.Dock = DockStyle.Fill;
     SqlResultsListView.FullRowSelect = true;
     SqlResultsListView.GridLines = true;
     SqlResultsListView.LabelEdit = true;
     SqlResultsListView.LargeImageList = ToolBarImages;
     SqlResultsListView.Location = new Point(0, 0);
     SqlResultsListView.Name = "SqlResultsListView";
     SqlResultsListView.Size = new Size(556, 171);
     SqlResultsListView.TabIndex = 0;
     SqlResultsListView.UseCompatibleStateImageBehavior = false;
     SqlResultsListView.View = View.Details;
     //
     // tabControl1
     //
     tabControl1.Controls.Add(tabPage2);
     tabControl1.Controls.Add(tabPage3);
     tabControl1.Dock = DockStyle.Fill;
     tabControl1.Location = new Point(0, 0);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new Size(280, 333);
     tabControl1.TabIndex = 1;
     //
     // tabPage2
     //
     tabPage2.Controls.Add(DatabaseTreeView);
     tabPage2.Location = new Point(4, 22);
     tabPage2.Name = "tabPage2";
     tabPage2.Padding = new Padding(3);
     tabPage2.Size = new Size(272, 307);
     tabPage2.TabIndex = 0;
     tabPage2.Text = "Database";
     tabPage2.UseVisualStyleBackColor = true;
     //
     // tabPage3
     //
     tabPage3.Location = new Point(4, 22);
     tabPage3.Name = "tabPage3";
     tabPage3.Padding = new Padding(3);
     tabPage3.Size = new Size(272, 307);
     tabPage3.TabIndex = 1;
     tabPage3.Text = "Templates";
     tabPage3.UseVisualStyleBackColor = true;
     //
     // DatabaseTreeView
     //
     DatabaseTreeView.Dock = DockStyle.Fill;
     DatabaseTreeView.Location = new Point(3, 3);
     DatabaseTreeView.Name = "DatabaseTreeView";
     DatabaseTreeView.Size = new Size(266, 301);
     DatabaseTreeView.TabIndex = 1;
     DatabaseTreeView.MouseDown += new MouseEventHandler(DatabaseTreeView_MouseDown);
     DatabaseTreeView.MouseDoubleClick += DatabaseTreeView_MouseDoubleClick;
     DatabaseTreeView.AfterExpand += DatabaseTreeView_AfterExpand;
     //
     // frmExplorer
     //
     AutoScaleBaseSize = new Size(5, 13);
     ClientSize = new Size(840, 383);
     Controls.Add(splitContainer1);
     Controls.Add(statusStrip1);
     Controls.Add(toolBar1);
     Icon = ((Icon)(resources.GetObject("$this.Icon")));
     Menu = mainMenu1;
     Name = "frmExplorer";
     Text = "TSProjects: Data Monkey";
     ((ISupportInitialize)(sqlStatementTextBox)).EndInit();
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel2.ResumeLayout(false);
     ((ISupportInitialize)(splitContainer1)).EndInit();
     splitContainer1.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel2.ResumeLayout(false);
     ((ISupportInitialize)(splitContainer2)).EndInit();
     splitContainer2.ResumeLayout(false);
     SQLAreaTabControl.ResumeLayout(false);
     tabPage1.ResumeLayout(false);
     ((ISupportInitialize)(silverMonkeyFCTB1)).EndInit();
     tabControl1.ResumeLayout(false);
     tabPage2.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
开发者ID:Gerolkae,项目名称:Silver-Monkey,代码行数:101,代码来源:frmExplorer.cs

示例3: 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();
        }
开发者ID:dourabbit,项目名称:CPipe,代码行数:40,代码来源:ViewPanal.cs

示例4: Init


//.........这里部分代码省略.........
            splitContainer1.Location = new Point(0, 48);
            splitContainer1.Name = "splitContainer1";
            splitContainer1.Panel1MinSize = 30;
            splitContainer1.Panel2MinSize = 30;
            splitContainer1.Panel1.Controls.Add(m_curvesListView);
            splitContainer1.Panel2.Controls.Add(m_curveControl);
            splitContainer1.Size = new Size(898, 520);
            splitContainer1.SplitterDistance = 180;
            splitContainer1.SplitterIncrement = 5;
            splitContainer1.TabIndex = 0;
            splitContainer1.TabStop = false;
            splitContainer1.Text = "splitContainer1";
            splitContainer1.BorderStyle = BorderStyle.None;
            splitContainer1.SplitterWidth = 4;
            splitContainer1.FixedPanel = FixedPanel.Panel1;
            splitContainer1.SplitterMoved += splitContainer1_SplitterMoved;
            splitContainer1.SplitterMoving += splitContainer1_SplitterMoving;

            // list view                  
            m_curvesListView.CheckBoxes = true;
            m_curvesListView.Dock = DockStyle.Fill;
            m_curvesListView.HideSelection = false;
            m_curvesListView.LabelEdit = false;
            m_curvesListView.Location = new Point(0, 0);
            m_curvesListView.Name = "m_curvesListView";
            m_curvesListView.Size = new Size(300, 300);
            m_curvesListView.TabIndex = 0;
            m_curvesListView.TabStop = false;
            m_curvesListView.TileSize = new Size(250, 24);
            m_curvesListView.UseCompatibleStateImageBehavior = false;
            m_curvesListView.View = View.Details;
            m_curvesListView.Sorting = SortOrder.Ascending;
            m_curvesListView.ItemChecked += m_curvesListView_ItemChecked;            
            m_curvesListView.Scrollable = true;
            m_curvesListView.Columns.Add("Curves", 250);
            m_curvesListView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize);
            m_curvesListView.AllowColumnReorder = false;
            m_curvesListView.BackColor = m_curveControl.BackColor;

            var addMenuItem = new ToolStripMenuItem("Add Point".Localize());
            var listMenuStrip = new ContextMenuStrip();
            m_curvesListView.ContextMenuStrip = listMenuStrip;
            listMenuStrip.Opening += delegate
            {
                addMenuItem.Enabled = m_curvesListView.SelectedItems.Count > 0;
            };
            listMenuStrip.Items.Add(addMenuItem);
            addMenuItem.Click += delegate
            {
                if (m_curvesListView.SelectedItems.Count == 0)
                    return;
                var dlg = new AddPointDialog();
                dlg.Location = new Point(MousePosition.X, MousePosition.Y);
                dlg.ShowDialog(this);
                if (dlg.DialogResult != DialogResult.OK)
                    return;

                PointF pt = dlg.PointPosition;
                m_curveControl.TransactionContext.DoTransaction(delegate
                {
                    foreach (ListViewItem item in m_curvesListView.SelectedItems)
                    {
                        var curve = (ICurve)item.Tag;
                        IControlPoint cpt = curve.CreateControlPoint();
                        float x = pt.X;

                        int index = CurveUtils.GetValidInsertionIndex(curve, x);
                        while (index == -1)
                        {
                            x += CurveUtils.Epsilone;
                            index = CurveUtils.GetValidInsertionIndex(curve, x);
                        }

                        cpt.X = x;
                        cpt.Y = pt.Y;
                        curve.InsertControlPoint(index, cpt);
                        CurveUtils.ComputeTangent(curve);
                    }
                }, "Add Point".Localize());

                m_curveControl.Invalidate();
            };

            ClientSize = new Size(898, 575);
            Dock = DockStyle.Fill;
            Controls.Add(splitContainer1);
            Controls.Add(m_bottomStrip);
            Controls.Add(m_topStrip);
            Controls.Add(m_menu);

            // resume layouts.                        
            splitContainer1.Panel1.ResumeLayout(false);
            splitContainer1.Panel2.ResumeLayout(false);
            splitContainer1.ResumeLayout(false);
            ResumeLayout(false);
            PerformLayout();
            Invalidated += CurveEditorControl_Invalidated;
            SetUI(false);
            Application.Idle += Application_Idle;
        }
开发者ID:JanDeHud,项目名称:LevelEditor,代码行数:101,代码来源:CurveEditingControl.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     p5.TabIndex = 10;
     p5.TabStop = false;
     p5.DoubleClick += p1_DoubleClick;
     p5.DragDrop += p1_DragDrop;
     p5.DragEnter += p1_DragEnter;
     p6.Dock = DockStyle.Fill;
     p6.Image = (Image) componentResourceManager.GetObject("p6.Image");
     p6.Location = new Point(265, 277);
     p6.Name = "p6";
     p6.Size = new Size(183, 123);
     p6.SizeMode = PictureBoxSizeMode.CenterImage;
     p6.TabIndex = 11;
     p6.TabStop = false;
     p6.DoubleClick += p1_DoubleClick;
     p6.DragDrop += p1_DragDrop;
     p6.DragEnter += p1_DragEnter;
     toolTip1.IsBalloon = true;
     textBoxLog.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     textBoxLog.BorderStyle = BorderStyle.None;
     textBoxLog.Location = new Point(125, 3);
     textBoxLog.Multiline = true;
     textBoxLog.Name = "textBoxLog";
     textBoxLog.ReadOnly = true;
     textBoxLog.Size = new Size(329, 48);
     textBoxLog.TabIndex = 6;
     toolTip1.SetToolTip(textBoxLog, "Log message goes here");
     button1.FlatStyle = FlatStyle.Flat;
     button1.Location = new Point(6, 3);
     button1.Name = "button1";
     button1.Size = new Size(113, 44);
     button1.TabIndex = 5;
     button1.Text = "Back to viewer";
     button1.UseVisualStyleBackColor = true;
     button1.Click += button1_Click;
     splitContainer1.Dock = DockStyle.Fill;
     splitContainer1.FixedPanel = FixedPanel.Panel1;
     splitContainer1.Location = new Point(0, 0);
     splitContainer1.Name = "splitContainer1";
     splitContainer1.Panel1.Controls.Add(label1);
     splitContainer1.Panel1.Controls.Add(listBox1);
     splitContainer1.Panel2.Controls.Add(splitContainer2);
     splitContainer1.Size = new Size(693, 518);
     splitContainer1.SplitterDistance = 218;
     splitContainer1.SplitterWidth = 6;
     splitContainer1.TabIndex = 7;
     splitContainer2.Dock = DockStyle.Fill;
     splitContainer2.FixedPanel = FixedPanel.Panel2;
     splitContainer2.Location = new Point(0, 0);
     splitContainer2.Name = "splitContainer2";
     splitContainer2.Orientation = Orientation.Horizontal;
     splitContainer2.Panel1.Controls.Add(label3);
     splitContainer2.Panel1.Controls.Add(tableLayoutPanel1);
     splitContainer2.Panel2.Controls.Add(linkLabel1);
     splitContainer2.Panel2.Controls.Add(textBoxLog);
     splitContainer2.Panel2.Controls.Add(button1);
     splitContainer2.Size = new Size(469, 518);
     splitContainer2.SplitterDistance = 433;
     splitContainer2.SplitterWidth = 6;
     splitContainer2.TabIndex = 5;
     linkLabel1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     linkLabel1.AutoSize = true;
     linkLabel1.ForeColor = SystemColors.ButtonShadow;
     linkLabel1.LinkArea = new LinkArea(54, 37);
     linkLabel1.Location = new Point(6, 54);
     linkLabel1.Name = "linkLabel1";
     linkLabel1.Size = new Size(504, 18);
     linkLabel1.TabIndex = 7;
     linkLabel1.TabStop = true;
     linkLabel1.Text =
         "Emoticons are taken from wikipedia. Thanks wikipedia! http://en.wikipedia.org/wiki/Emoticon";
     linkLabel1.UseCompatibleTextRendering = true;
     linkLabel1.LinkClicked += linkLabel1_LinkClicked;
     base.AutoScaleDimensions = new SizeF(7f, 14f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(693, 518);
     base.Controls.Add(splitContainer1);
     Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     base.Name = "BCForm";
     base.StartPosition = FormStartPosition.CenterScreen;
     Text = "Bind controller";
     base.Load += BCForm_Load;
     tableLayoutPanel1.ResumeLayout(false);
     tableLayoutPanel1.PerformLayout();
     ((ISupportInitialize) p1).EndInit();
     ((ISupportInitialize) p2).EndInit();
     ((ISupportInitialize) p3).EndInit();
     ((ISupportInitialize) p4).EndInit();
     ((ISupportInitialize) p5).EndInit();
     ((ISupportInitialize) p6).EndInit();
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel1.PerformLayout();
     splitContainer1.Panel2.ResumeLayout(false);
     splitContainer1.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel1.PerformLayout();
     splitContainer2.Panel2.ResumeLayout(false);
     splitContainer2.Panel2.PerformLayout();
     splitContainer2.ResumeLayout(false);
     base.ResumeLayout(false);
 }
开发者ID:Truthkey,项目名称:OpenKH,代码行数:101,代码来源:BCForm.cs

示例6: IntialTwoView


//.........这里部分代码省略.........
        //            cam_Front,
        //            cam_Persp,
        //            cam_Side,
        //            cam_Top
        //        });
        //    cam_List.Name = "CamListStripMenu";
        //    cam_List.Size = new System.Drawing.Size(37, 20);
        //    cam_List.Text = "Cams";
        //    //
        //    //MenuStrip
        //    //
        //    menuStrip.Items.AddRange(new ToolStripItem[]
        //        {
        //            cam_List
        //        });
        //    menuStrip.Location = new System.Drawing.Point(0, 0);
        //    menuStrip.Name = "ViewMenuStrip";
        //    menuStrip.Size = new System.Drawing.Size(650, 25);
        //    menuStrip.TabIndex = 3;
        //    menuStrip.Text = "ViewMenuStrip";
        //    result = new SplitContainer();
        //    ((System.ComponentModel.ISupportInitialize)
        //            (result)).BeginInit();
        //    result.Panel1.SuspendLayout();
        //    result.Panel2.SuspendLayout();
        //    result.SuspendLayout();
        //    result.Dock = DockStyle.Fill;
        //    result.Location = new System.Drawing.Point(0, 0);
        //    result.Name = "SplitView";
        //    result.Orientation = Orientation.Horizontal;
        //    result.Panel1.Controls.Add(menuStrip);
        //    SceneEntry scene;
        //    //a = _entry;
        //    //result.Panel2.Controls.Add(_entry);
        //    scene = new WinFormsContentLoading.SceneEntry();
        //    scene.Dock = System.Windows.Forms.DockStyle.Fill;
        //    scene.Location = new System.Drawing.Point(0, 0);
        //    scene.Name = ViewNm;
        //    scene.Size = new System.Drawing.Size(642, 407);
        //    scene.TabIndex = 11;
        //    scene.Text = "modelViewerControl";
        //    result.Panel2.Controls.Add(scene);
        //    result.Size = new System.Drawing.Size(640, 480);
        //    result.SplitterDistance = 10;
        //    result.TabIndex = 3;
        //    result.AutoScaleMode = AutoScaleMode.Font;
        //    menuStrip.ResumeLayout(false);
        //    menuStrip.PerformLayout();
        //    return result;
        //}
        void IntialTwoView()
        {
            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); //getView("View1");
            SplitContainer view2 = new ViewContainer("View2", false); //getView("View2");

            _viewContainerRoot.Panel1.Controls.Add(view1);
            _viewContainerRoot.Panel2.Controls.Add(view2);

            this.Controls.Add(_viewContainerRoot);

            view1.Panel1.ResumeLayout(false);
            view1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)
                    view1).EndInit();
            view1.ResumeLayout(false);

            view2.Panel1.ResumeLayout(false);
            view2.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)
                    view2).EndInit();
            view2.ResumeLayout(false);

            _viewContainerRoot.Panel1.ResumeLayout(false);
            _viewContainerRoot.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)
                    _viewContainerRoot).EndInit();
            _viewContainerRoot.ResumeLayout(false);

            this.Name = "ViewPanal";

            this.InitLayout();

               // Rectangle a=
               // ((SceneEntry)((SplitContainer)_viewContainerRoot.Panel1.Controls[0]).Panel2.Controls[0]).ActiveRegion;
        }
开发者ID:dourabbit,项目名称:CPipe,代码行数:101,代码来源:ViewPanal.cs

示例7: InitializeComponent


//.........这里部分代码省略.........
            this._treeView.Size = new System.Drawing.Size(251, 275);
            this._treeView.TabIndex = 0;
            this._treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this._treeView_AfterSelect);
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.propertyGrid1, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 3;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(257, 366);
            this.tableLayoutPanel1.TabIndex = 4;
            // 
            // propertyGrid1
            // 
            this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
            this.propertyGrid1.Location = new System.Drawing.Point(3, 25);
            this.propertyGrid1.Name = "propertyGrid1";
            this.propertyGrid1.Size = new System.Drawing.Size(251, 301);
            this.propertyGrid1.TabIndex = 1;
            this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_ValueChanged);
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 2;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 64.5F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35.5F));
            this.tableLayoutPanel2.Controls.Add(this.button1, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.button2, 1, 0);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Right;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(14, 332);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 1;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(240, 31);
            this.tableLayoutPanel2.TabIndex = 2;
            // 
            // button1
            // 
            this.button1.Dock = System.Windows.Forms.DockStyle.Right;
            this.button1.Location = new System.Drawing.Point(89, 3);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(62, 25);
            this.button1.TabIndex = 2;
            this.button1.Text = "完成";
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(157, 3);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(63, 24);
            this.button2.TabIndex = 3;
            this.button2.Text = "取消";
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // pictureBox2
            // 
            this.pictureBox2.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.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
            this.pictureBox2.Location = new System.Drawing.Point(0, 474);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(462, 0);
            this.pictureBox2.TabIndex = 9;
            this.pictureBox2.TabStop = false;
            // 
            // DeluxeTreeItemsEditorForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(518, 366);
            this.Controls.Add(splitContainer1);
            this.Controls.Add(this.pictureBox2);
            this.Name = "DeluxeTreeItemsEditorForm";
            this.Text = "树设计器";
            splitContainer1.Panel1.ResumeLayout(false);
            splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(splitContainer1)).EndInit();
            splitContainer1.ResumeLayout(false);
            this.tableLayoutPanel3.ResumeLayout(false);
            this.tableLayoutPanel3.PerformLayout();
            this.DeluxTreeToolStrip.ResumeLayout(false);
            this.DeluxTreeToolStrip.PerformLayout();
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            this.ResumeLayout(false);

        }
开发者ID:jerryshi2007,项目名称:AK47Source,代码行数:101,代码来源:DeluxeTreeItemsEditorForm.cs

示例8: InitializeComponent


//.........这里部分代码省略.........
            // 
            // topicBox
            // 
            topicBox.BackColor = Color.FromArgb((int)(byte)0, (int)(byte)30, (int)(byte)40);
            topicBox.ChatBackgroundColor = 0;
            topicBox.DefaultTooltip = null;
            topicBox.Dock = DockStyle.Fill;
            topicBox.Font = Config.GeneralFontBig;
            topicBox.HideScroll = false;
            topicBox.IRCForeColor = 0;
            topicBox.LineHighlight = null;
            topicBox.Location = new Point(0, 0);
            topicBox.Name = "topicBox";
            topicBox.NoColorMode = false;
            topicBox.ShowHistory = true;
            topicBox.ShowJoinLeave = false;
            topicBox.ShowUnreadLine = true;
            topicBox.SingleLine = false;
            topicBox.Size = new Size(800, 0);
            topicBox.TabIndex = 2;
            topicBox.TextFilter = null;
            // 
            // ChatBox
            // 
            ChatBox.BackColor = Color.DimGray;
            ChatBox.ChatBackgroundColor = 0;
            ChatBox.DefaultTooltip = null;
            ChatBox.Dock = DockStyle.Fill;
            ChatBox.Font = Config.GeneralFont;
            ChatBox.ForeColor = Color.White;
            ChatBox.HideScroll = false;
            ChatBox.IRCForeColor = 0;
            ChatBox.LineHighlight = null;
            ChatBox.Location = new Point(0, 0);
            ChatBox.Name = "ChatBox";
            ChatBox.NoColorMode = false;
            ChatBox.ShowHistory = true;
            ChatBox.ShowJoinLeave = false;
            ChatBox.ShowUnreadLine = true;
            ChatBox.SingleLine = false;
            ChatBox.Size = new Size(800, 765);
            ChatBox.TabIndex = 1;
            ChatBox.TextFilter = null;
            // 
            // splitContainer1
            // 
            splitContainer1.BackColor = Color.Transparent;
            splitContainer1.Dock = DockStyle.Fill;
            splitContainer1.Location = new Point(0, 0);
            splitContainer1.Margin = new Padding(0);
            splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            splitContainer1.Panel1.Controls.Add(ChatBox);
            splitContainer1.Panel1.Controls.Add(topicPanel);
            splitContainer1.Panel1.Controls.Add(sendBox);
            // 
            // splitContainer1.Panel2
            // 
            splitContainer1.Panel2.Controls.Add(playerListMapSplitContainer);
            splitContainer1.Size = new Size(1130, 793);
            splitContainer1.SplitterDistance = 800;
            splitContainer1.TabIndex = 0;
            splitContainer1.SplitterMoved += splitContainer1_SplitterMoved;


            playerBox.BackColor = Config.BgColor;
            playerBox.ForeColor = Config.TextColor;
            playerBox_zklclick.AttachTo(playerBox);
            playerBox_zklclick.MouseClick += PlayerBox_MouseClick;

            playerSearchBox.BackColor = Config.BgColor;
            playerSearchBox.ForeColor = Config.TextColor;


            var searchLabel = new Label() { Text = "Search: ", AutoSize = true, Font = Config.GeneralFontSmall, Margin = new Padding(3) };
            searchBarContainer.Controls.Add(searchLabel, 0, 0);


            // 
            // ChatControl
            // 
            Controls.Add(splitContainer1);
            Margin = new Padding(0);
            Name = "ChatControl";
            Size = new Size(1130, 793);
            playerListMapSplitContainer.Panel1.ResumeLayout(false);
            ((ISupportInitialize)playerListMapSplitContainer).EndInit();
            playerListMapSplitContainer.ResumeLayout(false);
            playerBoxSearchBarContainer.ResumeLayout(false);
            searchBarContainer.ResumeLayout(false);
            topicPanel.ResumeLayout(false);
            splitContainer1.Panel1.ResumeLayout(false);
            splitContainer1.Panel1.PerformLayout();
            splitContainer1.Panel2.ResumeLayout(false);
            ((ISupportInitialize)splitContainer1).EndInit();
            splitContainer1.ResumeLayout(false);
            ResumeLayout(false);
        }
开发者ID:DeinFreund,项目名称:Zero-K-Infrastructure,代码行数:101,代码来源:ChatControl.cs

示例9: InitializeComponent


//.........这里部分代码省略.........
            controlGrid = new DataGridView();
            controlGrid.Dock = DockStyle.Fill;
            controlGrid.AllowUserToAddRows = false;
            controlGrid.CellValueChanged += new DataGridViewCellEventHandler(control_grid_value_change);
            controlGrid.RowHeadersVisible = false;

            DataGridViewColumn cg_property = new DataGridViewTextBoxColumn();
            cg_property.HeaderText = "Property";
            cg_property.ReadOnly = true;
            cg_property.SortMode = DataGridViewColumnSortMode.NotSortable;

            DataGridViewColumn cg_value = new DataGridViewTextBoxColumn();
            cg_value.HeaderText = "Value";
            cg_value.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            cg_value.SortMode = DataGridViewColumnSortMode.NotSortable;

            controlGrid.Columns.AddRange(new DataGridViewColumn[] {cg_property, cg_value});

            foreach (String property in properties)
                controlGrid.Rows.Add(new String[] { property, "" });

            // File list view
            fileList = new RightClickableListView();

            fileList.Name = "fileList";
            fileList.AllowColumnReorder = true;
            fileList.AllowDrop = true; // Drag-n-Drop
            fileList.Dock = DockStyle.Fill;
            fileList.Location = new Point(0, 0);
            fileList.View = View.Details; // Details View
            fileList.FullRowSelect = true;
            fileList.MultiSelect = true;
            fileList.HideSelection = false;
            fileList.KeyDown += new KeyEventHandler(fileList_key_press);
            fileList.ColumnContextMenuClicked += new RightClickableListView.ColumnContextMenuHandler(fileList_right_click);
            fileList.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(fileList_selection);

            #endregion

            #region Dialogs
            // Dialog components

            openFileDialog = new OpenFileDialog();
            openFileDialog.FileName = "openFileDialog";

            #endregion

            #region Menus
            headerContext = new ContextMenu();

            foreach (String header in MainWindow.headers)
            {
                MenuItem item = new MenuItem(header);
                item.Click += new EventHandler(header_menu_item_click);
                headerContext.MenuItems.Add(item);
            }

            #endregion

            #region Main Window
            // Settings for main window

            AutoScaleDimensions = new SizeF(6F, 13F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(984, 612);
            MinimumSize = new Size(700, 500);

            Name = "MainWindow";
            Text = "File Tag";

            #endregion

            #region Add Controls

            Controls.Add(mainSplit);
            Controls.Add(toolStrip);
            Controls.Add(statusBar);
            Controls.Add(menuBar);
            MainMenuStrip = menuBar;

            mainSplit.Panel1.Controls.Add(controlGrid);
            mainSplit.Panel2.Controls.Add(fileList);

            #endregion

            #region Resume Layouts

            menuBar.ResumeLayout(false);
            menuBar.PerformLayout();

            mainSplit.Panel1.ResumeLayout(false);
            mainSplit.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(mainSplit)).EndInit();
            mainSplit.ResumeLayout(false);

            ResumeLayout(false);
            PerformLayout();

            #endregion
        }
开发者ID:mstone121,项目名称:FileTag,代码行数:101,代码来源:MainWindow.cs

示例10: CreateExceptionTree


//.........这里部分代码省略.........
            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);

            tree.ResumeLayout();
            callStackList.ResumeLayout();
            treeTitle.ResumeLayout();
            callStackTitle.ResumeLayout();
            split.ResumeLayout();

            this.exceptionTreeTitle = treeTitle;
            this.callStackListTitle = callStackTitle;

            return tree;
        }
开发者ID:stegru,项目名称:ExceptionExplorer,代码行数:101,代码来源:ExceptionControl.cs

示例11: InitializeComponent


//.........这里部分代码省略.........
     changelogLink.TabStop = true;
     changelogLink.Text = "Changelog";
     changelogLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     bugLink.AutoSize = true;
     bugLink.Location = new Point(8, 78);
     bugLink.Name = "bugLink";
     bugLink.Size = new Size(61, 13);
     bugLink.TabIndex = 2;
     bugLink.TabStop = true;
     bugLink.Text = "Bug reports";
     bugLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     scriptsLink.AutoSize = true;
     scriptsLink.Location = new Point(8, 34);
     scriptsLink.Name = "scriptsLink";
     scriptsLink.Size = new Size(68, 13);
     scriptsLink.TabIndex = 1;
     scriptsLink.TabStop = true;
     scriptsLink.Text = "Scripts forum";
     scriptsLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     installLink.AutoSize = true;
     installLink.Location = new Point(8, 12);
     installLink.Name = "installLink";
     installLink.Size = new Size(86, 13);
     installLink.TabIndex = 0;
     installLink.TabStop = true;
     installLink.Text = "Installation guide";
     installLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     dotaFindTimer.Interval = 125;
     dotaFindTimer.Tick += new EventHandler(dotaFindTimer_Tick);
     taskbarIcon.Icon = (Icon)componentResourceManager.GetObject("taskbarIcon.Icon");
     taskbarIcon.Text = "Ensage";
     taskbarIcon.Visible = true;
     taskbarIcon.Click += new EventHandler(notifyIcon1_Click);
     injectWorker.WorkerReportsProgress = true;
     injectWorker.DoWork += new DoWorkEventHandler(injectWorker_DoWork);
     injectWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(injectWorker_RunWorkerCompleted);
     pipeWorker.WorkerReportsProgress = true;
     pipeWorker.DoWork += new DoWorkEventHandler(pipeWorker_DoWork);
     pipeWorker.ProgressChanged += new ProgressChangedEventHandler(pipeWorker_ProgressChanged);
     serverWorker.DoWork += new DoWorkEventHandler(serverWorker_DoWork);
     updateTimer.Interval = 60000;
     updateTimer.Tick += new EventHandler(updateTimer_Tick);
     loadWorker.WorkerReportsProgress = true;
     loadWorker.DoWork += new DoWorkEventHandler(loadWorker_DoWork);
     loadWorker.ProgressChanged += new ProgressChangedEventHandler(loadWorker_ProgressChanged);
     DisableVAC.AutoSize = true;
     DisableVAC.Location = new Point(11, 151);
     DisableVAC.Name = "DisableVAC";
     DisableVAC.Size = new Size(103, 17);
     DisableVAC.TabIndex = 9;
     DisableVAC.Text = "disable anti-VAC";
     DisableVAC.UseVisualStyleBackColor = true;
     AutoScaleDimensions = new SizeF(6f, 13f);
     AutoScaleMode = AutoScaleMode.Font;
     ClientSize = new Size(683, 428);
     Controls.Add(tabControl1);
     Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     MinimumSize = new Size(683, 428);
     Name = "Main";
     Text = "Ensage - Main";
     FormClosing += new FormClosingEventHandler(Main_FormClosing);
     Shown += new EventHandler(Main_Shown);
     Resize += new EventHandler(Main_Resize);
     tabControl1.ResumeLayout(false);
     mainPage.ResumeLayout(false);
     mainPage.PerformLayout();
     groupBox1.ResumeLayout(false);
     chatPage.ResumeLayout(false);
     ircTabControl.ResumeLayout(false);
     tabPage1.ResumeLayout(false);
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel1.PerformLayout();
     splitContainer1.Panel2.ResumeLayout(false);
     splitContainer1.EndInit();
     splitContainer1.ResumeLayout(false);
     tabPage2.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel2.ResumeLayout(false);
     splitContainer2.EndInit();
     splitContainer2.ResumeLayout(false);
     splitContainer3.Panel1.ResumeLayout(false);
     splitContainer3.Panel2.ResumeLayout(false);
     splitContainer3.EndInit();
     splitContainer3.ResumeLayout(false);
     flowLayoutPanel1.ResumeLayout(false);
     flowLayoutPanel1.PerformLayout();
     scriptsPage.ResumeLayout(false);
     ((ISupportInitialize)scriptsDataGrid).EndInit();
     ((ISupportInitialize)listBinding).EndInit();
     scriptConfigPage.ResumeLayout(false);
     repository.ResumeLayout(false);
     tableLayoutPanel1.ResumeLayout(false);
     tableLayoutPanel2.ResumeLayout(false);
     tableLayoutPanel3.ResumeLayout(false);
     tableLayoutPanel3.PerformLayout();
     configPage.ResumeLayout(false);
     helpPage.ResumeLayout(false);
     helpPage.PerformLayout();
     ResumeLayout(false);
 }
开发者ID:Moones,项目名称:OpenEnsage,代码行数:101,代码来源:Main.cs

示例12: 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);
            }
开发者ID:ldh9451,项目名称:XLE,代码行数:29,代码来源:RenderCommands.cs

示例13: InitializeComponent


//.........这里部分代码省略.........
     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";
     TreeNode14.Text = "Screenshot Manager";
     TreeNode15.Name = "Node14";
     TreeNode15.Tag = "Connection";
     TreeNode15.Text = "Connection";
     TreeNode16.Name = "Node15";
     TreeNode16.Tag = "Options";
     TreeNode16.Text = "Options";
     TreeNode17.Name = "Node16";
     TreeNode17.Tag = "Update";
     TreeNode17.Text = "Update";
     TreeNode18.Name = "Node17";
     TreeNode18.Tag = "SSHFileTransfer";
     TreeNode18.Text = "SSH File Transfer";
     TreeNode19.Name = "Node18";
     TreeNode19.Tag = "QuickConnect";
     TreeNode19.Text = "Quick Connect";
     TreeNode20.Name = "Node19";
     TreeNode20.Tag = "ImportFromAD";
     TreeNode20.Text = "Import From Active Directory";
     TreeNode21.Name = "Node1";
     TreeNode21.Tag = "ExternalTools";
     TreeNode21.Text = "External Tools";
     TreeNode22.Name = "Node0";
     TreeNode22.Tag = "PortScan";
     TreeNode22.Text = "Port Scan";
     TreeNode23.Name = "Node6";
     TreeNode23.Text = "User Interface";
     TreeNode24.Name = "Node20";
     TreeNode24.Tag = "QuickReference";
     TreeNode24.Text = "Quick Reference";
     TreeNode25.Name = "Node0";
     TreeNode25.Text = "Help";
     TreeNode25.Tag = "Index";
     tvIndex.Nodes.AddRange(new TreeNode[] {TreeNode25});
     tvIndex.ShowRootLines = false;
     tvIndex.Size = new System.Drawing.Size(207, 321);
     tvIndex.TabIndex = 0;
     //
     //imgListHelp
     //
     imgListHelp.ColorDepth = ColorDepth.Depth32Bit;
     imgListHelp.ImageSize = new System.Drawing.Size(16, 16);
     imgListHelp.TransparentColor = System.Drawing.Color.Transparent;
     //
     //pnlSplitter
     //
     pnlSplitter.Anchor = ((AnchorStyles.Top | AnchorStyles.Bottom)
                           | AnchorStyles.Left)
                          | AnchorStyles.Right;
     pnlSplitter.FixedPanel = FixedPanel.Panel1;
     pnlSplitter.Location = new System.Drawing.Point(0, 0);
     pnlSplitter.Name = "pnlSplitter";
     //
     //pnlSplitter.Panel1
     //
     pnlSplitter.Panel1.Controls.Add(tvIndex);
     //
     //pnlSplitter.Panel2
     //
     pnlSplitter.Panel2.Controls.Add(lblDocName);
     pnlSplitter.Panel2.Controls.Add(wbHelp);
     pnlSplitter.Size = new System.Drawing.Size(542, 323);
     pnlSplitter.SplitterDistance = 209;
     pnlSplitter.TabIndex = 2;
     //
     //lblDocName
     //
     lblDocName.Anchor = (AnchorStyles.Top | AnchorStyles.Left)
                         | AnchorStyles.Right;
     lblDocName.BackColor = System.Drawing.Color.DimGray;
     lblDocName.Font = new System.Drawing.Font("Segoe UI", 12.0F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     lblDocName.ForeColor = System.Drawing.Color.White;
     lblDocName.Location = new System.Drawing.Point(1, 1);
     lblDocName.Name = "lblDocName";
     lblDocName.Size = new System.Drawing.Size(327, 35);
     lblDocName.TabIndex = 2;
     lblDocName.Text = "Introduction";
     lblDocName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     //Help
     //
     ClientSize = new System.Drawing.Size(542, 323);
     Controls.Add(pnlSplitter);
     Icon = Resources.Help_Icon;
     Name = "Help";
     TabText = "Help";
     Text = "Help";
     pnlSplitter.Panel1.ResumeLayout(false);
     pnlSplitter.Panel2.ResumeLayout(false);
     pnlSplitter.ResumeLayout(false);
     ResumeLayout(false);
 }
开发者ID:mRemoteNG,项目名称:mRemoteNG,代码行数:101,代码来源:HelpWindow.cs

示例14: InitializeComponent


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

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

示例15: InitializeComponent


//.........这里部分代码省略.........
            this._aboutMenuItem.Click += new System.EventHandler(this.AboutMenuItemClick);
            // 
            // _treeContextMenu
            // 
            this._treeContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._treeNewItemMenuItem,
            this._treeAddItemMenuItem,
            this._treeDeleteMenuItem,
            this.toolStripSeparator6,
            this._treeOpenFileMenuItem,
            this._treeOpenFileLocationMenuItem,
            this.toolStripSeparator4,
            this._treeRebuildMenuItem});
            this._treeContextMenu.Name = "itemContextMenu";
            this._treeContextMenu.Size = new System.Drawing.Size(174, 148);
            this._treeContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.MainMenuMenuActivate);
            // 
            // _treeNewItemMenuItem
            // 
            this._treeNewItemMenuItem.Name = "_treeNewItemMenuItem";
            this._treeNewItemMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeNewItemMenuItem.Text = "New Item...";
            this._treeNewItemMenuItem.Click += new System.EventHandler(this.OnNewItemClick);
            // 
            // _treeAddItemMenuItem
            // 
            this._treeAddItemMenuItem.Name = "_treeAddItemMenuItem";
            this._treeAddItemMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeAddItemMenuItem.Text = "&Add Item...";
            this._treeAddItemMenuItem.Click += new System.EventHandler(this.OnAddItemClick);
            // 
            // _treeDeleteMenuItem
            // 
            this._treeDeleteMenuItem.Name = "_treeDeleteMenuItem";
            this._treeDeleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
            this._treeDeleteMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeDeleteMenuItem.Text = "&Delete";
            this._treeDeleteMenuItem.Click += new System.EventHandler(this.OnDeleteItemClick);
            // 
            // toolStripSeparator6
            // 
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(170, 6);
            // 
            // _treeOpenFileMenuItem
            // 
            this._treeOpenFileMenuItem.Name = "_treeOpenFileMenuItem";
            this._treeOpenFileMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeOpenFileMenuItem.Text = "Open File";
            this._treeOpenFileMenuItem.Click += new System.EventHandler(this.ContextMenu_OpenFile_Click);
            // 
            // _treeOpenFileLocationMenuItem
            // 
            this._treeOpenFileLocationMenuItem.Name = "_treeOpenFileLocationMenuItem";
            this._treeOpenFileLocationMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeOpenFileLocationMenuItem.Text = "Open File Location";
            this._treeOpenFileLocationMenuItem.Click += new System.EventHandler(this.ContextMenu_OpenFileLocation_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(170, 6);
            // 
            // _treeRebuildMenuItem
            // 
            this._treeRebuildMenuItem.Name = "_treeRebuildMenuItem";
            this._treeRebuildMenuItem.Size = new System.Drawing.Size(173, 22);
            this._treeRebuildMenuItem.Text = "Rebuild";
            this._treeRebuildMenuItem.Click += new System.EventHandler(this.RebuildItemsMenuItemClick);
            // 
            // MainView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(784, 561);
            this.Controls.Add(_splitEditorOutput);
            this.Controls.Add(this._mainMenu);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this._mainMenu;
            this.MinimumSize = new System.Drawing.Size(320, 240);
            this.Name = "MainView";
            this.Text = "MonoGame Pipeline";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainView_FormClosing);
            this.Load += new System.EventHandler(this.MainView_Load);
            this.Shown += new System.EventHandler(this.MainView_Shown);
            _splitTreeProps.Panel1.ResumeLayout(false);
            _splitTreeProps.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(_splitTreeProps)).EndInit();
            _splitTreeProps.ResumeLayout(false);
            _splitEditorOutput.Panel1.ResumeLayout(false);
            _splitEditorOutput.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(_splitEditorOutput)).EndInit();
            _splitEditorOutput.ResumeLayout(false);
            this._mainMenu.ResumeLayout(false);
            this._mainMenu.PerformLayout();
            this._treeContextMenu.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
开发者ID:cazBlue,项目名称:AIEYearOneProjects,代码行数:101,代码来源:MainView.Designer.cs


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