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


C# TabControl.SuspendLayout方法代码示例

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


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

示例1: SetupForm

        private void SetupForm()
        {

            SuspendLayout();
            Controls.Clear();

            tabControl = getNewTabControl();
            tabControl.SuspendLayout();

            for (int i = 0; i < tabCaptions.Length; i++)
            {
                textboxes[i] = getNewTextBox();
                tabPages[i] = getNewTabPage(textboxes[i], tabCaptions[i]);
                tabControl.Controls.Add(tabPages[i]);
            }

            Controls.Add(tabControl);

            this.AutoScaleDimensions = new SizeF(96F, 96F);
            this.AutoScaleMode = AutoScaleMode.Dpi;
            this.ClientSize = new Size(624, 442);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.StartPosition = FormStartPosition.CenterParent;
            this.Text = "Thanks to...";

            this.ResumeLayout(false);

        }
开发者ID:Carbenium,项目名称:gitextensions,代码行数:30,代码来源:FormContributors.cs

示例2: InitTabControl

 private static TabControl InitTabControl()
 {
     TabControl tab = new TabControl();
     tab.SuspendLayout();
     return tab;
 }
开发者ID:numerodix,项目名称:solarbeam,代码行数:6,代码来源:Layouting.cs

示例3: CCProjectsViewMgr

        public CCProjectsViewMgr(MainForm form, ImageList large, ImageList small)
            : base()
        {
            mainForm = form;
            this.SuspendLayout();
            largeImageList = large;
            smallImageList = small;


            CCProjectsViewMgrPanel = new System.Windows.Forms.Panel();
            CCProjectsViewMgrPanel.Tag = this;
            Controls.Add(CCProjectsViewMgrPanel);
            CCProjectsViewMgrPanel.Location = new System.Drawing.Point(0, 0);
            CCProjectsViewMgrPanel.Name = "CCProjectsViewMgrPanel";
            CCProjectsViewMgrPanel.BackColor = Color.AliceBlue;

            CCProjectsViewMgrPanel.MouseDoubleClick += new MouseEventHandler(CCProjectsViewMgrPanel_MouseDoubleClick);

            CCProjectsViewMgrPanel.Dock = DockStyle.Fill;

            // project views are added to the tabcontrol so it needs to be created first

            m_tabControl = new TabControl();
            m_tabControl.SuspendLayout();
            m_tabControl.Name = "tabControl";
            m_tabControl.SelectedIndex = 0;
            m_tabControl.TabIndex = 0;
            m_tabControl.MouseUp += new MouseEventHandler(TabControl_MouseUp);
            m_tabControl.MouseClick += new MouseEventHandler(CCProjectsViewMgr_MouseClick);
            m_tabControl.AllowDrop = true;
            m_tabControl.DragEnter += new DragEventHandler(TabControl_DragEnter);
            m_tabControl.DragDrop += new DragEventHandler(TabControl_DragDrop);
            m_tabControl.DragOver += new DragEventHandler(TabControl_DragOver);
            m_tabControl.DragLeave += new EventHandler(m_tabControl_DragLeave);
            m_tabControl.Dock = DockStyle.Fill;
            m_tabControl.ImageList = smallImageList;
            CCProjectsViewMgrPanel.Controls.Add(m_tabControl);

            form.DragEnter += new DragEventHandler(form_DragEnter);

            // create the container of views
            m_projectViews = new List<CCProjectsView>();

            // the 'all' view always has all the projects the user has subscribed to
            m_all = new CCProjectsView(this, "All");
            m_all.IsUserView = false;

            AddView(m_all);


            // the 'broken' view is dynamically updated with any broken projects
            m_broken = new CCProjectsView(this, "Broken");
            m_broken.IsUserView = false;
            m_broken.IsReadOnly = false;
            m_broken.TabPage.ImageIndex = ProjectState.Broken.ImageIndex;
            m_broken.TabPage.TabIndex = 1;

            // we don't add it to make  iterating over 'real' views more easy
            AddView(m_broken);

            this.ResumeLayout(false);
            m_tabControl.ResumeLayout(false);

            form.dummyDockingPanel.Controls.Add(CCProjectsViewMgrPanel);

            #region // menus

            projectContextMenu = new System.Windows.Forms.ContextMenuStrip();

            mnuForce = new System.Windows.Forms.ToolStripMenuItem();
            mnuAbort = new System.Windows.Forms.ToolStripMenuItem();
            mnuStart = new System.Windows.Forms.ToolStripMenuItem();
            mnuStop = new System.Windows.Forms.ToolStripMenuItem();
            mnuWebPage = new System.Windows.Forms.ToolStripMenuItem();
            mnuCancelPending = new System.Windows.Forms.ToolStripMenuItem();
            mnuFixBuild = new System.Windows.Forms.ToolStripMenuItem();
            mnuCopyBuildLabel = new System.Windows.Forms.ToolStripMenuItem();
            mnuSendToNewTab = new System.Windows.Forms.ToolStripMenuItem();
            mnuCreateTabFromPattern = new System.Windows.Forms.ToolStripMenuItem();
            mnuCreateTabFromCategory = new System.Windows.Forms.ToolStripMenuItem();

            projectContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] 
         {
            mnuForce,
            mnuAbort,
            mnuStart,
            mnuStop,
            mnuWebPage,
            mnuCancelPending,
            mnuFixBuild,
            mnuCopyBuildLabel,
            mnuSendToNewTab,
            mnuCreateTabFromPattern,
            mnuCreateTabFromCategory
         });

            mnuForce.Text = "&Force Build";
            mnuForce.Click += new System.EventHandler(mnuForce_Click);
            mnuAbort.Text = "&Abort Build";
            mnuAbort.Click += new System.EventHandler(mnuAbort_Click);
