创建屏幕保护程序预览 [英] creating screen saver preview

查看:113
本文介绍了创建屏幕保护程序预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在c#中为选定的屏幕保护程序创建预览.我使用了包含要用作屏幕保护程序的图像列表的组合框,但是我不知道要使用哪个属性将选定的图像加载到屏幕保护程序上.单击预览按钮时进行监视.还请告诉我如何使用不同的属性为屏幕保护程序调整幻灯片放映速度选项.请尽快答复.

how can i create preview for the selected screen saver in c#.i hav used combo box that comprises of list of images that i want to use as my screensaver.but i dont know which property to use to load selected image on the monitor when clicked on a preview button. kindly also tell how can i adjust slide show speed option for my screen saver using different properties. plz reply as soon as possible.

推荐答案

您没有创建预览... Windows会创建.当用户从列表中选择屏幕保护程序时,Windows将在屏幕保护程序选择器内启动.scr应用程序,并将其自动显示在预览窗口中.除了确保屏幕保护程序正常工作之外,您无需执行其他任何操作.

如果要在属性窗口中显示屏幕保护程序的预览,那就另当别论了.通常不会这样做,但是我建议您先从图像控件和更新计时器开始,这些更新会经常更新预览.

您将需要弄清楚屏幕保护程序上想要的属性以及如何管理它们.
You don''t create the preview... Windows does. When a user picks your screen saver from the list, Windows launches your .scr application inside the Screen Saver picker and displays it in the preview window automatically. You don''t have to do anything other than make sure your screen saver works.

If you want to show a preview of your screen saver inside your properties window, that is a different story. That isn''t typically done but I would suggest you start with an image control and an update timer that updates your preview every so often.

You will have to figure out what properties you want on your screen saver and how you will manage them.


这篇关于创建屏幕保护程序预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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