CreateTable(sniffer);\r
SuspendLayout();\r
CreateLabels();\r
+ ResizeLabels();\r
SetRecords();\r
ResumeLayout();\r
}\r
};\r
_labelList.Add(labels);\r
labels.Arrange(this, CustomColors.ColumnColors.BrightFirst(i));\r
+ labels.Scale();\r
labels.Move(AutoScrollPosition);\r
}\r
\r
public void ApplyResize()\r
{\r
- var width = Width - SystemInformation.VerticalScrollBarWidth - 2;\r
SuspendLayout();\r
+ ResizeLabels();\r
+ ResumeLayout();\r
+ }\r
+\r
+ private void ResizeLabels()\r
+ {\r
+ var width = Width - SystemInformation.VerticalScrollBarWidth - 2;\r
foreach (var labels in _labelList)\r
labels.BackPanel.Width = width;\r
- ResumeLayout();\r
}\r
\r
private void SetRecords()\r