背景图片LISTVIEW C# [英] Backkground Image LISTVIEW C#

查看:101
本文介绍了背景图片LISTVIEW C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ENG:
大家好,
我对Listview的背景图片的显示有疑问.
当直接从主窗口启动包含我的列表视图的窗口时,将显示列表视图的背景图像.
但是,当我从另一个winform启动该窗口时,不会显示背景图像.
有人知道为什么我会有这个显示问题吗?
我强调要手动创建列表视图,并且背景图像位于与应用程序.exe相同的目录中.
感谢您的关注和帮助.

FR:
Bonjouràtous,
喜爱的图像的背景图片(BackgroundImage).
Lorsque lefenêtrecontenant mes listviews estlancéeen main depuis le main,les image de fond s'afichant Correction. Mais lorsque cettefenêtreestlancéedepuis une autre winform,列表图像的显示.
Quelqu'un saurait pourquoi j'ai dysfonctionnement吗?
可以在清单视图中查看和执行图像的可执行文件.

ENG:
Hello everybody,
I have a problem about the display of the background image of my Listview.
When the window that contains my listviews is launch directly from the main, the backgroung images of listviews are displayed.
But, when I launch that window from another winform, the background images are not displayed.
Do anyone know why do I have this display problem ?
I underline that I create my listviews manually, and the background images are located in the same directory that the .exe of my application.
Thank for your attention and your help.

FR:
Bonjour à tous,
J''ai un problème d''affichage des images de fond (BackgroundImage) de mes listsViews.
Lorsque le fenêtre contenant mes listviews est lancée en direct depuis le main, les images de fond s''affichent correctement. Mais lorsque cette fenêtre est lancée depuis une autre winform, les images de fond des listviews ne s''affichent pas.
Quelqu''un saurait pourquoi j''ai dysfonctionnement ?
Je précise que je crée manuellement les listviews, et que les images de fond sont situées dans le même répertoire que l''exécutable de mon logiciel.
Merci de votre attention et de votre aide.

推荐答案

有关在form_load事件上通过代码分配listview的background属性的信息
what about assigning the background property of the listview throug on code on form_load event


这篇关于背景图片LISTVIEW C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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