убрали баг с контролами

This commit is contained in:
kotcheshir73 2021-04-02 10:16:22 +04:00
parent 2ce5f9b653
commit e17b723899
3 changed files with 11 additions and 7 deletions

View File

@ -24,6 +24,8 @@ namespace DesktopTools.Controls
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.SuspendLayout();
this.ResumeLayout(false);
} }
#endregion #endregion

View File

@ -23,6 +23,8 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.SuspendLayout();
this.ResumeLayout(false);
} }
#endregion #endregion

View File

@ -36,8 +36,8 @@ namespace DesktopTools.Controls
this.panelContainer = new System.Windows.Forms.Panel(); this.panelContainer = new System.Windows.Forms.Panel();
this.tabControl = new System.Windows.Forms.TabControl(); this.tabControl = new System.Windows.Forms.TabControl();
this.tabPageMain = new System.Windows.Forms.TabPage(); this.tabPageMain = new System.Windows.Forms.TabPage();
this.tabControl.SuspendLayout();
this.toolStripActions.SuspendLayout(); this.toolStripActions.SuspendLayout();
this.tabControl.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// toolStripActions // toolStripActions
@ -109,21 +109,21 @@ namespace DesktopTools.Controls
this.tabPageMain.Text = "Свойства элемента"; this.tabPageMain.Text = "Свойства элемента";
this.tabPageMain.UseVisualStyleBackColor = true; this.tabPageMain.UseVisualStyleBackColor = true;
// //
// AbstractControlViewEntityElement // MainControlViewEntityElement
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tabControl); this.Controls.Add(this.tabControl);
this.Controls.Add(this.panelContainer); this.Controls.Add(this.panelContainer);
this.Controls.Add(this.toolStripActions); this.Controls.Add(this.toolStripActions);
this.Name = "AbstractControlViewEntityElement"; this.Name = "MainControlViewEntityElement";
this.Size = new System.Drawing.Size(594, 510); this.Size = new System.Drawing.Size(594, 510);
this.toolStripActions.ResumeLayout(false); this.toolStripActions.ResumeLayout(false);
this.toolStripActions.PerformLayout(); this.toolStripActions.PerformLayout();
this.tabControl.ResumeLayout(false); this.tabControl.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
this.SuspendLayout();
} }
#endregion #endregion