当鼠标处于恒定状态时显示幻灯片 [英] show slideshow when mouse at constant state

查看:54
本文介绍了当鼠标处于恒定状态时显示幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

C#的新手.现在要做一个小窗口应用程序.这是我的

项目就像ATM.如果有人使用atm表示打开了正常的ATM窗口.没有的时候

用户最近10(十)分钟内使用自动取款机,并且我的幻灯片放映在该时间打开.

在C#Windows应用程序中是否可能.请其非常紧急.全部

回复欢迎..


在此先感谢


Dhinesh Kumar.V

Dear All,

Am new for c#.Now am going to do an small window application. Here my

project is like ATM. If anybody using atm means normal ATM window is open. When no

users are using ATM for last 10(ten) minutes and my slide show is opened on that time.

Whether it is possible in C# Windows Application. Please its very urgent. All

replies Welcome..


Thanks in Advance


Dhinesh Kumar.V

推荐答案

这是我从您的问题中所能理解的.
您正在设计一个应用程序,其中显示一个普通窗口,即"ATM"窗口.如果此窗口没有聚焦,则在10分钟后您要运行幻灯片放映.我说得对吗?

这是我想问的:
1.您要在原始ATM窗口中显示某些图像的幻灯片显示吗?


根据我对您的问题的理解,我可以说的是以下内容:
在窗体的LostFocus事件上启动计时器,将其设置为十分钟,在计时器的滴答事件上启动计时器,开始幻灯片放映,停止计时器.
如果窗口重新获得焦点,则无论如何都将停止计时器或幻灯片放映.

抱歉,如果我在理解您的问题时犯了一个错误.
This is what i can understand from your question.
You are designing an application in which you show a normal window which is the "ATM" window. If this window is not in focus then after 10 minutes you want to run your slide show. Am i correct?

Here is what i want to ask:
1. Do you wish to show the slideshow of certain images in your original ATM window?


Here is what i can say on basis of what how i understood your question:
start a timer on the LostFocus event for the form, set to ten minutes, on the timer''s tick event start your slide show stopping the timer.
if the windows regains focus stop the timer or slideshow whatever the case may be.

Sorry if i made a mistake in understanding your question.


这篇关于当鼠标处于恒定状态时显示幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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