chore: 关于按钮移至帮助窗口内,关闭按钮左侧
This commit is contained in:
parent
ce4b2a0c06
commit
bbd58cdff0
@ -139,6 +139,11 @@ NavisworksTransport 帮助对话框 - 采用与主界面一致的Navisworks 2026
|
||||
Padding="15,10">
|
||||
<StackPanel Orientation="Horizontal"
|
||||
HorizontalAlignment="Right">
|
||||
<Button Content="关于"
|
||||
Click="AboutButton_Click"
|
||||
Style="{StaticResource SecondaryButtonStyle}"
|
||||
Margin="0,0,8,0"
|
||||
ToolTip="查看插件版本信息和开发者信息"/>
|
||||
<Button Content="关闭"
|
||||
Click="CloseButton_Click"
|
||||
Style="{StaticResource ActionButtonStyle}"/>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System.Windows;
|
||||
using NavisworksTransport.Utils;
|
||||
|
||||
namespace NavisworksTransport.UI.WPF.Views
|
||||
{
|
||||
@ -13,6 +14,14 @@ namespace NavisworksTransport.UI.WPF.Views
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关于按钮点击事件
|
||||
/// </summary>
|
||||
private void AboutButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
DialogHelper.ShowDialog(new AboutDialog());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关闭按钮点击事件
|
||||
/// </summary>
|
||||
|
||||
@ -197,10 +197,6 @@ NavisworksTransport 主控制面板 - 采用与其他视图一致的Navisworks 2
|
||||
Click="HelpButton_Click"
|
||||
Style="{StaticResource SecondaryButtonStyle}"
|
||||
ToolTip="查看插件使用说明和操作指南"/>
|
||||
<Button Content="关于"
|
||||
Click="AboutButton_Click"
|
||||
Style="{StaticResource SecondaryButtonStyle}"
|
||||
ToolTip="查看插件版本信息和开发者信息"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user