Files
TorchPlugins/Kits/Views/EditButton.cs
2023-11-13 23:17:39 +07:00

21 lines
500 B
C#

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();
}
}