Create child window with WPF

1

I'm trying to create a daughter window that gets tied to the main window (in WPF). After creating the child window, I initialize it with nomeDaJanela.Show() . However the window becomes loose, as if it were not part of the main window, even seeming a standalone application. I would like to "lock" the main window, so if I minimize or close the main window the same thing happens to it, as it will only be accessible if it has the main window as the background.

    
asked by anonymous 20.03.2017 / 18:39

1 answer

1

I'm doing it through events, that is, one window is tied to the event of the other being "turned on". If this is the default form I do not know. But it works.

    
09.04.2017 / 10:18