单击X按钮时如何注销? [英] How to logout when X button is clicked ?

查看:113
本文介绍了单击X按钮时如何注销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

正在面临注销问题.

我已经创建了一个运行良好的Web应用程序,

但是这里的问题是,如果用户单击系统右上方的X按钮.我的应用程序也必须关闭.

当用户单击X按钮时,它必须显示一条消息您确定要注销"吗?


通常,用户曾经忘记关闭应用程序,在这里我们需要维护用户的登录和注销历史记录.

所以请帮我解决这个问题,关闭系统X(关闭)按钮.还应关闭我的Web应用程序,并且当用户单击X按钮时应弹出消息.


请帮忙

谢谢.

Dear All,

Am facing problem with logout.

i have created a web application its running fine,

But the problem here is, if the user Clicks the X button at the top right side of the system. my application must also close.

When the user clicks the X button , it must display a message " are you sure you want to Log out"


Generally Users used to forgot to close the application, here we need to maintain users login and logout history.

So please help me this problem, Closing System X(Close) button. should also close my webapplication and message should be pop up when X button clicks by the user.


Please help

Thanks.

推荐答案

Hello Ranjit,

您可以通过下面的链接查看它是否对您有帮助:

http://forums.asp.net/t/1786079.aspx/1 [ ^ ]
http://forums.asp.net/t/1644119.aspx/1 [ ^ ]
Hello Ranjit,

You can go through below link, see if it helps you:

http://forums.asp.net/t/1786079.aspx/1[^]
http://forums.asp.net/t/1644119.aspx/1[^]


请参阅此处您已经从WinAPI中关闭了功能
http://msdn.microsoft.com/zh-我们/library/windows/desktop/aa376883%28v=vs.85%29.aspx [
See there you have shut down functions from WinAPI
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376883%28v=vs.85%29.aspx[^]


这篇关于单击X按钮时如何注销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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