2020-03-13 22:35:20 +00:00
|
|
|
<Window x:Class="UWUVCI_AIO_WPF.UI.Windows.TitleKeys"
|
|
|
|
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:UWUVCI_AIO_WPF"
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
mc:Ignorable="d"
|
2020-04-09 18:40:48 +00:00
|
|
|
Title="MAIN" Height="550" Width="1194.525" WindowStyle="None" WindowStartupLocation="CenterScreen" Foreground="White" MouseDown="MoveWindow" Background="LightGray" ResizeMode="NoResize" Icon="/a.ico">
|
2020-03-13 22:35:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Window.Resources>
|
2020-03-31 23:48:50 +00:00
|
|
|
<Storyboard x:Key="MenuOpen">
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu">
|
|
|
|
<EasingDoubleKeyFrame KeyTime="0" Value="60"/>
|
|
|
|
<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="210"/>
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
</Storyboard>
|
|
|
|
<Storyboard x:Key="MenuClose">
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu">
|
|
|
|
<EasingDoubleKeyFrame KeyTime="0" Value="200"/>
|
|
|
|
<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="60"/>
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
</Storyboard>
|
2020-03-13 22:35:20 +00:00
|
|
|
</Window.Resources>
|
2020-03-31 23:48:50 +00:00
|
|
|
<Window.Triggers>
|
|
|
|
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonOpenMenu">
|
|
|
|
<BeginStoryboard Storyboard="{StaticResource MenuOpen}"/>
|
2020-03-13 22:35:20 +00:00
|
|
|
|
2020-03-31 23:48:50 +00:00
|
|
|
</EventTrigger>
|
|
|
|
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonCloseMenu">
|
|
|
|
<BeginStoryboard Storyboard="{StaticResource MenuClose}"/>
|
2020-03-13 22:35:20 +00:00
|
|
|
|
2020-03-31 23:48:50 +00:00
|
|
|
</EventTrigger>
|
|
|
|
</Window.Triggers>
|
2020-03-13 22:35:20 +00:00
|
|
|
|
2020-03-31 23:48:50 +00:00
|
|
|
<Grid DataContext="{StaticResource mvm}">
|
|
|
|
<Grid Margin="60,70,0,0">
|
|
|
|
<Frame x:Name="load_frame" NavigationUIVisibility="Hidden"/>
|
2020-04-10 00:05:01 +00:00
|
|
|
<TextBlock x:Name="tb" Margin="10,10,0,0" TextWrapping="Wrap" FontSize="20" Height="143" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" Foreground="Black" />
|
2020-03-13 22:35:20 +00:00
|
|
|
</Grid>
|
|
|
|
<Grid Height="72" VerticalAlignment="Top" Margin="0,-2,0,0">
|
|
|
|
<Grid.Background>
|
|
|
|
|
|
|
|
<VisualBrush TileMode="Tile" Viewport="0,0,0.0965,1">
|
|
|
|
<VisualBrush.Visual>
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/bg maybe wpf.png"></Image>
|
2020-03-13 22:35:20 +00:00
|
|
|
</VisualBrush.Visual>
|
|
|
|
</VisualBrush>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.Background>
|
2020-03-31 23:48:50 +00:00
|
|
|
<TextBlock Name="tbTitleBar" HorizontalAlignment="Left" Margin="61,19,0,0" TextWrapping="Wrap" Text="UWUVCI AIO - TitleKeys" VerticalAlignment="Top" FontSize="25" Width="1075" TextAlignment="Center"/>
|
2020-03-13 22:35:20 +00:00
|
|
|
</Grid>
|
2020-03-31 23:48:50 +00:00
|
|
|
<Grid x:Name="GridMenu" Width="60" HorizontalAlignment="Left">
|
|
|
|
<Grid.Background>
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
<GradientStop Color="#5B6EAD" Offset="1"/>
|
|
|
|
<GradientStop Color="#7289DA" Offset="0"/>
|
|
|
|
<GradientStop Color="#6175B7" Offset="0.5"/>
|
|
|
|
</LinearGradientBrush>
|
|
|
|
</Grid.Background>
|
|
|
|
<StackPanel>
|
|
|
|
<Grid Height="70">
|
|
|
|
<Button x:Name="ButtonCloseMenu" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,5,0,0" Visibility="Collapsed" Click="ButtonCloseMenu_Click">
|
|
|
|
<materialDesign:PackIcon Foreground="White" Kind="ArrowLeft" Height="25" Width="25" />
|
|
|
|
</Button>
|
|
|
|
<Button x:Name="ButtonOpenMenu" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,5,0,0" Click="ButtonOpenMenu_Click">
|
|
|
|
<materialDesign:PackIcon Foreground="White" Kind="HamburgerMenu" Height="25" Width="25"/>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
<ListView Foreground="White" ScrollViewer.HorizontalScrollBarVisibility="Disabled" PreviewMouseLeftButtonUp="ListView_Click">
|
|
|
|
<!--NDS-->
|
|
|
|
<ListViewItem Height="60" x:Name="NDS" Cursor="Hand">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/ds64x64alt4.png"></Image>
|
|
|
|
<TextBlock Text="NDS Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
|
|
|
<!--GBA-->
|
|
|
|
<ListViewItem Height="60" x:Name="GBA" Cursor="Hand">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/gba64alt3.png"></Image>
|
|
|
|
<TextBlock Text="GBA Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
|
|
|
<!--N64-->
|
|
|
|
<ListViewItem Height="60" x:Name="N64" Cursor="Hand">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/n64colorlessalt5.png"></Image>
|
|
|
|
<TextBlock Text="N64 Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
2020-04-09 18:40:48 +00:00
|
|
|
<!--SNES-->
|
|
|
|
<ListViewItem Height="60" x:Name="SNES" Cursor="Hand">
|
2020-03-31 23:48:50 +00:00
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/snes64alt2.png"></Image>
|
|
|
|
<TextBlock Text="SNES Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
2020-04-09 18:40:48 +00:00
|
|
|
<!--NES-->
|
|
|
|
<ListViewItem Height="60" x:Name="NES" Cursor="Hand">
|
2020-03-31 23:48:50 +00:00
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/nes64alt5.png"></Image>
|
|
|
|
<TextBlock Text="NES Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
2020-04-09 18:40:48 +00:00
|
|
|
|
2020-04-06 13:50:54 +00:00
|
|
|
<!--TG16-->
|
|
|
|
<ListViewItem Height="60" x:Name="TG16" Cursor="Hand">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/tg16alt.png"></Image>
|
|
|
|
<TextBlock Text="TG16 Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-04-06 13:50:54 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
2020-04-07 01:09:05 +00:00
|
|
|
<!--MSX-->
|
|
|
|
<ListViewItem Height="60" x:Name="MSX" Cursor="Hand">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
2020-04-09 18:40:48 +00:00
|
|
|
<Image Source="/UI/Images/msx.png"></Image>
|
|
|
|
<TextBlock Text="MSX Title Keys" VerticalAlignment="Center" Margin="20 10"/>
|
2020-04-07 01:09:05 +00:00
|
|
|
</StackPanel>
|
|
|
|
</ListViewItem>
|
2020-03-31 23:48:50 +00:00
|
|
|
</ListView>
|
2020-03-13 22:35:20 +00:00
|
|
|
|
2020-03-31 23:48:50 +00:00
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
2020-03-13 22:35:20 +00:00
|
|
|
|
2020-03-31 23:48:50 +00:00
|
|
|
<TextBlock HorizontalAlignment="Left" Margin="1164,12,0,0" TextWrapping="Wrap" Text="X" VerticalAlignment="Top" Foreground="White" FontSize="16"/>
|
|
|
|
<Button Content="Button" HorizontalAlignment="Left" Margin="1160,11,0,0" VerticalAlignment="Top" Width="18" Background="{x:Null}" BorderBrush="{x:Null}" Height="25" Click="Window_Close"/>
|
|
|
|
<TextBlock HorizontalAlignment="Left" Margin="1144,11,0,0" TextWrapping="Wrap" Text="__" VerticalAlignment="Top" Foreground="White" FontSize="16"/>
|
|
|
|
<Button Content="Button" HorizontalAlignment="Left" Margin="1140,11,0,0" VerticalAlignment="Top" Width="18" Background="{x:Null}" BorderBrush="{x:Null}" Height="25" Click="Window_Minimize"/>
|
2020-03-13 22:35:20 +00:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Window>
|