-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Feature/#8
- Loading branch information
Showing
45 changed files
with
2,700 additions
and
1,345 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
30 changes: 30 additions & 0 deletions
30
VRChatActivityLogViewer/VRChatActivityLogViewer/AboutDialog.xaml
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,30 @@ | ||
<Window x:Class="VRChatActivityLogViewer.AboutDialog" | ||
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:VRChatActivityLogViewer" | ||
mc:Ignorable="d" | ||
Title="About" Height="260" Width="500" WindowStartupLocation="CenterOwner" ResizeMode="NoResize"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="*" /> | ||
<RowDefinition Height="40" /> | ||
</Grid.RowDefinitions> | ||
<StackPanel Grid.Row="0" Margin="16,0" VerticalAlignment="Center"> | ||
<StackPanel Orientation="Horizontal"> | ||
<Image Source="icon.ico" Width="50" Height="50" Margin="5"/> | ||
<TextBlock FontSize="32" VerticalAlignment="Center">VRChatActivityViewer</TextBlock> | ||
</StackPanel> | ||
<TextBlock x:Name="versionText" Margin="5">v0.0.0</TextBlock> | ||
<TextBlock Margin="5,5,5,5">Copyright (c) 2019 nukora</TextBlock> | ||
<TextBlock Margin="5,5,5,0">GitHub: <Hyperlink NavigateUri="https://github.com/nukora/VRChatActivityTools" RequestNavigate="Hyperlink_RequestNavigate">https://github.com/nukora/VRChatActivityTools</Hyperlink></TextBlock> | ||
<TextBlock Margin="5,0,5,5">Booth: <Hyperlink NavigateUri="https://nukora.booth.pm/items/1690568" RequestNavigate="Hyperlink_RequestNavigate">https://nukora.booth.pm/items/1690568</Hyperlink></TextBlock> | ||
<TextBlock Margin="5,5,5,5">Twitter: <Hyperlink NavigateUri="https://twitter.com/ilove_kemomimi" RequestNavigate="Hyperlink_RequestNavigate">@ilove_kemomimi</Hyperlink></TextBlock> | ||
</StackPanel> | ||
<Grid Grid.Row="1" /> | ||
<Grid Grid.Row="1" Margin="16,8"> | ||
<Button Content="OK" VerticalAlignment="Center" HorizontalAlignment="Right" Width="70" Click="closeButton_Click" /> | ||
</Grid> | ||
</Grid> | ||
</Window> |
41 changes: 41 additions & 0 deletions
41
VRChatActivityLogViewer/VRChatActivityLogViewer/AboutDialog.xaml.cs
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,41 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Diagnostics; | ||
using System.Reflection; | ||
using System.Text; | ||
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 VRChatActivityLogViewer | ||
{ | ||
/// <summary> | ||
/// AboutDialog.xaml の相互作用ロジック | ||
/// </summary> | ||
public partial class AboutDialog : Window | ||
{ | ||
public AboutDialog() | ||
{ | ||
InitializeComponent(); | ||
|
||
var version = Assembly.GetExecutingAssembly().GetName().Version; | ||
|
||
versionText.Text = $"v{version.Major}.{version.Minor}.{version.Build}"; | ||
} | ||
|
||
private void closeButton_Click(object sender, RoutedEventArgs e) | ||
{ | ||
this.Close(); | ||
} | ||
|
||
private void Hyperlink_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) | ||
{ | ||
Process.Start(new ProcessStartInfo("cmd", $"/c start {e.Uri}") { CreateNoWindow = true }); | ||
} | ||
} | ||
} |
43 changes: 0 additions & 43 deletions
43
VRChatActivityLogViewer/VRChatActivityLogViewer/ActivityLog.cs
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
35 changes: 0 additions & 35 deletions
35
VRChatActivityLogViewer/VRChatActivityLogViewer/ActivityType.cs
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
32 changes: 0 additions & 32 deletions
32
VRChatActivityLogViewer/VRChatActivityLogViewer/DatabaseContext.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.