private void RedirectToProductWindow() { var productWindow = new ProductWindow(this); productWindow.ShowDialog(); }
private void addButton_Click(object sender, RoutedEventArgs e) { var productWindow = new ProductWindow(this); productWindow.ShowDialog(); }