private void ButtonAddInterior_Click(object sender, RoutedEventArgs e) { ProductsWindow w = new ProductsWindow(this, jsonBase.elements, jsonBase.manufacturers); w.Owner = this; w.ShowDialog(); }