Application.OpenForms

0
0

I’m using Desktop as Application container.

I’ve got a button on desktop that open a Form.

First time I click on the button Form open and show up the taskbar.

I minimize my Form, and click button for the 2nd time: I would like to maximise my previous one instead of creating a new one.

I think I have to look into Wisej.Web.Application.OpenForms.

My question is

Application.OpenForms refers to my session (forms opened by me)?

  • You must to post comments
0
0

Hi Jonatha,

yes, you can refer to the OpenForms collection to test if your window is already opened and check its WindowState property
to see if it is minimized.

The OpenForms is session isolated as anything else in Application.

Only static properties are shared across sessions.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.