private void FormListView_Load(object sender, EventArgs e)
{
SplitContainer spc = new SplitContainer();
spc.Size = new System.Drawing.Size(123,123);
ListView liv = new ListView();
liv.Size = new Size(130,140);
liv.Location = new Point(139,130);//出现的位置
liv.Name = "LivShow";
this.Controls.Add(liv);
this.Controls.Add(spc);
}
Winfrom动态添加控件,不使用拖
最新推荐文章于 2023-08-28 19:12:40 发布