Skip to content

Application.OpenForms #842

Closed
Closed

Description

@itg-assistant

Jonatha Panni asked 2017-05-18 08:23:57 UTC

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)?

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-05-18 14:56:23 UTC

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions