Commit 6aa27a31 authored by Rabbit's avatar Rabbit
Browse files

test

parent 157e0c1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ using System.Windows;
//
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
[assembly: AssemblyVersion("1.2.3.*")]
[assembly: AssemblyVersion("1.2.5.*")]

/// <summary>
/// 使用此类前需要把[assembly: ComVisible(false)]改为true
@@ -56,7 +56,7 @@ class AssemblyInformation
                    return titleAttribute.Title;
                }
            }
            return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
            return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase) ?? "d";
        }
    }

+71 −0
Original line number Diff line number Diff line
@@ -162,7 +162,41 @@
    <None Remove="UI\test2.jpg" />
    <None Remove="UI\test3.jpg" />
    <None Remove="UI\test4.jpg" />
    <None Remove="UI\WindowFrame\Help\Res\2401b5dc1d03cce83d442af8060b924.png" />
    <None Remove="UI\WindowFrame\Help\Res\5280700c5150427034f28c238b98732.png" />
    <None Remove="UI\WindowFrame\Help\Res\6bc2f0a427a0607b57e66bd13e4d4d1.png" />
    <None Remove="UI\WindowFrame\Help\Res\982e86ee3f0a261a4dee5df5fc0f5bb.png" />
    <None Remove="UI\WindowFrame\Help\Res\a433352aec18943991b4ced53c52dbd.png" />
    <None Remove="UI\WindowFrame\Help\Res\d1bc7804f2620ed6d7bdd4d494216bc.png" />
    <None Remove="UI\WindowFrame\Help\Res\Doc1.rtf" />
    <None Remove="UI\WindowFrame\Help\Res\f2d1545fcd5c61361743d3576476878.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-11-46.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-16.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-39.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-59.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-13-27.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-13-50.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-14-13.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-14-59.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-16-47.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-17-06.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-17-32.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-18-06.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-20-17.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-30-35.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-30-57.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-32-08.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-07.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-19.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-42.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-01.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-24.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-42.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-35-23.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-35-58.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-36-20.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-36-44.png" />
    <None Remove="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-37-08.png" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="CountDownList.ico" />
@@ -556,6 +590,43 @@
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Resource Include="UI\[email protected]" />
    <Resource Include="UI\WindowFrame\Help\Res\2401b5dc1d03cce83d442af8060b924.png" />
    <Resource Include="UI\WindowFrame\Help\Res\5280700c5150427034f28c238b98732.png" />
    <Resource Include="UI\WindowFrame\Help\Res\6bc2f0a427a0607b57e66bd13e4d4d1.png" />
    <Resource Include="UI\WindowFrame\Help\Res\982e86ee3f0a261a4dee5df5fc0f5bb.png" />
    <Resource Include="UI\WindowFrame\Help\Res\a433352aec18943991b4ced53c52dbd.png" />
    <Resource Include="UI\WindowFrame\Help\Res\d1bc7804f2620ed6d7bdd4d494216bc.png" />
    <Content Include="UI\WindowFrame\Help\Res\Doc1.rtf">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Resource Include="UI\WindowFrame\Help\Res\f2d1545fcd5c61361743d3576476878.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-11-46.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-16.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-39.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-12-59.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-13-27.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-13-50.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-14-13.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-14-59.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-16-47.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-17-06.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-17-32.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-18-06.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-20-17.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-30-35.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-30-57.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-32-08.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-07.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-19.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-33-42.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-01.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-24.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-34-42.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-35-23.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-35-58.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-36-20.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-36-44.png" />
    <Resource Include="UI\WindowFrame\Help\Res\PixPin_2024-12-31_16-37-08.png" />
  </ItemGroup>
  <ItemGroup>
    <Compile Update="MiscSetting.Designer.cs">
