I am currently developing an MDI application exploiting your Raddock Control.
As I am using forms as tabbed windows, I would like my application not to create a new tab (a second one), if the form is already open.
Currently I am using the following workaround and nonetheless I don’t like very much this way J
Any hint to have it implemented in a more elegant way?
Thank you very much
3 Answers, 1 is accepted
I would make the forms that you wish to display singleton classes and then not only can you show just the single instance, but you can also focus on the correct form as well.
There are a few parts to this...
The Main Form
MDI Child1 Designer
(for MDI Child 2, just copy MDIChild1, replacing MDIChild1 with MDIChild2)
Hope this helps.
Please remember to mark as answer if this solves your issue, or let me know if you have further questions
thank you for the good answer, I like this Singleton approach, but now we have already more than thirty developed forms,
and time to finish application it's not so much :-) , if there was anything that would allow me to avoid to touch all forms would be better
In that case, your current workaround would probably be fine. Though, to alter 30 forms to singleton shouldn't take too long.