锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久国产亚洲精品,国产精品无码久久久久久,久久这里只精品99re66http://m.shnenglu.com/ngaut/category/10735.htmlasm/c/c++/......zh-cnSun, 31 May 2009 10:07:20 GMTSun, 31 May 2009 10:07:20 GMT60.net winform ListView鎿嶄綔http://m.shnenglu.com/ngaut/archive/2009/05/31/86276.htmlngautngautSun, 31 May 2009 08:25:00 GMThttp://m.shnenglu.com/ngaut/archive/2009/05/31/86276.htmlhttp://m.shnenglu.com/ngaut/comments/86276.htmlhttp://m.shnenglu.com/ngaut/archive/2009/05/31/86276.html#Feedback0http://m.shnenglu.com/ngaut/comments/commentRss/86276.htmlhttp://m.shnenglu.com/ngaut/services/trackbacks/86276.htmlprivate void Form1_Load(object sender, EventArgs e)
        
{
            CreateMyListView();
        }


        
private void CreateMyListView()
        
{
            
// Create a new ListView control.
            ListView listView1 = new ListView();
            listView1.Bounds 
= new Rectangle(new Point(1010), new Size(300200));

            
// Set the view to show details.
            listView1.View = View.Details;
            
// Allow the user to edit item text.
            listView1.LabelEdit = true;
            
// Allow the user to rearrange columns.
            listView1.AllowColumnReorder = true;

            
// Display check boxes. 鏄惁鏄劇ず澶嶉夋
            listView1.CheckBoxes = true;
            
// Select the item and subitems when selection is made. 鏄惁閫変腑鏁磋
            listView1.FullRowSelect = true;
            
// Display grid lines. 鏄惁鏄劇ず緗戞牸
            listView1.GridLines = true;
            
// Sort the items in the list in ascending order. 鍗囧簭榪樻槸闄嶅簭
            listView1.Sorting = SortOrder.Ascending;

            
// Create three items and three sets of subitems for each item.
            ListViewItem item1 = new ListViewItem("item1"0);
            
// Place a check mark next to the item. 澶嶉夋鏄惁閫変腑
            item1.Checked = true;
            item1.SubItems.Add(
"1");
            item1.SubItems.Add(
"2");
            item1.SubItems.Add(
"3");
            ListViewItem item2 
= new ListViewItem("item2"1);
            item2.SubItems.Add(
"4");
            item2.SubItems.Add(
"5");
            item2.SubItems.Add(
"6");
            ListViewItem item3 
= new ListViewItem("item3"0);
            
// Place a check mark next to the item.
            item3.Checked = true;
            item3.SubItems.Add(
"7");
            item3.SubItems.Add(
"8");
            item3.SubItems.Add(
"9");

            
// Create columns for the items and subitems.
            listView1.Columns.Add("Item Column"-2, HorizontalAlignment.Left);
            listView1.Columns.Add(
"Column 2"-2, HorizontalAlignment.Left);
            listView1.Columns.Add(
"Column 3"-2, HorizontalAlignment.Left);
            listView1.Columns.Add(
"Column 4"-2, HorizontalAlignment.Center);

            
//Add the items to the ListView.
            listView1.Items.AddRange(new ListViewItem[] { item1, item2, item3 });

            
// Create two ImageList objects.
            ImageList imageListSmall = new ImageList();
            ImageList imageListLarge 
= new ImageList();

            
// Initialize the ImageList objects with bitmaps.
            imageListSmall.Images.Add(Bitmap.FromFile("C:\\MySmallImage1.bmp"));
            imageListSmall.Images.Add(Bitmap.FromFile(
"C:\\MySmallImage2.bmp"));
            imageListLarge.Images.Add(Bitmap.FromFile(
"C:\\MyLargeImage1.bmp"));
            imageListLarge.Images.Add(Bitmap.FromFile(
"C:\\MyLargeImage2.bmp"));

            
//Assign the ImageList objects to the ListView.
            listView1.LargeImageList = imageListLarge;
            listView1.SmallImageList 
= imageListSmall;

            
//澶у浘鏍?br>            //listView1.View = View.LargeIcon;

            
//灝忓浘鏍?br>            //listView1.View = View.SmallIcon;

            
//鍒楄〃
            
//listView1.View = View.List;

            
//璇︾粏淇℃伅
            listView1.View = View.Details;

            
// Add the ListView to the control collection.
            this.Controls.Add(listView1);
        }

    }


ngaut 2009-05-31 16:25 鍙戣〃璇勮
]]>
久久精品无码专区免费东京热| 久久丝袜精品中文字幕| 97久久国产综合精品女不卡| 囯产精品久久久久久久久蜜桃| 少妇久久久久久被弄高潮| 久久精品国产亚洲AV无码麻豆 | 综合久久国产九一剧情麻豆 | 亚洲AV无码久久精品狠狠爱浪潮| 亚洲国产精品久久电影欧美| www.久久99| 亚洲国产成人精品91久久久| 亚洲狠狠婷婷综合久久久久| 久久99精品久久久久久水蜜桃| 久久亚洲高清综合| 久久国产免费观看精品| 久久人人爽人人爽人人片av麻烦 | 久久激情亚洲精品无码?V| 97视频久久久| 久久激情亚洲精品无码?V| 国产成人精品免费久久久久| 久久影院午夜理论片无码| 久久综合九色综合久99| 亚洲精品蜜桃久久久久久| 亚洲精品乱码久久久久久蜜桃| 国产精品久久久久久久久鸭 | 久久久噜噜噜久久中文字幕色伊伊 | 青青草国产97免久久费观看| 精品久久香蕉国产线看观看亚洲| 国产69精品久久久久APP下载 | 亚洲精品99久久久久中文字幕| 91久久精品无码一区二区毛片| 无码国产69精品久久久久网站| 久久人妻少妇嫩草AV蜜桃| 国产精品久久一区二区三区| 久久精品亚洲精品国产欧美| 99久久国产综合精品五月天喷水| 久久精品国产精品亚洲人人 | 精品久久久久久久久久久久久久久| 日韩精品久久久久久免费| 久久99国内精品自在现线| 久久夜色精品国产噜噜噜亚洲AV |