|
@@ -54,14 +54,17 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
|
|
|
flowLayoutPanel.WrapContents = true;
|
|
|
flowLayoutPanel.Dock = DockStyle.Fill;
|
|
|
flowLayoutPanel.AutoScroll = true;
|
|
|
- flowLayoutPanel.Padding = new Padding(15);
|
|
|
+ flowLayoutPanel.Padding = new Padding(20, 10, 20, 25);
|
|
|
panel2.Controls.Add(flowLayoutPanel);
|
|
|
for (int i = 0; i < ElementList.Rows.Count; i++)
|
|
|
{
|
|
|
// 添加控件到 FlowLayoutPanel 中
|
|
|
CheckBox box1 = new CheckBox();
|
|
|
box1.Text = ElementList.Rows[i]["StrName"].ToString();
|
|
|
- box1.Width = flowLayoutPanel.Width - 30;
|
|
|
+ box1.Width = flowLayoutPanel.Width - 40;
|
|
|
+ box1.Height = 25;
|
|
|
+ Font font = new Font("宋体", 15, FontStyle.Regular);
|
|
|
+ box1.Font = font;
|
|
|
if (CheckTheOptions.Count == 0)
|
|
|
{
|
|
|
if (!isRemove)
|
|
@@ -79,6 +82,11 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
|
|
|
}
|
|
|
flowLayoutPanel.Controls.Add(box1);
|
|
|
}
|
|
|
+ Panel panel = new Panel();
|
|
|
+ panel.Size = new Size(10, 10);
|
|
|
+ panel.BackColor = Color.Transparent;
|
|
|
+ flowLayoutPanel.Controls.Add(panel);
|
|
|
+
|
|
|
|
|
|
this.checkBox_selall.CheckedChanged -= new System.EventHandler(this.checkBox_selall_CheckedChanged);
|
|
|
checkBox_selall.Checked = true;
|