private void ButtonManageDW_Click(object sender, RoutedEventArgs e) { DWWindow dwWindow = new DWWindow(this, jsonBase.dvere, jsonBase.okna); dwWindow.Owner = this; dwWindow.ShowDialog(); }