且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何防止openinng多个表单实例

更新时间:2023-12-02 09:19:52

您好,


请显示用于打开表单的代码,如果这是MDI,则显示。


Hi all,

I have a database desktop application using dataset ,my problem is when i create an object of form to show it is open normally for first time but when you want to open the same form next time it will open twice times then it will open fourth times ... etc (8,16,32 i actually test that) that you want to explore windows item on the main menu you fill many forms opened on the same event for display form ,really i have no logical reason to resolve problem.

Thanks


Esmat

Hello,

Please show the code used to open the form and if this is MDI or not.