119 lines
6.0 KiB
XML
119 lines
6.0 KiB
XML
<Window x:Class="Raton.Windows.About"
|
|
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"
|
|
Title="About" Height="500" Width="640" Background="#1C1C1C" WindowStartupLocation="CenterOwner"
|
|
ResizeMode="NoResize" Icon="/Raton;component/RATA.ico">
|
|
<FrameworkElement.Resources>
|
|
<Style x:Key="LinkButton" TargetType="{x:Type Button}">
|
|
<Setter Property="Control.Background" Value="Transparent"/>
|
|
<Setter Property="Control.BorderThickness" Value="0"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="Control.Foreground" Value="#7B8FD4"/>
|
|
<Setter Property="Control.FontSize" Value="12"/>
|
|
<Setter Property="Control.Padding" Value="0"/>
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<TextBlock Text="{TemplateBinding ContentControl.Content}" Foreground="{TemplateBinding Control.Foreground}"
|
|
FontSize="{TemplateBinding Control.FontSize}" TextDecorations="Underline"/>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="UIElement.IsMouseOver" Value="true">
|
|
<Setter Property="Control.Foreground" Value="#A0B4FF"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style TargetType="{x:Type ScrollBar}">
|
|
<Setter Property="FrameworkElement.Width" Value="6"/>
|
|
<Setter Property="Control.Background" Value="Transparent"/>
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ScrollBar}">
|
|
<Grid>
|
|
<Track x:Name="PART_Track" IsDirectionReversed="true">
|
|
<Track.DecreaseRepeatButton>
|
|
<RepeatButton Command="ScrollBar.PageUpCommand" Opacity="0" Height="0"/>
|
|
</Track.DecreaseRepeatButton>
|
|
<Track.Thumb>
|
|
<Thumb>
|
|
<Control.Template>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Border Background="#444" CornerRadius="3"/>
|
|
</ControlTemplate>
|
|
</Control.Template>
|
|
</Thumb>
|
|
</Track.Thumb>
|
|
<Track.IncreaseRepeatButton>
|
|
<RepeatButton Command="ScrollBar.PageDownCommand" Opacity="0" Height="0"/>
|
|
</Track.IncreaseRepeatButton>
|
|
</Track>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</FrameworkElement.Resources>
|
|
<FrameworkElement.Triggers>
|
|
<EventTrigger RoutedEvent="Window.Loaded">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity" From="0" To="1"
|
|
Duration="0:0:0.35">
|
|
<DoubleAnimation.EasingFunction>
|
|
<CubicEase EasingMode="EaseOut"/>
|
|
</DoubleAnimation.EasingFunction>
|
|
</DoubleAnimation>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
</FrameworkElement.Triggers>
|
|
<Grid x:Name="Root">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" Background="#FF202020" BorderBrush="#333333" BorderThickness="0,0,0,1" Padding="20,16">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="0" Width="52" Height="52" CornerRadius="12" Margin="0,0,16,0"
|
|
VerticalAlignment="Center">
|
|
<Border.Background>
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
|
|
<GradientStop Color="#5C4B8A" Offset="0"/>
|
|
<GradientStop Color="#FF352F40" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
</Border.Background>
|
|
<Image Source="/Assets/RATA.png" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
Height="32" Margin="10" Width="32"/>
|
|
</Border>
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center">
|
|
<TextBlock Text="RatonRAT" Foreground="White" FontSize="20" FontWeight="Bold" TextAlignment="Left"/>
|
|
<TextBlock Text="A free, customizable RAT with advanced client management and stealth features"
|
|
Foreground="#888888" FontSize="11.5" TextWrapping="Wrap" TextAlignment="Left" Margin="0,3,0,8"/>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Button Click="BtnCommunity_Click" x:Name="BtnCommunity" Content="Join our community"
|
|
Style="{StaticResource LinkButton}" Margin="0,0,14,0"/>
|
|
<Button Click="BtnGithub_Click" x:Name="BtnGithub" Content="Visit my Github"
|
|
Style="{StaticResource LinkButton}" Margin="0,0,14,0"/>
|
|
<Button Click="BtnBitcoin_Click" x:Name="BtnBitcoin" Content="Copy bitcoin address"
|
|
Style="{StaticResource LinkButton}"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
<Border Grid.Row="1" Margin="0">
|
|
<TextBox x:Name="TxtChangelog" Background="#1A1A1A" Foreground="#CCCCCC" FontFamily="Microsoft JhengHei"
|
|
FontSize="12.5" BorderThickness="0" IsReadOnly="true" TextWrapping="Wrap"
|
|
VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Padding="20,16"
|
|
CaretBrush="Transparent" SelectionBrush="#3A3A6A" HorizontalAlignment="Left" Width="634"
|
|
Cursor="Arrow"/>
|
|
</Border>
|
|
</Grid>
|
|
</Window> |