Пофиксил изменение размеров CheckedList

This commit is contained in:
Никита Потапов 2024-11-27 20:33:06 +04:00
parent f08da93bb8
commit ca570ec176

View File

@ -36,20 +36,22 @@
checkedListBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
checkedListBox.CheckOnClick = true;
checkedListBox.FormattingEnabled = true;
checkedListBox.Location = new Point(20, 15);
checkedListBox.Location = new Point(9, 8);
checkedListBox.Margin = new Padding(3, 4, 3, 4);
checkedListBox.Name = "checkedListBox";
checkedListBox.Size = new Size(276, 148);
checkedListBox.Size = new Size(509, 400);
checkedListBox.TabIndex = 0;
checkedListBox.ItemCheck += checkedListBox_ItemCheck;
//
// UserControlCheckedList
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = Color.Firebrick;
Controls.Add(checkedListBox);
Margin = new Padding(3, 4, 3, 4);
Name = "UserControlCheckedList";
Size = new Size(318, 183);
Size = new Size(527, 415);
ResumeLayout(false);
}