The first window starts up.

The first window launches the second.

The first transmits data to the second.

The first is closed.

The second remains.

After starting the first one, the first one cannot access the variables and the second function. But both are already open.

Any example?

    1 answer 1

    Use the Visibility property of the first window

     window.Visibility = Visibility.Collapsed;