//.........这里部分代码省略.........
开发者ID:kascomp,项目名称:CruiseControl.NET,代码行数:101,代码来源:ProjectViewMgr.cs

示例4: AddTabNextToTab

        /// <summary>
        /// Add another TabPage next to the given Tabpage
        /// </summary>
        /// <param name="ATabControl">parent control containing the tabpages</param>
        /// <param name="AAddTabPage">the new tabpage</param>
        /// <param name="ANextToTabPage">the neighbour</param>
        public static void AddTabNextToTab(TabControl ATabControl, TabPage AAddTabPage, String ANextToTabPage)
        {
            int ExchangeCounter;
            int RemainingExchangeCounter1;
            int RemainingExchangeCounter2;

            TabPage[, ] FollowingTabPages = null;

            if (AAddTabPage != null)
            {
                /*
                 * First add specified TabPage
                 */
                if (!ATabControl.Controls.Contains(AAddTabPage))
                {
                    ATabControl.Controls.Add(AAddTabPage);
                }
                else
                {
                    return;
                }

                /*
                 * Now place it right of the desired TabPage and re-order the following Tabpages...
                 */

                // Determine TabPages that need to change order
                for (ExchangeCounter = 0; ExchangeCounter <= ATabControl.TabCount - 1; ExchangeCounter += 1)
                {
                    // MessageBox.Show('ExchangeCounter: ' + ExchangeCounter.ToString);
                    if (ATabControl.TabPages[ExchangeCounter].Name == ANextToTabPage)
                    {
                        if (ExchangeCounter < ATabControl.TabCount)
                        {
                            FollowingTabPages = new TabPage[ATabControl.TabCount - (ExchangeCounter - 1), 2];

                            // MessageBox.Show('Length(FollowingTabPages): ' + Convert.ToString(ATabControl.TabCount  ExchangeCounter  1));
                            FollowingTabPages[0, 0] = AAddTabPage;
                            FollowingTabPages[0, 1] = ATabControl.TabPages[ExchangeCounter + 1];

                            // MessageBox.Show('FollowingTabPages[0]: ' + FollowingTabPages[0, 0].Name + '; ' + FollowingTabPages[0, 1].Name);
                            // MessageBox.Show('Adding ' + Convert.ToString((ATabControl.TabCount  1)  (ExchangeCounter + 2)) + ' further TabPages...');
                            for (RemainingExchangeCounter1 = 1;
                                 RemainingExchangeCounter1 <= (ATabControl.TabCount - 1) - (ExchangeCounter + 2);
                                 RemainingExchangeCounter1 += 1)
                            {
                                FollowingTabPages[RemainingExchangeCounter1, 0] = ATabControl.TabPages[RemainingExchangeCounter1 + ExchangeCounter];
                                FollowingTabPages[RemainingExchangeCounter1,
                                                  1] = ATabControl.TabPages[RemainingExchangeCounter1 + ExchangeCounter + 1];

                                // MessageBox.Show('FollowingTabPages[' + RemainingExchangeCounter1.ToString + ']: ' + FollowingTabPages[RemainingExchangeCounter1, 0].Name + '; ' + FollowingTabPages[RemainingExchangeCounter1, 1].Name);
                            }

                            break;
                        }
                    }
                }

                // Exchange positions of determined TabPages
                ATabControl.SuspendLayout();

                for (RemainingExchangeCounter2 = 0;
                     RemainingExchangeCounter2 <= (ATabControl.TabCount - 1) - (ExchangeCounter + 2);
                     RemainingExchangeCounter2 += 1)
                {
                    // MessageBox.Show('TabPage swap #' + RemainingExchangeCounter2.ToString + '...');
                    SwapTabPages(ATabControl, FollowingTabPages[RemainingExchangeCounter2, 0], FollowingTabPages[RemainingExchangeCounter2, 1]);
                }

                ATabControl.ResumeLayout();
            }
        }
