mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
feat.加了一个关于页面
This commit is contained in:
@@ -126,6 +126,9 @@
|
||||
<Compile Include="UserControl\ToastSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>ToastSettingsUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserControl\AboutUserControl.xaml.cs">
|
||||
<DependentUpon>AboutUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserControl\VersionUpdateSettingsUserControl.xaml.cs">
|
||||
<DependentUpon>VersionUpdateSettingsUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
@@ -179,6 +182,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="UserControl\AboutUserControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="UserControl\VersionUpdateSettingsUserControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
|
||||
13
src/MeoAsstGui/UserControl/AboutUserControl.xaml
Normal file
13
src/MeoAsstGui/UserControl/AboutUserControl.xaml
Normal file
@@ -0,0 +1,13 @@
|
||||
<UserControl x:Class="MeoAsstGui.AboutUserControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:s="https://github.com/canton7/Stylet"
|
||||
xmlns:dd="urn:gong-wpf-dragdrop"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="550">
|
||||
<StackPanel VerticalAlignment="Center" Margin="10">
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" HorizontalAlignment="Center" VerticalAlignment="Center" Text="在这里放上 MAA 官网的超链接(我们真的有官网么" Margin="10" />
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
26
src/MeoAsstGui/UserControl/AboutUserControl.xaml.cs
Normal file
26
src/MeoAsstGui/UserControl/AboutUserControl.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace MeoAsstGui
|
||||
{
|
||||
/// <summary>
|
||||
/// PenguinReportSettingsUserControl.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class AboutUserControl : UserControl
|
||||
{
|
||||
public AboutUserControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,9 +8,6 @@
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="550">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace MeoAsstGui
|
||||
_listTitle.Add("连接设置");
|
||||
_listTitle.Add("通知显示");
|
||||
_listTitle.Add("软件更新");
|
||||
_listTitle.Add("关于我们");
|
||||
//_listTitle.Add("其他");
|
||||
|
||||
InfrastInit();
|
||||
|
||||
@@ -46,6 +46,9 @@
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[7]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:VersionUpdateSettingsUserControl Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[7]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:AboutUserControl Margin="20" />
|
||||
<!--<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />-->
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
Reference in New Issue
Block a user