Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]主窗口BeforeClose事件不执行?

1楼
dqlgood 发表于:2011/10/29 17:16:00

Dim sd As WinForm.DateTimePicker
Dim
ed As WinForm.DateTimePicker
sd = e.Form.Controls(
"StartDate")
ed = e.Form.Controls(
"EndDate")
If
sd.Value Is Nothing OrElse ed.Value Is Nothing Then
    MessageBox.Show(
"请输入起始日期和终止日期!","提示", MessageBoxButtons.OK ,MessageBoxIcon.Information)
    e.Cancel =
True
End
If

放在主窗口的BeforeClose事件中不执行如何处理?

2楼
狐狸爸爸 发表于:2011/10/29 19:37:00

主窗口可能没有这个事件吧

3楼
hhbb 发表于:2011/10/29 20:49:00
不是主窗口沒BeforeClose事件,而是主窗口沒控制框
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03516 s, 2 queries.