开发者ID:Davincier,项目名称:openpetra,代码行数:78,代码来源:Controls.Utilities.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
         rolesForUserLabel = new System.Windows.Forms.Label();
         usersToAssignHeader = new System.Windows.Forms.ColumnHeader();
         rolesGroupBox = new System.Windows.Forms.GroupBox();
         rolesHeader = new System.Windows.Forms.ColumnHeader();
         usersInRoleLabel = new System.Windows.Forms.Label();
         usersStatus = new System.Windows.Forms.GroupBox();
         onlineTimeWindowLabel = new System.Windows.Forms.Label();
         onlineUsersLabel = new System.Windows.Forms.Label();
         usersGoupBox = new System.Windows.Forms.GroupBox();
         usersHeader = new System.Windows.Forms.ColumnHeader();
         applicationsGroupBox = new System.Windows.Forms.GroupBox();
         applicationsHeader = new System.Windows.Forms.ColumnHeader();
         columnApplications = new System.Windows.Forms.ColumnHeader();
         addressGroupBox = new System.Windows.Forms.GroupBox();
         mainMenu = new System.Windows.Forms.MenuStrip();
         applicationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         usersMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         usersSeparator1 = new System.Windows.Forms.ToolStripSeparator();
         usersSeparator2 = new System.Windows.Forms.ToolStripSeparator();
         rolesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         rolesSeparator1 = new System.Windows.Forms.ToolStripSeparator();
         passwordsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         serviceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         testMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         helpMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         passwordsPage = new System.Windows.Forms.TabPage();
         rolesPage = new System.Windows.Forms.TabPage();
         usersPage = new System.Windows.Forms.TabPage();
         applicationsTab = new System.Windows.Forms.TabPage();
         applicationPictureBox = new System.Windows.Forms.PictureBox();
         tabControl = new System.Windows.Forms.TabControl();
         servicePage = new System.Windows.Forms.TabPage();
         passwordSetupGroupBox.SuspendLayout();
         generatePassorgGroupBox.SuspendLayout();
         usersGroupBox.SuspendLayout();
         rolesGroupBox.SuspendLayout();
         usersStatus.SuspendLayout();
         usersGoupBox.SuspendLayout();
         applicationsGroupBox.SuspendLayout();
         addressGroupBox.SuspendLayout();
         mainMenu.SuspendLayout();
         passwordsPage.SuspendLayout();
         rolesPage.SuspendLayout();
         usersPage.SuspendLayout();
         applicationsTab.SuspendLayout();
         ((System.ComponentModel.ISupportInitialize)(applicationPictureBox)).BeginInit();
         tabControl.SuspendLayout();
         servicePage.SuspendLayout();
         this.SuspendLayout();
         // 
         // passwordSetupGroupBox
         // 
         passwordSetupGroupBox.Controls.Add(passwordResetLabel);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordReset);
         passwordSetupGroupBox.Controls.Add(this.m_RequiresQuestionAndAnswerLabel);
         passwordSetupGroupBox.Controls.Add(passwordRetrievalLabel);
         passwordSetupGroupBox.Controls.Add(requiresQuestionAndAnswerLabel);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordRetrieval);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordRegularExpression);
         passwordSetupGroupBox.Controls.Add(maxInvalidLabel);
         passwordSetupGroupBox.Controls.Add(passwordRegularExpressionLabel);
         passwordSetupGroupBox.Controls.Add(this.m_MaxInvalidAttempts);
         passwordSetupGroupBox.Controls.Add(this.m_AttemptWindow);
         passwordSetupGroupBox.Controls.Add(minNonAlpha);
         passwordSetupGroupBox.Controls.Add(attemptWindowLabel);
开发者ID:urmilaNominate,项目名称:mERP-framework,代码行数:67,代码来源:CredentialsManager.Designer.cs

