在桌面上放置表格 [英] place a form on desktop

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

问题描述

你好evrybody ...
我想在桌面上的图标和任务栏下放置一个表单(包含创建媒体播放器的代码).
(实际上媒体将在桌面上播放)
请帮我...
我该怎么办?

hello evrybody...
I want to place a form(contain code that create a media player)on desktop,under icons&taskbar.
(infact a media will play on desktop)
please helpe me...
what can i do?

推荐答案

在执行应用程序时,任何主窗体始终放置在桌面上. 在图标和任务栏下面"是没有意义的.它可以在任务栏或桌面上.您在问一些您不太了解自己的事情.

如果您想将其放在导航栏上(嗯,有趣的主意,有些人可能会喜欢),则需要使用所谓的"NotifyIcon应用程序"的设计,但是NotifyIcon本身不是一种形式,即使您可以与表格一起使用.

请参阅以下CodeProject文章:
无格式通知图标应用程序 [带有气球提示的.NET 2.0中的通知图标控件 [ WPF NotifyIcon [ http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/13.aspx [ ^ ],
http://windowsclient.net/articles/notifyiconapplications.aspx [
Any main form is always placed on the desktop when the application is being executed. "Under Icons & Taskbar" makes no sense. It can be on a task bar or a desktop. You are asking about something you don''t really understand yourself.

If you want to put it in a taksbar (well, interesting idea, some might like it), you need to use the design of so called "NotifyIcon application", but the NotifyIcon itself is not a form, even though you can use it with a form.

Please see these CodeProject articles:
Formless Notify Icon Application[^],
Notify Icon control in .NET 2.0 with balloon tips[^],
WPF NotifyIcon[^].

See also:
http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/13.aspx[^],
http://windowsclient.net/articles/notifyiconapplications.aspx[^].

If you want something else — sorry, you should have explained it in a sensible way.

—SA


看看这个:

http://archive.msdn.microsoft.com/WindowsAPICodePack [
Have a look at this:

http://archive.msdn.microsoft.com/WindowsAPICodePack[^]

hope it helps :)


好...
感谢您的解决方案,
但是,
我会解释我的问题:
在默认类型下,您的桌面背景包含"windows7.jpg".
现在,我的问题是:谁可以放置表格(包含创建媒体播放器的代码)而不是"windows7.jpg"图片?(用图片替换表格)
ok...
thanks for your solution,
but,
I''ll explain my question:
in defult type, your desktope background is contain "windows7.jpg".
now,my question is:who we can place a form(contain code that create a media player) instead of "windows7.jpg"picture?(replace form with picture)


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

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