imagelist怎么从外面导入图片啊 imagelist怎么从外面导入图片啊 就是怎么上传图片到imagelist里面啊?不是在属性那里设置的那种,是可以通过路径增加的那种,怎么弄啊? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Image img = Image.FromFile("1237836498587.jpg"); imageList1.ImageSize = new Size(256,256); imageList1.ColorDepth = ColorDepth.Depth32Bit; imageList1.Images.Add(img); pictureBox1.Image = imageList1.Images[0]; 我是VS2005 是C/S结构 好像没有image控件啊 Image是类,位于System.Drawing命名空间中。 using System.Drawing;lz查一下msdn就都有了 哦 知道了 那怎么设置inde和key呢? 我打开image中的选择图像 看不到新加进去的图片啊 我打开image中的选择图像 看不到新加进去的图片啊另外如何设置index或者key啊? 你在哪里打开的看不见,程序运行时加进去的,要想看到的话,需要你自己把它们显示出来的。index不能设置的,key可以在向ImageList添加图像时指定:imageList1.Images.Add("iskey",image1); 或者添加完了图像使用SetKeyName方法指定Key。 右击imagelist 选择图像里面看不见 是不是虽然看不见 但是已经加进去了 求窗体设计代码 c# 删除oracle数据库中的数据出现界面卡死 如何制作c#windows应用程序的安装部署? 求助,关于在.net在数据集里多表更新的问题. 关于实现插入图片功能 急!!!! C#中怎样运行外部exe文件? 讨论有关VSS 6.0!!!!! 关于VS.NET2003的问题. 集合类调用clone()方法深度复制何时结束递归 ----------大家平常都做些什么项目啊--------- vs2005新建类时自动添加作者版权信息应该怎么弄?
imageList1.ImageSize = new Size(256,256);
imageList1.ColorDepth = ColorDepth.Depth32Bit;
imageList1.Images.Add(img);
pictureBox1.Image = imageList1.Images[0];
我是VS2005 是C/S结构 好像没有image控件啊
另外如何设置index或者key啊?