messagebox(getactivewindow(),'您确定要退出系统?!','提示!' ,MB_OKCANCEL + MB_ICONINFORMATION);
我要捕获OK的值!
也就是说,当OK时候,就关闭程序.
当CANCEL时候,不关闭程序..怎么实现啊?
我要捕获OK的值!
也就是说,当OK时候,就关闭程序.
当CANCEL时候,不关闭程序..怎么实现啊?
Application.Terminated;
Application.Terminated;