forked from zsh2401/AutumnBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
118 additions
and
143 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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,43 @@ | ||
<controls:BlurWindow | ||
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl" | ||
x:Class="AutumnBox.GUI.View.Windows.UpdateLogsWindow" | ||
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:AutumnBox.GUI.View.Windows" | ||
xmlns:viewmodel="clr-namespace:AutumnBox.GUI.ViewModel" | ||
mc:Ignorable="d" | ||
ResizeMode="NoResize" | ||
Style="{StaticResource WindowBlur}" | ||
ShowTitle="True" | ||
FontFamily="{DynamicResource AutumnBox.Font}" | ||
WindowStartupLocation="CenterOwner" | ||
Height="450" Width="600"> | ||
<Window.DataContext> | ||
<viewmodel:VMUpdateLogs/> | ||
</Window.DataContext> | ||
<Grid> | ||
<DockPanel> | ||
|
||
<TextBlock DockPanel.Dock="Top" Margin="5" FontSize="40">Farewell under the stars</TextBlock> | ||
|
||
<ScrollViewer HorizontalScrollBarVisibility="Disabled"> | ||
<ItemsControl ItemsSource="{Binding Versions}"> | ||
<ItemsControl.ItemTemplate> | ||
<DataTemplate> | ||
<DockPanel Margin="10"> | ||
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal"> | ||
<TextBlock FontSize="30" Text="{Binding Version}"/> | ||
<TextBlock VerticalAlignment="Center" Foreground="Gray" Margin="10,0,0,0" Text="{Binding Time}"/> | ||
</StackPanel> | ||
<TextBlock Margin="5" Text="{Binding Content}" TextWrapping="Wrap"/> | ||
</DockPanel> | ||
</DataTemplate> | ||
</ItemsControl.ItemTemplate> | ||
</ItemsControl> | ||
</ScrollViewer> | ||
</DockPanel> | ||
</Grid> | ||
|
||
</controls:BlurWindow> |
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,28 @@ | ||
using HandyControl.Controls; | ||
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 AutumnBox.GUI.View.Windows | ||
{ | ||
/// <summary> | ||
/// UpdateLogsWindow.xaml 的交互逻辑 | ||
/// </summary> | ||
public partial class UpdateLogsWindow : BlurWindow | ||
{ | ||
public UpdateLogsWindow() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
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
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