通过选择PC监视器在启动时运行来显示GIF图像 [英] display a GIF image by selecting PC monitor to run on startup

查看:73
本文介绍了通过选择PC监视器在启动时运行来显示GIF图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我有一个有2个显示器的自助服务终端。

我想在计算机启动时显示一个GIF图像用于运行广告的监视器。

我如何用C#编程?

如何在特定监视器上运行图像?

Dears,

I have a kiosk that has 2 monitors.
I want to display a GIF image on computer startup on one of the monitors to run an ad.
How can I program that in C#?
How can I run the image on a specific monitor?

推荐答案

您好,



在使用多台显示器之前,您需要了解屏幕 [ ^ ]类。要在其他显示器上显示任何屏幕,您需要所有活动显示器屏幕分辨率。



对于检索屏幕分辨率,您将要使用System.Windows.Forms.Screen [ ^ ]类。 Screen.AllScreens [ ^ ]属性可用于访问系统上所有显示的集合,或者您可以使用Screen.PrimaryScreen属性访问主显示器。



要在窗口启动时设置您的应用程序,请请参阅以下链接。

http://stackoverflow.com/questions/674628/how-do-i-set-a-program-to-launch-at-startup [ ^ ]

< a href =http://stackoverflow.com/questions/5394098/how-to-make-an-exe-start-at-the-windows-startup> http://stackoverflow.com/questions/53 94098 / how-to-make-an-exe-start-at-the-windows-startup [ ^ ]

http://www.geekpedia.com/tutorial151_Run-the-application-at-Windows-startup.html [ ^ ]

您也可以参考动态屏幕分辨率 [ ^ ]文章。
Hi,

Before work with multiple monitors you need to have some knowledge about Screen[^] class. To display any screen on other monitor you need All active monitors Screen Resolutions.

For Retrieving the screen resolution, you're going to want to use the System.Windows.Forms.Screen[^] class. The Screen.AllScreens[^] property can be used to access a collection of all of the displays on the system, or you can use the Screen.PrimaryScreen property to access the primary display.

For setup your application on window's startup please refer below links.
http://stackoverflow.com/questions/674628/how-do-i-set-a-program-to-launch-at-startup[^]
http://stackoverflow.com/questions/5394098/how-to-make-an-exe-start-at-the-windows-startup[^]
http://www.geekpedia.com/tutorial151_Run-the-application-at-Windows-startup.html[^]
You also can refer Dynamic Screen Resolution[^] article.


这篇关于通过选择PC监视器在启动时运行来显示GIF图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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