mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-30 14:59:10 +00:00
125 lines
7.1 KiB
XML
125 lines
7.1 KiB
XML
<Window x:Class="UWUVCI_AIO_WPF.MainWindow"
|
|
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"
|
|
Title="MAIN" Height="550" Width="1194.525" WindowStyle="None" WindowStartupLocation="CenterScreen" Foreground="White" MouseDown="MoveWindow" Background="LightGray" ResizeMode="NoResize">
|
|
|
|
|
|
|
|
<Window.Resources>
|
|
<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>
|
|
</Window.Resources>
|
|
<Window.Triggers>
|
|
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonOpenMenu">
|
|
<BeginStoryboard Storyboard="{StaticResource MenuOpen}"/>
|
|
|
|
</EventTrigger>
|
|
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonCloseMenu">
|
|
<BeginStoryboard Storyboard="{StaticResource MenuClose}"/>
|
|
|
|
</EventTrigger>
|
|
</Window.Triggers>
|
|
|
|
<Grid>
|
|
<Grid Margin="60,70,0,0">
|
|
<Frame x:Name="load_frame" NavigationUIVisibility="Hidden"/>
|
|
</Grid>
|
|
<Grid Height="72" VerticalAlignment="Top" Margin="0,-2,0,0">
|
|
<Grid.Background>
|
|
|
|
<VisualBrush TileMode="Tile" Viewport="0,0,0.0965,1">
|
|
<VisualBrush.Visual>
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/bg maybe wpf.png"></Image>
|
|
</VisualBrush.Visual>
|
|
</VisualBrush>
|
|
|
|
|
|
</Grid.Background>
|
|
</Grid>
|
|
<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">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/Colored/nds64v64.png"></Image>
|
|
<TextBlock Text="NDS VC Inject" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<!--NDS-->
|
|
<ListViewItem Height="60" x:Name="GBA">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/Colored/gba64.png"></Image>
|
|
<TextBlock Text="GBA VC Inject" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<!--N64-->
|
|
<ListViewItem Height="60" x:Name="N64">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/Colored/n64new.png"></Image>
|
|
<TextBlock Text="N64 VC Inject" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<!--NES-->
|
|
<ListViewItem Height="60" x:Name="NES">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/Colored/nes64.png"></Image>
|
|
<TextBlock Text="NES VC Inject" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<!--SNES-->
|
|
<ListViewItem Height="60" x:Name="SNES">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/UWUVCI AIO WPF;component/UI/Images/Colored/snes64.png"></Image>
|
|
<TextBlock Text="SNES VC Inject" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<!--Settings-->
|
|
<ListViewItem Height="60" x:Name="Settings">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Foreground="White" Kind="SettingsApplications" Height="45" Width="45"/>
|
|
<TextBlock Text="Settings" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<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"/>
|
|
</Grid>
|
|
|
|
</Window>
|