示例6: InitializeComponent

		/// -----------------------------------------------------------------------------------
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		/// -----------------------------------------------------------------------------------
		private void InitializeComponent()
		{
			System.Windows.Forms.Button m_btnAdd;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HeaderFooterSetupDlg));
			System.Windows.Forms.Button m_btnModify;
			System.Windows.Forms.Button m_btnOk;
			System.Windows.Forms.Button m_btnCancel;
			System.Windows.Forms.Button m_btnHelp;
			System.Windows.Forms.Label m_lblDescription;
			System.Windows.Forms.TabControl tabControl1;
			System.Windows.Forms.TabPage m_tpFirst;
			System.Windows.Forms.Panel m_pnlFirstPage;
			System.Windows.Forms.Label m_lblFirstPage;
			System.Windows.Forms.TabPage m_tpOddEven;
			System.Windows.Forms.Panel panel3;
			System.Windows.Forms.GroupBox m_grpBoxEdit;
			SIL.FieldWorks.Common.Controls.LineControl lineControl1;
			this.m_pnlFirstTop = new System.Windows.Forms.Panel();
			this.m_chkFirstSameAsOdd = new System.Windows.Forms.CheckBox();
			this.m_pnlFirstBottom = new System.Windows.Forms.Panel();
			this.panel2 = new System.Windows.Forms.Panel();
			this.m_pnlEvenPage = new System.Windows.Forms.Panel();
			this.m_pnlEvenTop = new System.Windows.Forms.Panel();
			this.m_chkEvenSameAsOdd = new System.Windows.Forms.CheckBox();
			this.m_pnlEvenBottom = new System.Windows.Forms.Panel();
			this.m_pnlOddPage = new System.Windows.Forms.Panel();
			this.m_pnlOddBottom = new System.Windows.Forms.Panel();
			this.m_pnlOddTop = new System.Windows.Forms.Panel();
			this.m_lblOddPage = new System.Windows.Forms.Label();
			this.m_lblEvenPage = new System.Windows.Forms.Label();
			this.panel4 = new System.Windows.Forms.Panel();
			this.m_btnDelete = new System.Windows.Forms.Button();
			this.m_lstBoxName = new System.Windows.Forms.ListBox();
			this.panel1 = new System.Windows.Forms.Panel();
			this.m_txtBoxDescription = new System.Windows.Forms.TextBox();
			m_btnAdd = new System.Windows.Forms.Button();
			m_btnModify = new System.Windows.Forms.Button();
			m_btnOk = new System.Windows.Forms.Button();
			m_btnCancel = new System.Windows.Forms.Button();
			m_btnHelp = new System.Windows.Forms.Button();
			m_lblDescription = new System.Windows.Forms.Label();
			tabControl1 = new System.Windows.Forms.TabControl();
			m_tpFirst = new System.Windows.Forms.TabPage();
			m_pnlFirstPage = new System.Windows.Forms.Panel();
			m_lblFirstPage = new System.Windows.Forms.Label();
			m_tpOddEven = new System.Windows.Forms.TabPage();
			panel3 = new System.Windows.Forms.Panel();
			m_grpBoxEdit = new System.Windows.Forms.GroupBox();
			lineControl1 = new SIL.FieldWorks.Common.Controls.LineControl();
			tabControl1.SuspendLayout();
			m_tpFirst.SuspendLayout();
			m_pnlFirstPage.SuspendLayout();
			m_tpOddEven.SuspendLayout();
			this.m_pnlEvenPage.SuspendLayout();
			this.m_pnlOddPage.SuspendLayout();
			m_grpBoxEdit.SuspendLayout();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			//
			// m_btnAdd
			//
			resources.ApplyResources(m_btnAdd, "m_btnAdd");
			m_btnAdd.Name = "m_btnAdd";
			m_btnAdd.Click += new System.EventHandler(this.m_btnAdd_Click);
			//
			// m_btnModify
			//
			resources.ApplyResources(m_btnModify, "m_btnModify");
			m_btnModify.Name = "m_btnModify";
			m_btnModify.Click += new System.EventHandler(this.m_btnModify_Click);
			//
			// m_btnOk
			//
			resources.ApplyResources(m_btnOk, "m_btnOk");
			m_btnOk.Name = "m_btnOk";
			m_btnOk.Click += new System.EventHandler(this.m_btnOk_Click);
			//
			// m_btnCancel
			//
			m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			resources.ApplyResources(m_btnCancel, "m_btnCancel");
			m_btnCancel.Name = "m_btnCancel";
			//
			// m_btnHelp
			//
			resources.ApplyResources(m_btnHelp, "m_btnHelp");
			m_btnHelp.Name = "m_btnHelp";
			m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_lblDescription
			//
			resources.ApplyResources(m_lblDescription, "m_lblDescription");
			m_lblDescription.Name = "m_lblDescription";
			//
//.........这里部分代码省略.........
开发者ID:bbriggs,项目名称:FieldWorks,代码行数:101,代码来源:HeaderFooterSetupDlg.cs

示例7: InitializeComponent


//.........这里部分代码省略.........
			this._menuSaveProject = new System.Windows.Forms.ToolStripMenuItem();
			this._menuSaveProjectAs = new System.Windows.Forms.ToolStripMenuItem();
			this._menuCloseProject = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
			this._menuRecentProjects = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
			this._menuExit = new System.Windows.Forms.ToolStripMenuItem();
			this.projectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._menuRefresh = new System.Windows.Forms.ToolStripMenuItem();
			this._menuDeployQueue = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
			this._menuVerifyDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this._menuScanDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this._menuDeployDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
			this._menuConfiguration = new System.Windows.Forms.ToolStripMenuItem();
			this._menuSettings = new System.Windows.Forms.ToolStripMenuItem();
			this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._menuAbout = new System.Windows.Forms.ToolStripMenuItem();
			this._statusStrip = new System.Windows.Forms.StatusStrip();
			this._statusProgressBar = new System.Windows.Forms.ToolStripProgressBar();
			this._statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
			this._statusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
			this._activeConfiguration = new System.Windows.Forms.ToolStripDropDownButton();
			_bottomtabcontrol = new System.Windows.Forms.TabControl();
			_menuScanAll = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanOneHour = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanFourHours = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanYesterday = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanTwoDays = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanLastWeek = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanLastMonth = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanSince = new System.Windows.Forms.ToolStripMenuItem();
			_bottomtabcontrol.SuspendLayout();
			this._queuetab.SuspendLayout();
			this._fileQueueMenu.SuspendLayout();
			this._toolstripBottom.SuspendLayout();
			this._logtab.SuspendLayout();
			this._tabcontrol.SuspendLayout();
			this._filetab.SuspendLayout();
			this._splitHorizontal.Panel1.SuspendLayout();
			this._splitHorizontal.Panel2.SuspendLayout();
			this._splitHorizontal.SuspendLayout();
			this._splitVertical.Panel1.SuspendLayout();
			this._splitVertical.Panel2.SuspendLayout();
			this._splitVertical.SuspendLayout();
			this._folderTreeMenu.SuspendLayout();
			this._fileListMenu.SuspendLayout();
			this._databasetab.SuspendLayout();
			this._toolstripTop.SuspendLayout();
			this._scanMenu.SuspendLayout();
			this._mainmenu.SuspendLayout();
			this._statusStrip.SuspendLayout();
			this.SuspendLayout();
			// 
			// _bottomtabcontrol
			// 
			_bottomtabcontrol.Controls.Add(this._queuetab);
			_bottomtabcontrol.Controls.Add(this._logtab);
			_bottomtabcontrol.Dock = System.Windows.Forms.DockStyle.Fill;
			_bottomtabcontrol.Location = new System.Drawing.Point(0, 0);
			_bottomtabcontrol.Name = "_bottomtabcontrol";
			_bottomtabcontrol.SelectedIndex = 0;
			_bottomtabcontrol.Size = new System.Drawing.Size(988, 184);
			_bottomtabcontrol.TabIndex = 12;
			// 
