全局组件通讯研究

This commit is contained in:
2025-05-04 10:22:38 +08:00
parent d9983b0a99
commit 7635174516
5 changed files with 43 additions and 8 deletions

View File

@@ -85,7 +85,7 @@
</StackPanel>
</StackPanel>
<StackPanel Margin="0,0,0,20" Orientation="Horizontal">
<Button Margin="0,0,20,0" Content="连接测试" Background="Gray" Foreground="White" Style="{StaticResource MaterialDesignRaisedButton}"/>
<Button Margin="0,0,20,0" Command="{Binding TestCommand}" Content="连接测试" Background="Gray" Foreground="White" Style="{StaticResource MaterialDesignRaisedButton}"/>
<Button Content="保存" Background="Green" Foreground="White" Style="{StaticResource MaterialDesignRaisedButton}"/>
</StackPanel>
</StackPanel>