3分钟后关闭表格 [英] Form close after 3 min

查看:90
本文介绍了3分钟后关闭表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果在C#应用程序中一定时间(例如3分钟)未触摸Windows窗体,则应将其关闭.如果有人知道解决方案,请告诉我..

The windows form should be closed if it is not touched for certain time(like 3 min) in C# application. If anybody knows the solution, let me know..

推荐答案

在发生鼠标或键盘事件时将重置的计时器
A timer that is reset whenever there''s a mouse or keyboard event


这篇关于3分钟后关闭表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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