开发者ID:pontusm,项目名称:Deployer,代码行数:67,代码来源:MainForm.Designer.cs

示例8: TabControlInsert

		public static void TabControlInsert(TabControl tc, TabPage tp, int index)
		{
			tc.SuspendLayout();
			// temp storage to rearrange tabs
			TabPage[] temp = new TabPage[tc.TabPages.Count+1];

			// copy pages in order and insert new page when needed
			for(int i=0; i<tc.TabPages.Count+1; i++)
			{
				if(i < index) temp[i] = tc.TabPages[i];
				else if(i == index) temp[i] = tp;
				else if(i > index) temp[i] = tc.TabPages[i-1];
			}
			
			// erase all tab pages
			while(tc.TabPages.Count > 0)
				tc.TabPages.RemoveAt(0);

			// add them back with new page inserted
			for(int i=0; i<temp.Length; i++)
				tc.TabPages.Add(temp[i]);

			tc.ResumeLayout();
		}
开发者ID:HosokawaKenchi,项目名称:powersdr-if-stage,代码行数:24,代码来源:common.cs

示例9: ShellTabScene

        public ShellTabScene()
        {
            _tabControl = new System.Windows.Forms.TabControl();
            TabPage tabShell = new System.Windows.Forms.TabPage();
            TabPage tabUI = new System.Windows.Forms.TabPage();
            _tabControl.SuspendLayout();

            // 
            // _tabControl1
            // 
            _tabControl.Controls.Add(tabShell);
            _tabControl.Controls.Add(tabUI);            
            _tabControl.SelectedIndex = 0;            
            _tabControl.TabIndex = 0;

            // 
            // tabShell
            // 
            tabShell.Name = "tabShell";
            tabShell.Padding = new System.Windows.Forms.Padding(3);
            tabShell.TabIndex = 0;
            tabShell.Text = "Shell";
            tabShell.UseVisualStyleBackColor = true;
            shell.Dock = DockStyle.Fill;
            tabShell.Controls.Add(shell);

            // 
            // tabUI
            //             
            tabUI.Name = "tabUI";
            tabUI.Padding = new System.Windows.Forms.Padding(3);
            tabUI.TabIndex = 1;
            tabUI.Text = "UI";
            tabUI.UseVisualStyleBackColor = true;
            _tabUI = tabUI;

            _tabControl.ResumeLayout();
        }
开发者ID:catyguan,项目名称:gamedev.platform,代码行数:38,代码来源:ShellScene.cs

