Пофиксил изменение размеров CheckedList
This commit is contained in:
parent
f08da93bb8
commit
ca570ec176
@ -36,20 +36,22 @@
|
|||||||
checkedListBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
checkedListBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
checkedListBox.CheckOnClick = true;
|
checkedListBox.CheckOnClick = true;
|
||||||
checkedListBox.FormattingEnabled = 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.Name = "checkedListBox";
|
||||||
checkedListBox.Size = new Size(276, 148);
|
checkedListBox.Size = new Size(509, 400);
|
||||||
checkedListBox.TabIndex = 0;
|
checkedListBox.TabIndex = 0;
|
||||||
checkedListBox.ItemCheck += checkedListBox_ItemCheck;
|
checkedListBox.ItemCheck += checkedListBox_ItemCheck;
|
||||||
//
|
//
|
||||||
// UserControlCheckedList
|
// UserControlCheckedList
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
BackColor = Color.Firebrick;
|
BackColor = Color.Firebrick;
|
||||||
Controls.Add(checkedListBox);
|
Controls.Add(checkedListBox);
|
||||||
|
Margin = new Padding(3, 4, 3, 4);
|
||||||
Name = "UserControlCheckedList";
|
Name = "UserControlCheckedList";
|
||||||
Size = new Size(318, 183);
|
Size = new Size(527, 415);
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user