Given your last few posts I would rather suggest once again to explain what
you are trying to do. It looks like you are trying to convert client side
code so that it runs server side.
Before pursuing this route note that some capabilities are unique to client
side. In particular server side there are no such thing as a window. Windows
are managed client side. Have a look at a tutorial about how web
applications are working to see the client/server side separation...
If you keep posting those kind of questions without giving us a chance to
get any understanding about what you are doing whatever it is, I'm afraid
you'll finally get ignored....
I suggest to check out the 'Form' class 'Show' and 'ShowDialog' methods and
its 'Owner' property.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.