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

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>
private void InitializeComponent()
{
this.SuspendLayout();
this.ResumeLayout(false);
}
#endregion

View File

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

View File

@ -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