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