listView纵向显示 修改listview View属性为SmallIcon即可。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 改成samllIcon也不能全部竖着显示,结果变成1 2 31 2 31 2 31 21 2这种样子,而我需要的是111111222222333 不可能啊,我刚试过了,没有你所说的现象。以下是初始化的代码:this.listView1.Location = new System.Drawing.Point(24, 40);this.listView1.Name = "listView1";this.listView1.Size = new System.Drawing.Size(200, 200);this.listView1.SmallImageList = this.imageList1;this.listView1.TabIndex = 1;this.listView1.View = System.Windows.Forms.View.SmallIcon; 你把你的listview初始化的代码贴出来让我看看 this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left;this.listView1.Location = new System.Drawing.Point(0, 0);this.listView1.Name = "listView1";this.listView1.RightToLeft = System.Windows.Forms.RightToLeft.No;this.listView1.Size = new System.Drawing.Size(160, 273);this.listView1.SmallImageList = this.imageList1;this.listView1.TabIndex = 1;this.listView1.View = System.Windows.Forms.View.SmallIcon现在是横着竖着都有滚动条, 你把this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left;改为this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Top; 在C#中怎么让两个listview里的数据保持一致 新手求详解。谢谢!! 请帮帮忙了?????????? 由于目标机器积极拒绝,无法连接 gridview逐行读取数据并修改该行字体 怎么释放ActiveX的资源呀? C#中如何获取资源文件中的Excle文件? 一个再简单不过的问题 谢谢高手哥哥指教 如何把一个VC代码转换到 c# 中来? 流导出excel在单元格内加换行符 我们为什么不开发一个这样的程序,能把机器码(*.exe文件)翻译成高级语言代码?? 在DataGrid修改数据后,如何保存至数据库 求救,分不够再加,一个一直没搞清楚的问题!
1 2 3
1 2 3
1 2 3
1 2
1 2
这种样子,而我需要的是
1
1
1
1
1
1
2
2
2
2
2
2
3
3
3
以下是初始化的代码:
this.listView1.Location = new System.Drawing.Point(24, 40);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(200, 200);
this.listView1.SmallImageList = this.imageList1;
this.listView1.TabIndex = 1;
this.listView1.View = System.Windows.Forms.View.SmallIcon;
this.listView1.Location = new System.Drawing.Point(0, 0);
this.listView1.Name = "listView1";
this.listView1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.listView1.Size = new System.Drawing.Size(160, 273);
this.listView1.SmallImageList = this.imageList1;
this.listView1.TabIndex = 1;
this.listView1.View = System.Windows.Forms.View.SmallIcon
现在是横着竖着都有滚动条,
this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Left;
改为
this.listView1.Alignment = System.Windows.Forms.ListViewAlignment.Top;