private void ButtonChangeCategory_Click(object sender, RoutedEventArgs e) { CategoryView cv = new CategoryView(this); //cv.Owner = Application.Current.MainWindow; cv.ShowDialog(); }
private void ButtonCategory_Click(object sender, RoutedEventArgs e) { CategoryView category = new CategoryView(); category.ShowDialog(); }