actually now its usable
This commit is contained in:
20
Kits/Views/EditButton.cs
Normal file
20
Kits/Views/EditButton.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
namespace Kits.Views;
|
||||
|
||||
public partial class EditButton : UserControl
|
||||
{
|
||||
public EditButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
new ProperCollectionEditor
|
||||
{
|
||||
DataContext = DataContext,
|
||||
WindowStartupLocation = WindowStartupLocation.CenterOwner,
|
||||
Owner = Window.GetWindow(this)
|
||||
}.ShowDialog();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user