diff --git a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityElement.Designer.cs b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityElement.Designer.cs index 5bcd080..923e2e3 100644 --- a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityElement.Designer.cs +++ b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityElement.Designer.cs @@ -24,6 +24,8 @@ namespace DesktopTools.Controls /// private void InitializeComponent() { + this.SuspendLayout(); + this.ResumeLayout(false); } #endregion diff --git a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs index e301259..0e5acfa 100644 --- a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs +++ b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs @@ -23,6 +23,8 @@ /// private void InitializeComponent() { + this.SuspendLayout(); + this.ResumeLayout(false); } #endregion diff --git a/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityElement.Designer.cs b/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityElement.Designer.cs index 6fa48da..ddb0f52 100644 --- a/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityElement.Designer.cs +++ b/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityElement.Designer.cs @@ -36,16 +36,16 @@ namespace DesktopTools.Controls this.panelContainer = new System.Windows.Forms.Panel(); this.tabControl = new System.Windows.Forms.TabControl(); this.tabPageMain = new System.Windows.Forms.TabPage(); - this.tabControl.SuspendLayout(); this.toolStripActions.SuspendLayout(); + this.tabControl.SuspendLayout(); this.SuspendLayout(); // // toolStripActions // this.toolStripActions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripButtonSave, - this.toolStripButtonReload, - this.toolStripButtonClose}); + this.toolStripButtonSave, + this.toolStripButtonReload, + this.toolStripButtonClose}); this.toolStripActions.Location = new System.Drawing.Point(0, 0); this.toolStripActions.Name = "toolStripActions"; this.toolStripActions.Size = new System.Drawing.Size(594, 25); @@ -109,21 +109,21 @@ namespace DesktopTools.Controls this.tabPageMain.Text = "Свойства элемента"; this.tabPageMain.UseVisualStyleBackColor = true; // - // AbstractControlViewEntityElement + // MainControlViewEntityElement // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tabControl); this.Controls.Add(this.panelContainer); this.Controls.Add(this.toolStripActions); - this.Name = "AbstractControlViewEntityElement"; + this.Name = "MainControlViewEntityElement"; this.Size = new System.Drawing.Size(594, 510); this.toolStripActions.ResumeLayout(false); this.toolStripActions.PerformLayout(); this.tabControl.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); - this.SuspendLayout(); + } #endregion