示例10: InitializeComponent

 private void InitializeComponent()
 {
     ComponentResourceManager resources = new ComponentResourceManager(typeof(EnergyHarvesting_Demo_CP));
     tabControl1 = new TabControl();
     tabPage1 = new TabPage();
     groupBox1 = new GroupBox();
     viewRssi1 = new ViewRssi();
     groupBox5 = new GroupBox();
     viewEZMacNetwork1 = new ViewEZMacNetwork();
     tabPage2 = new TabPage();
     viewDataReceiver1 = new ViewDataReceiver();
     tabPage3 = new TabPage();
     groupBoxNodeInfo4 = new GroupBox();
     textBoxLight4 = new TextBox();
     label10 = new Label();
     textBoxTemp4 = new TextBox();
     label11 = new Label();
     label12 = new Label();
     textBoxVbat4 = new TextBox();
     groupBoxNodeInfo3 = new GroupBox();
     textBoxLight3 = new TextBox();
     label7 = new Label();
     textBoxTemp3 = new TextBox();
     label8 = new Label();
     label9 = new Label();
     textBoxVbat3 = new TextBox();
     groupBoxNodeInfo2 = new GroupBox();
     textBoxLight2 = new TextBox();
     label4 = new Label();
     textBoxTemp2 = new TextBox();
     label5 = new Label();
     label6 = new Label();
     textBoxVbat2 = new TextBox();
     groupBoxNodeInfo1 = new GroupBox();
     textBoxLight1 = new TextBox();
     label3 = new Label();
     textBoxTemp1 = new TextBox();
     label2 = new Label();
     label1 = new Label();
     textBoxVbat1 = new TextBox();
     groupBox2 = new GroupBox();
     groupBoxLandscape4 = new GroupBox();
     viewLandscape4 = new ViewLandscape();
     groupBoxLandscape2 = new GroupBox();
     viewLandscape2 = new ViewLandscape();
     groupBoxLandscape3 = new GroupBox();
     viewLandscape3 = new ViewLandscape();
     groupBoxLandscape1 = new GroupBox();
     viewLandscape1 = new ViewLandscape();
     tabControl1.SuspendLayout();
     tabPage1.SuspendLayout();
     groupBox1.SuspendLayout();
     groupBox5.SuspendLayout();
     tabPage2.SuspendLayout();
     tabPage3.SuspendLayout();
     groupBoxNodeInfo4.SuspendLayout();
     groupBoxNodeInfo3.SuspendLayout();
     groupBoxNodeInfo2.SuspendLayout();
     groupBoxNodeInfo1.SuspendLayout();
     groupBox2.SuspendLayout();
     groupBoxLandscape4.SuspendLayout();
     groupBoxLandscape2.SuspendLayout();
     groupBoxLandscape3.SuspendLayout();
     groupBoxLandscape1.SuspendLayout();
     base.SuspendLayout();
     tabControl1.Controls.Add(tabPage1);
     tabControl1.Controls.Add(tabPage2);
     tabControl1.Controls.Add(tabPage3);
     tabControl1.Location = new Point(0x1ec, 6);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new Size(430, 0x200);
     tabControl1.TabIndex = 13;
     tabPage1.BackColor = Color.White;
     tabPage1.Controls.Add(groupBox1);
     tabPage1.Controls.Add(groupBox5);
     tabPage1.Location = new Point(4, 0x16);
     tabPage1.Name = "tabPage1";
     tabPage1.Padding = new Padding(3);
     tabPage1.Size = new Size(0x1a6, 0x1e6);
     tabPage1.TabIndex = 0;
     tabPage1.Text = "Logic";
     groupBox1.BackColor = Color.White;
     groupBox1.Controls.Add(viewRssi1);
     groupBox1.Location = new Point(6, 0x143);
     groupBox1.Name = "groupBox1";
     groupBox1.Size = new Size(410, 0x9d);
     groupBox1.TabIndex = 11;
     groupBox1.TabStop = false;
     groupBox1.Text = "RSSI";
     viewRssi1.BackColor = Color.White;
     viewRssi1.Location = new Point(6, 0x13);
     viewRssi1.Name = "viewRssi1";
     viewRssi1.Size = new Size(0x18e, 0x84);
     viewRssi1.TabIndex = 7;
     groupBox5.BackColor = Color.White;
     groupBox5.Controls.Add(viewEZMacNetwork1);
     groupBox5.Location = new Point(6, 6);
     groupBox5.Name = "groupBox5";
     groupBox5.Size = new Size(410, 0x137);
//.........这里部分代码省略.........
开发者ID:x893,项目名称:WDS,代码行数:101,代码来源:EnergyHarvesting_Demo_CP.cs

示例11: GenerateGB


//.........这里部分代码省略.........
            comboBox_daydebt = new ComboBox();
            label22 = new Label();
            comboBox_cycledebt = new ComboBox();
            numericUpDown_volumedebt = new NumericUpDown();
            label19 = new Label();
            button3 = new Button();
            label20 = new Label();
            label21 = new Label();
            label24 = new Label();
            textBox_commentdebt = new TextBox();
            textBox_namedebt = new TextBox();
            button_stopdebt = new Button();
            button_updatedebt = new Button();
            button_newdebt = new Button();
            listBox_debt = new ListBox();
            tabPage_payout = new TabPage();
            dataGridView_payout = new DataGridView();
            button_savepayout = new Button();
            label25 = new Label();
            numericUpDown_payout = new NumericUpDown();
            tabPage_income = new TabPage();
            dataGridView_income = new DataGridView();
            button_saveincome = new Button();
            label26 = new Label();
            numericUpDown_income = new NumericUpDown();
            Column_payout_day = new DataGridViewTextBoxColumn();
            Column_payout_volume = new DataGridViewTextBoxColumn();
            Column_payout_comment = new DataGridViewTextBoxColumn();
            Column_income_day = new DataGridViewTextBoxColumn();
            Column_income_volume = new DataGridViewTextBoxColumn();
            Column_income_comment = new DataGridViewTextBoxColumn();
            contextMenuStrip1 = new ContextMenuStrip();
            ToolStripMenuItem_delete = new ToolStripMenuItem();
            contextMenuStrip1.SuspendLayout();
            GB.SuspendLayout();
            tabControl_month.SuspendLayout();
            tabPage_cash.SuspendLayout();
            groupbox_cash.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volume)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_rate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_cash)).BeginInit();
            tabPage_invest.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_invest)).BeginInit();
            groupBox_invest.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volumeinvest)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_rateinvest)).BeginInit();
            tabPage_debt.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_debt)).BeginInit();
            groupBox_debt.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volumedebt)).BeginInit();
            tabPage_payout.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(dataGridView_payout)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_payout)).BeginInit();
            tabPage_income.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(dataGridView_income)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_income)).BeginInit();
            SuspendLayout();
            //
            // groupBox_month
            //
            GB.Controls.Add(tabControl_month);

            GB.Size = new System.Drawing.Size(735, 255);
            GB.TabIndex = 1;
            GB.TabStop = false;
            //