+136 −0
Original line number Diff line number Diff line
<Window x:Class="CountDownList.UI.WindowFrame.Help.Help"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CountDownList"
        mc:Ignorable="d"
        Title="功能帮助" Width="800" Height="480">
    <Grid>
        <local:MyScrollViewer Style="{DynamicResource ScrollViewerBaseStyle}" Margin="4,0,4,0">
            <StackPanel Margin="0,7,0,0">
                <Expander Header="基础" Background="#00EEEEEE" BorderBrush="{x:Null}">
                    <StackPanel Margin="16,16,16,16">
                        <TextBlock>折叠面板</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/6bc2f0a427a0607b57e66bd13e4d4d1.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,24,0,0">打开主页</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/2401b5dc1d03cce83d442af8060b924.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,24,0,0">关闭</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/f2d1545fcd5c61361743d3576476878.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,24,0,0">单击分类可折叠</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/d1bc7804f2620ed6d7bdd4d494216bc.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,24,0,0">单击标签可展开</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/982e86ee3f0a261a4dee5df5fc0f5bb.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,24,0,0">右击标签可进行快速操作</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/a433352aec18943991b4ced53c52dbd.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                    </StackPanel>
                </Expander>

                <Expander Header="主界面" Margin="0,4,0,0" Background="#00EEEEEE" BorderBrush="{x:Null}">
                    <StackPanel Margin="16,16,16,16">
                        <TextBlock>想要进行编辑、删除、分享,必须选择一个列表项</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-12-16.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>新增标签</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-11-46.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>编辑标签</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-12-39.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>删除标签</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-12-59.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>分享标签</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-13-27.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>设置界面</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-13-50.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>显示此界面</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-14-13.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                    </StackPanel>
                </Expander>

                <Expander Header="编辑界面与新建界面" Margin="0,4,0,0" Background="#00EEEEEE" BorderBrush="{x:Null}">
                    <StackPanel Margin="16,16,16,16">
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-20-17.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>深色文本,标签上的文本变为黑色</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-16-47.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>在取消选择倒计时模式时,没有特定的结束时间</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-17-06.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>时间设置
                    <LineBreak></LineBreak>
                        *在禁用倒计时模式时,无法设置结束时间
                        </TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-17-32.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>设置背景,点击下拉框切换背景模式,可以为图片或纯色</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-18-06.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>
                    </StackPanel>
                </Expander>

                <Expander Header="分享界面" Margin="0,4,0,0" Background="#00EEEEEE" BorderBrush="{x:Null}">
                    <StackPanel Margin="16,16,16,16">
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-32-08.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>修改保存分辨率</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-30-35.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>自定义标题</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-30-57.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>允许百分数溢出,启用后当结束时间比现在时间小时,不设为100%</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-33-07.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>显示背景,取消选择后背景部分变为透明</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-33-19.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>显示中间的时间</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-33-42.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>显示水印在左上角和右上角</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-34-01.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>显示剩余时间偏下的开始时间和结束时间</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-34-24.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>启用背景模糊</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-34-42.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>设置中心剩余时间的格式</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-35-23.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock Margin="0,10,0,32">一些颜色设置</TextBlock>
                        <TextBlock>将图片上的时间设为现在时间,默认是打开分享界面时的时间</TextBlock>

                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-35-58.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>切换字体</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-36-20.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>如果生成的图片的布局存在问题时,请点击此按钮来重新布局</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-36-44.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                        <TextBlock>保存为PNG后进行的操作</TextBlock>
                        <Image RenderOptions.BitmapScalingMode="Fant" Source="/UI/WindowFrame/Help/Res/PixPin_2024-12-31_16-37-08.png" Width="384" HorizontalAlignment="Left" Margin="0,8,0,0"></Image>

                    </StackPanel>
                </Expander>

                <Expander Header="高级" Margin="0,4,0,0" Background="#00EEEEEE" BorderBrush="{x:Null}">
                    <RichTextBox x:Name="rtfView"/>
                </Expander>
            </StackPanel>
        </local:MyScrollViewer>
    </Grid>
</Window>
+29 −0
Original line number Diff line number Diff line
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace CountDownList.UI.WindowFrame.Help
{
    /// <summary>
    /// Help.xaml 的交互逻辑
    /// </summary>
    public partial class Help : System.Windows.Window
    {
        public Help()
        {
            InitializeComponent();
            rtfView.Selection.Load(new FileStream($@"{AppDomain.CurrentDomain.BaseDirectory}UI\WindowFrame\Help\Res\Doc1.rtf", FileMode.Open), DataFormats.Rtf);
        }
    }
}
+66.9 KiB
Loading image diff...
Loading