C#Winform动态调整FlowLayoutPanel的控件中位置

来源:互联网 发布:java 素数的判断方法 编辑:程序博客网 时间:2024/06/05 05:05
            this.flowLayoutPanel1.Controls.SetChildIndex(this.button1, 1);            this.flowLayoutPanel1.Controls.SetChildIndex(this.listView1, 2);            this.flowLayoutPanel1.Controls.SetChildIndex(this.button2, 3);            this.flowLayoutPanel1.Controls.SetChildIndex(this.button3, 4);            this.flowLayoutPanel1.Controls.SetChildIndex(this.button4, 5);

1 0