开发者ID:solunar66,项目名称:ThePool,代码行数:67,代码来源:Main_Form.cs

示例12: loadinnercontrols

        public TabControl loadinnercontrols()
        {
            TabControl InnertabControl = new TabControl();
            TabPage AllData = new TabPage();
            TabPage NewData = new TabPage();

            InnertabControl = new System.Windows.Forms.TabControl();
            AllData = new TabPage();
            NewData = new System.Windows.Forms.TabPage();
            InnertabControl.SuspendLayout();

            //
            // InnertabControl
            //
            InnertabControl.Alignment = System.Windows.Forms.TabAlignment.Bottom;
            InnertabControl.Controls.Add(AllData);
            InnertabControl.Controls.Add(NewData);
            InnertabControl.Dock = System.Windows.Forms.DockStyle.Fill;
            InnertabControl.Location = new Point(0, 0);
            InnertabControl.Multiline = true;
            InnertabControl.Name = "InnertabControl";
            InnertabControl.SelectedIndex = 0;
            InnertabControl.Size = new System.Drawing.Size(521, 306);
            InnertabControl.TabIndex = 0;
            //
            // AllData
            //
            AllData.Location = new Point(4, 4);
            AllData.Name = "AllData";
            AllData.Padding = new System.Windows.Forms.Padding(3);
            AllData.Size = new System.Drawing.Size(513, 280);
            AllData.TabIndex = 0;
            AllData.Text = "All Data";
            AllData.UseVisualStyleBackColor = true;
            //
            // NewData
            //
            NewData.Location = new Point(4, 4);
            NewData.Name = "NewData";
            NewData.Padding = new System.Windows.Forms.Padding(3);
            NewData.Size = new System.Drawing.Size(513, 280);
            NewData.TabIndex = 1;
            NewData.Text = "New Data";
            NewData.UseVisualStyleBackColor = true;

            return InnertabControl;
        }
开发者ID:McKabue,项目名称:Database_Design,代码行数:47,代码来源:DataEntryForm.cs

