问:消息框图形 [英] Q: Message Box graphics
问题描述
嗨
我想知道是否有人可以告诉我如何找到
中使用的图形等
MessageBoxIcon.Warning和MessageBoxIcon.Information
原因是我正在为应用程序编写自己的自定义消息
即不使用MessageBox但我仍然想使用相同的Windows
图形。我顺便使用XP专业版。
提前致谢
Geoff
" Geoff" <无******** @ email.com> kirjoitti
viestiss?:9d ******************** @ pipex.net ...嗨
我想知道是否有人能告诉我如何找到
中的图形,如MessageBoxIcon.Warning和MessageBoxIcon.Information
应用程序编写自己的自定义消息,即不使用MessageBox但我仍然想使用相同的Windows图形。我顺便使用XP专业版。
看看System.Drawing.SystemIcons。你会在那里找到那些图标。
Teemu
" Geoff" <无******** @ email.com> schrieb:我想知道是否有人能告诉我如何找到
中的图形,如MessageBoxIcon.Warning和MessageBoxIcon.Information
查看''SystemIcons''。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http://classicvb.org/petition/>
大家好
是的,这有效,但图标周围有黑边。我在表单上放置了
a PictureBox(它本身就是一个位图背景)并在
加载事件中使用:
PictureBox1.SystemIcons.Information.ToBitmap
你能建议我如何摆脱优势吗?
Geoff
" Teemu" < TS ***** @ hotmail.com>在消息中写道
news:ds ********** @ phys-news4.kolumbus.fi ...
Geoff ; <无******** @ email.com> kirjoitti
viestiss?:9d ******************** @ pipex.net ...嗨
我想知道是否有人能告诉我如何找到
中的图形,如MessageBoxIcon.Warning和MessageBoxIcon.Information
原因是我正在为一个
应用程序编写我自己的自定义消息,即不使用MessageBox,但我仍然想使用相同的Windows图形。我顺便使用XP专业版。
看看System.Drawing.SystemIcons。你会在那里找到那些图标。
Teemu
Hi
I was wondering if anybody could tell me how to find the graphics used in
such things as
MessageBoxIcon.Warning and MessageBoxIcon.Information
The reason is that I''m writing my own customised messages for an applicatio
i.e. not using MessageBox but I''d still like to use the same Windows
graphics. I''m using XP professional by the way.
Thanks in advance
Geoff
"Geoff" <no********@email.com> kirjoitti
viestiss?:9d********************@pipex.net...Hi
I was wondering if anybody could tell me how to find the graphics used in
such things as
MessageBoxIcon.Warning and MessageBoxIcon.Information
The reason is that I''m writing my own customised messages for an
applicatio i.e. not using MessageBox but I''d still like to use the same
Windows graphics. I''m using XP professional by the way.
Take a look at System.Drawing.SystemIcons. You''ll find those icons there.
Teemu
"Geoff" <no********@email.com> schrieb:I was wondering if anybody could tell me how to find the graphics used in
such things as
MessageBoxIcon.Warning and MessageBoxIcon.Information
Check out ''SystemIcons''.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Hi guys
Yes, that works, however there is a black edge around the icon. I''m putting
a PictureBox on the form (which has itself a bitmap background) and in the
load event using:
PictureBox1.SystemIcons.Information.ToBitmap
Can you suggest how I could get rid of the edge?
Geoff
"Teemu" <ts*****@hotmail.com> wrote in message
news:ds**********@phys-news4.kolumbus.fi...
"Geoff" <no********@email.com> kirjoitti
viestiss?:9d********************@pipex.net...Hi
I was wondering if anybody could tell me how to find the graphics used in
such things as
MessageBoxIcon.Warning and MessageBoxIcon.Information
The reason is that I''m writing my own customised messages for an
applicatio i.e. not using MessageBox but I''d still like to use the same
Windows graphics. I''m using XP professional by the way.
Take a look at System.Drawing.SystemIcons. You''ll find those icons there.
Teemu
这篇关于问:消息框图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!