-
Notifications
You must be signed in to change notification settings - Fork 69
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
Flier
committed
Jul 26, 2018
1 parent
7764a14
commit ac174bb
Showing
5 changed files
with
62 additions
and
2 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
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,26 @@ | ||
<Window x:Class="ConvertZZ.Window_About" | ||
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" | ||
mc:Ignorable="d" | ||
Title="About" MinHeight="200" MinWidth="350" ResizeMode="NoResize" Topmost="True" SizeToContent="WidthAndHeight"> | ||
<StackPanel> | ||
<StackPanel Orientation="Horizontal" Margin="5"> | ||
<Grid Width="100" Height="150" MouseUp="Label_MouseUp"> | ||
<Grid.Background> | ||
<ImageBrush ImageSource="icon.ico" Stretch="Uniform"/> | ||
</Grid.Background> | ||
</Grid> | ||
<Label Content="ConvertZZ" FontSize="40" FontFamily="Arial" VerticalAlignment="Center" MouseUp="Label_MouseUp"/> | ||
</StackPanel> | ||
<Grid Margin="5"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
<Label Content="Make by flier268" HorizontalAlignment="Left"/> | ||
<Label Content="GPL-3.0 Licence" Grid.Column="1" HorizontalAlignment="Right" Margin="0"/> | ||
</Grid> | ||
</StackPanel> | ||
</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,22 @@ | ||
using System.Diagnostics; | ||
using System.Windows; | ||
using System.Windows.Input; | ||
|
||
namespace ConvertZZ | ||
{ | ||
/// <summary> | ||
/// Window_About.xaml 的互動邏輯 | ||
/// </summary> | ||
public partial class Window_About : Window | ||
{ | ||
public Window_About() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void Label_MouseUp(object sender, MouseButtonEventArgs e) | ||
{ | ||
Process.Start("https://github.com/flier268/ConvertZZ"); | ||
} | ||
} | ||
} |