add super intelligent save button cuz torch is trash

This commit is contained in:
zznty
2022-10-23 21:27:06 +07:00
parent de7e9e616f
commit d16cdd11a1
4 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
<UserControl x:Class="TorchRemote.Plugin.ConfigControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:TorchRemote.Plugin"
xmlns:views="clr-namespace:Torch.Views;assembly=Torch"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<views:PropertyGrid Margin="3" />
<Button Grid.Row="1" Margin="5" Content="Save" Click="ButtonBase_OnClick" />
</Grid>
</UserControl>