private void OpenAddProductWindow(object sender, RoutedEventArgs e) { var addProductWindow = new AddProductWindow(); addProductWindow.ShowDialog(); }