-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lots of things and fix lots of bugs
- Loading branch information
Showing
6 changed files
with
273 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Window x:Class="Ink_Canvas.ChangeLogWindow" | ||
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:Ink_Canvas" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" ShowInTaskbar="False" | ||
xmlns:ui="http://schemas.modernwpf.com/2019" FontFamily="Microsoft YaHei UI" Topmost="True" | ||
mc:Ignorable="d" ui:WindowHelper.UseModernWindowStyle="True" Loaded="Window_Loaded" Closed="Window_Closed" | ||
Title="" Height="350" Width="600"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="50"/> | ||
<RowDefinition/> | ||
<RowDefinition Height="60"/> | ||
</Grid.RowDefinitions> | ||
<Label Content="已升级到最新版本!" FontFamily="Microsoft YaHei UI" FontSize="26" Margin="20,0"/> | ||
<StackPanel Grid.Row="1"> | ||
<TextBlock Name="TextBlockChangeLogTitle" Text="更新日志" FontSize="18" FontWeight="Bold" Margin="35,10,35,0"/> | ||
<TextBlock Name="TextBlockChangeLog" Text="" FontSize="14" Margin="55,5"/> | ||
<TextBlock Name="TextBlockSuggestionTitle" Text="建议" FontSize="18" FontWeight="Bold" Margin="35,10,35,0"/> | ||
<TextBlock Name="TextBlockSuggestion" Text="" FontSize="14" Margin="55,5"/> | ||
</StackPanel> | ||
<Button Content="确定" Grid.Row="2" HorizontalAlignment="Right" Margin="10" Width="100" FontFamily="Microsoft YaHei UI" Click="Button_Click"/> | ||
</Grid> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
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 Ink_Canvas | ||
{ | ||
/// <summary> | ||
/// Interaction logic for ChangeLogWindow.xaml | ||
/// </summary> | ||
public partial class ChangeLogWindow : Window | ||
{ | ||
public ChangeLogWindow() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void Window_Loaded(object sender, RoutedEventArgs e) | ||
{ | ||
//Version 2.1.0-beta | ||
TextBlockChangeLog.Text = "" + | ||
"1. 修复使用画板时无法使用翻页笔的问题\n" + | ||
"2. 支持修改画笔粗细,支持显示画笔指针\n" + | ||
"3. 支持双指缩放和拖动手势\n" + | ||
"4. 添加“选择墨迹”功能,选中后可以对墨迹进行拖动,拉伸等操作\n" + | ||
"5. 添加画图功能(直线、箭头、矩形、椭圆)"; | ||
TextBlockSuggestion.Text = "打开设置,点击“重置”中的“重置设置为推荐设置”,以提升教学体验!"; | ||
} | ||
|
||
private void Window_Closed(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
|
||
private void Button_Click(object sender, RoutedEventArgs e) | ||
{ | ||
Close(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.