设计表格 [英] Desig Form

查看:83
本文介绍了设计表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有用于显示图片的列表视图的表单.
我希望我的表单与Windows相同.
在Windows XP中,当包含图片时,在botton窗口中显示背景图片.
请帮我. :rose :: rose :: rose:

I has a form that has a listview for display picture.
I want my form same to form windows.
In Windows form XP when it include of Picture ,in botton windows display a background''s picture.
please help me. :rose::rose::rose:

推荐答案

您可以使用ListView.SelectedItems属性来告诉您选择了哪个图片.如果只有一个,则将图像从ListView.SelectedIndexChanged事件放入PictureBox(或在Paint事件中自行绘制).
You can use the ListView.SelectedItems property to tell which picture is selected. If there is only one, then put the image into a PictureBox (or paint it yourself in the Paint event) from the ListView.SelectedIndexChanged event.


这篇关于设计表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