设置形式的背景图象与按钮的 [英] Set background image of form with button

查看:58
本文介绍了设置形式的背景图象与按钮的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改表单的背景图片,但它似乎不起作用,这是我尝试的:

 System :: ComponentModel :: ComponentResourceManager ^ resources =(gcnew System :: ComponentModel :: ComponentResourceManager(RosterBrow :: typeid)); 

RosterBrow-> BackgroundImage = imageList1-> Images [0];


RosterBrow是表格的名称。

解决方案

请尝试此页面上的步骤:


http://msdn.microsoft.com/en-us/library/dff9f95f.aspx


I am trying to change the Background image of the Form but it does not seem to work, here is what I tried:

System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(RosterBrow::typeid));
							
RosterBrow->BackgroundImage = imageList1->Images[0];

RosterBrow is the name of the form.

解决方案

 please try the steps on this page:

http://msdn.microsoft.com/en-us/library/dff9f95f.aspx


这篇关于设置形式的背景图象与按钮的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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