示例13: selectChannel

        /// <summary>
        /// To handle files
        /// </summary>
        /// <param name="p"></param>
        public selectChannel(string p)
        {
            try
            {
                TabControl streamParameterTabControl = new TabControl();
                int maximumX = 0;
                int maximumY = 0;
                TabPage[] tabStream = new TabPage[Globals.limitPCAP.Keys.Count];
                int pktCnt = 0;
                foreach (int stream in Globals.limitPCAP.Keys)
                {
                    string[] streamFiles = Array.FindAll(Globals.fileDump_list, element => element.Contains(String.Format("{0}_", stream)));
                    List<string> parametersList = new List<string>(streamFiles.ToList());
                    CheckBox[] dataSelect = new CheckBox[streamFiles.Length];
                    System.Windows.Forms.Label[] dataLabels = new System.Windows.Forms.Label[streamFiles.Length];
                    TableLayoutPanel[] dataColumns = new TableLayoutPanel[streamFiles.Length / 20 + 1];
                    FlowLayoutPanel flow = new FlowLayoutPanel();
                    flow.FlowDirection = FlowDirection.LeftToRight;
                    tabStream[pktCnt] = new TabPage();
                    for (int i = 0; i != streamFiles.Length; i++)
                    {
                        string streamString = stream.ToString();
                        var parName = parametersList[i].Substring((streamString.Length + 1) + (parametersList[i].IndexOf(String.Format("{0}_", stream))));
                        parName = parName.Substring(0, parName.LastIndexOf(".dat"));
                        int whichColumn = i / 20;
                        dataLabels[i] = new System.Windows.Forms.Label();
                        dataLabels[i].Name = i.ToString();
                        dataLabels[i].AutoSize = false;
                        dataLabels[i].Text = String.Format("{0}", parName.ToString());
                        dataLabels[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);

                        dataLabels[i].Size = dataLabels[i].PreferredSize;
                        dataSelect[i] = new CheckBox();
                        dataSelect[i].Name = String.Format("{0}", parName.ToString());
                        dataSelect[i].AutoSize = false;
                        dataSelect[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);
                        //Globals.dataHolders[i].TextAlign = ContentAlignment.BottomLeft;
                        dataSelect[i].Size = dataSelect[i].PreferredSize;

                        if (i % 20 == 0)
                        {
                            dataColumns[whichColumn] = new TableLayoutPanel();
                            dataColumns[whichColumn].ColumnCount = 2;
                            dataColumns[whichColumn].RowCount = 20;
                        }
                        dataColumns[whichColumn].Controls.Add(dataLabels[i]);
                        dataColumns[whichColumn].Controls.Add(dataSelect[i]);
                        dataColumns[whichColumn].Size = dataColumns[whichColumn].PreferredSize;
                        if (dataColumns[whichColumn].Size.Height > maximumY) maximumY = dataColumns[whichColumn].Size.Height;
                        //if (tabStream[pktCnt].Size.Width > maximumX) maximumX = tabStream[pktCnt].Size.Width;
                    }
                    for (int i = 0; i != dataColumns.Length; i++)
                    {
                        flow.Controls.Add(dataColumns[i]);
                    }
                    flow.SuspendLayout();
                    flow.ResumeLayout(false);
                    //tabStream[pktCnt].AutoScroll = true;
                    //tabStream[pktCnt].AutoScrollPosition = new System.Drawing.Point(349, 0);
                    flow.Size = flow.PreferredSize;
                    tabStream[pktCnt].Controls.Add(flow);
                    tabStream[pktCnt].Name = stream.ToString();
                    tabStream[pktCnt].Text = String.Format("ID={0}", stream);
                    tabStream[pktCnt].Size = tabStream[pktCnt].PreferredSize;
                    if (tabStream[pktCnt].Size.Height > maximumY) maximumY = tabStream[pktCnt].Size.Height;
                    if (tabStream[pktCnt].Size.Width > maximumX) maximumX = tabStream[pktCnt].Size.Width;
                    pktCnt++;
                }
                foreach (TabPage stream in tabStream)
                {
                    streamParameterTabControl.Controls.Add(stream);
                }
                streamParameterTabControl.SuspendLayout(); streamParameterTabControl.ResumeLayout(false);
                streamParameterTabControl.Size = new Size(maximumX + 5, maximumY + 15);//streamParameterTabControl.PreferredSize;
                //this.Size = this.PreferredSize;
                FlowLayoutPanel selectionFlow = new FlowLayoutPanel();
                selectionFlow.FlowDirection = FlowDirection.LeftToRight;
                selectionFlow.Controls.Add(streamParameterTabControl);
                //streamParameterTabControl.Dock = DockStyle.Fill;
                Button btnOK = new Button();
                btnOK.Text = "Draw";
                btnOK.Click += new EventHandler(selectChannelClick);
                selectionFlow.Controls.Add(btnOK);
                Button btnAll = new Button();
                btnAll.Text = "All";
                btnAll.Click += new EventHandler(selectAllClick);
                selectionFlow.Controls.Add(btnAll);

                selectionFlow.Size = selectionFlow.PreferredSize;
                selectionFlow.SuspendLayout();
                selectionFlow.ResumeLayout(false);
                this.Controls.Add(selectionFlow);
                this.Size = this.PreferredSize;//new Size(maximumX + 50, maximumY + 45);
                this.Text = "Select Channels to Plot";
                this.SuspendLayout();
                this.ResumeLayout(false);
//.........这里部分代码省略.........
开发者ID:rZeton,项目名称:plot-inet-x,代码行数:101,代码来源:MainWindow.cs

示例14: 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);
//.........这里部分代码省略.........
开发者ID:Moones,项目名称:OpenEnsage,代码行数:101,代码来源:Main.cs

示例15: SuspendLayout


//.........这里部分代码省略.........
     lbl_Fechat = new System.Windows.Forms.Label();
     combo_Almacent = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentat = new System.Windows.Forms.Label();
     comboBox_ProductoTerminado = new System.Windows.Forms.ComboBox();
     lbl_PrecioComprat = new System.Windows.Forms.Label();
     txt_Lotet = new System.Windows.Forms.TextBox();
     lbl_Existenciat = new System.Windows.Forms.Label();
     txt_Existenciat = new System.Windows.Forms.TextBox();
     lbl_Lotet = new System.Windows.Forms.Label();
     txt_PrecioComprat = new System.Windows.Forms.TextBox();
     lbl_Producto = new System.Windows.Forms.Label();
     txt_PrecioVentat = new System.Windows.Forms.TextBox();
     dateTime_ProductoTerminado = new System.Windows.Forms.DateTimePicker();
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     controlDeProductosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nivelMaxMinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ordenDePeladoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     pic_Proveedor = new System.Windows.Forms.PictureBox();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     tabControl1.SuspendLayout();
     tab_MateriaPrima.SuspendLayout();
     groupBox_ListaMateriaPrimam.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrima)).BeginInit();
     groupBox_MateriaPrimam.SuspendLayout();
     tab_MateriaPrimaP.SuspendLayout();
     groupBox_ListaMateriaPrimap.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrimaP)).BeginInit();
     groupBox_MateriaPrimap.SuspendLayout();
     tab_ProductoElaborado.SuspendLayout();
     groupBox_ListaProductoElaborado.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoElaborado)).BeginInit();
     groupBox_ProductoElaborado.SuspendLayout();
     tab_ProductoIndirecto.SuspendLayout();
     groupBox_ListaProductoIndirecto.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoIndirecto)).BeginInit();
     groupBox_ProductoIndirecto.SuspendLayout();
     tab_ProductoTerminado.SuspendLayout();
     groupBox_ListaProductoTerminado.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoTerminado)).BeginInit();
     groupBox_ProductoTerminado.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // tabControl1
     //
     tabControl1.Controls.Add(tab_MateriaPrima);
     tabControl1.Controls.Add(tab_MateriaPrimaP);
     tabControl1.Controls.Add(tab_ProductoElaborado);
     tabControl1.Controls.Add(tab_ProductoIndirecto);
     tabControl1.Controls.Add(tab_ProductoTerminado);
开发者ID:josericardo-ac,项目名称:Shajobe,代码行数:67,代码来源:Inventario.cs


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