857 lines
47 KiB
XML
857 lines
47 KiB
XML
<Window x:Class="Raton.Windows.Builder"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Builder" Height="720" Width="1020" MinHeight="620" MinWidth="860" Background="#141414"
|
|
WindowStartupLocation="CenterScreen" ResizeMode="CanResize" FontFamily="Segoe UI">
|
|
<FrameworkElement.Resources>
|
|
<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>
|
|
<Style TargetType="{x:Type ScrollViewer}">
|
|
<Setter Property="Control.Background" Value="Transparent"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type TabControl}">
|
|
<Setter Property="Control.Background" Value="Transparent"/>
|
|
<Setter Property="Control.BorderThickness" Value="0"/>
|
|
<Setter Property="Control.Padding" Value="0"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type TabItem}">
|
|
<Setter Property="UIElement.Visibility" Value="Collapsed"/>
|
|
</Style>
|
|
<Style x:Key="SideNav" TargetType="{x:Type Border}">
|
|
<Setter Property="Border.CornerRadius" Value="7"/>
|
|
<Setter Property="Border.Padding" Value="12,10"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,1"/>
|
|
<Setter Property="Border.Background" Value="Transparent"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="UIElement.RenderTransformOrigin" Value="0,0.5"/>
|
|
<Setter Property="UIElement.RenderTransform">
|
|
<Setter.Value>
|
|
<TranslateTransform X="0"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<EventTrigger RoutedEvent="MouseEnter">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<ColorAnimation Storyboard.TargetProperty="Background.Color" To="#242424" Duration="0:0:0.12"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" To="3"
|
|
Duration="0:0:0.12"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
<EventTrigger RoutedEvent="MouseLeave">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<ColorAnimation Storyboard.TargetProperty="Background.Color" To="#00000000" Duration="0:0:0.14"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" To="0"
|
|
Duration="0:0:0.14"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style x:Key="SideNavActive" TargetType="{x:Type Border}" BasedOn="{StaticResource SideNav}">
|
|
<Setter Property="Border.Background" Value="#1E1A2E"/>
|
|
</Style>
|
|
<Style x:Key="NavIco" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.FontFamily" Value="Segoe MDL2 Assets"/>
|
|
<Setter Property="TextBlock.FontSize" Value="14"/>
|
|
<Setter Property="TextBlock.Foreground" Value="#555"/>
|
|
<Setter Property="FrameworkElement.VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,0,10,0"/>
|
|
<Setter Property="FrameworkElement.Width" Value="18"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
</Style>
|
|
<Style x:Key="NavIcoActive" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource NavIco}">
|
|
<Setter Property="TextBlock.Foreground" Value="#A87FE8"/>
|
|
</Style>
|
|
<Style x:Key="NavLbl" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.Foreground" Value="#666"/>
|
|
<Setter Property="TextBlock.FontSize" Value="12.5"/>
|
|
<Setter Property="FrameworkElement.VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="Normal"/>
|
|
</Style>
|
|
<Style x:Key="NavLblActive" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource NavLbl}">
|
|
<Setter Property="TextBlock.Foreground" Value="#D4BCFF"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="SemiBold"/>
|
|
</Style>
|
|
<Style x:Key="NavAccent" TargetType="{x:Type Border}">
|
|
<Setter Property="FrameworkElement.Width" Value="3"/>
|
|
<Setter Property="Border.CornerRadius" Value="2"/>
|
|
<Setter Property="Border.Background" Value="#7C4DFF"/>
|
|
<Setter Property="UIElement.Visibility" Value="Hidden"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,6"/>
|
|
</Style>
|
|
<Style x:Key="NavAccentActive" TargetType="{x:Type Border}" BasedOn="{StaticResource NavAccent}">
|
|
<Setter Property="UIElement.Visibility" Value="Visible"/>
|
|
</Style>
|
|
<Style x:Key="SectionTitle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.Foreground" Value="White"/>
|
|
<Setter Property="TextBlock.FontSize" Value="17"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="SemiBold"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,0,0,20"/>
|
|
</Style>
|
|
<Style x:Key="GroupTitle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.Foreground" Value="#CCCCCC"/>
|
|
<Setter Property="TextBlock.FontSize" Value="11"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="SemiBold"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,0,0,12"/>
|
|
</Style>
|
|
<Style x:Key="RowTitle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.Foreground" Value="#E0E0E0"/>
|
|
<Setter Property="TextBlock.FontSize" Value="12.5"/>
|
|
<Setter Property="FrameworkElement.VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
<Style x:Key="RowHint" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="TextBlock.Foreground" Value="#555"/>
|
|
<Setter Property="TextBlock.FontSize" Value="11"/>
|
|
<Setter Property="FrameworkElement.VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,2,0,0"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}">
|
|
<Setter Property="Control.Background" Value="#1A1A1A"/>
|
|
<Setter Property="Control.Foreground" Value="#E8E8E8"/>
|
|
<Setter Property="TextBoxBase.CaretBrush" Value="#7C4DFF"/>
|
|
<Setter Property="Control.BorderBrush" Value="#2C2C2C"/>
|
|
<Setter Property="Control.BorderThickness" Value="1"/>
|
|
<Setter Property="Control.Padding" Value="9,6"/>
|
|
<Setter Property="Control.FontFamily" Value="Segoe UI"/>
|
|
<Setter Property="Control.FontSize" Value="12"/>
|
|
<Setter Property="Control.VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextBoxBase.SelectionBrush" Value="#7C4DFF"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="UIElement.IsFocused" Value="true">
|
|
<Setter Property="Control.BorderBrush" Value="#5C3D8F"/>
|
|
</Trigger>
|
|
<Trigger Property="UIElement.IsEnabled" Value="false">
|
|
<Setter Property="Control.Foreground" Value="#3A3A3A"/>
|
|
<Setter Property="Control.BorderBrush" Value="#222"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style x:Key="ToggleSwitch" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="FrameworkElement.Width" Value="40"/>
|
|
<Setter Property="FrameworkElement.Height" Value="21"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Grid>
|
|
<Border x:Name="Track" CornerRadius="11" Background="#2A2A2A" Width="40" Height="21"/>
|
|
<Ellipse x:Name="Thumb" Width="15" Height="15" Fill="#555" HorizontalAlignment="Left" Margin="3,0,0,0"
|
|
VerticalAlignment="Center">
|
|
<UIElement.RenderTransform>
|
|
<TranslateTransform x:Name="ThumbTx" X="0"/>
|
|
</UIElement.RenderTransform>
|
|
</Ellipse>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<TriggerBase.EnterActions>
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<ColorAnimation Storyboard.TargetName="Track" Storyboard.TargetProperty="Background.Color" To="#5C3D8F"
|
|
Duration="0:0:0.14"/>
|
|
<ColorAnimation Storyboard.TargetName="Thumb" Storyboard.TargetProperty="Fill.Color" To="#D4BCFF"
|
|
Duration="0:0:0.14"/>
|
|
<DoubleAnimation Storyboard.TargetName="ThumbTx" Storyboard.TargetProperty="X" To="19" Duration="0:0:0.14"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</TriggerBase.EnterActions>
|
|
<TriggerBase.ExitActions>
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<ColorAnimation Storyboard.TargetName="Track" Storyboard.TargetProperty="Background.Color" To="#2A2A2A"
|
|
Duration="0:0:0.14"/>
|
|
<ColorAnimation Storyboard.TargetName="Thumb" Storyboard.TargetProperty="Fill.Color" To="#555" Duration="0:0:0.14"/>
|
|
<DoubleAnimation Storyboard.TargetName="ThumbTx" Storyboard.TargetProperty="X" To="0" Duration="0:0:0.14"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</TriggerBase.ExitActions>
|
|
</Trigger>
|
|
<Trigger Property="UIElement.IsEnabled" Value="false">
|
|
<Setter TargetName="Track" Property="UIElement.Opacity" Value="0.3"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="BtnBase" TargetType="{x:Type Button}">
|
|
<Setter Property="Control.Background" Value="#2C2C2C"/>
|
|
<Setter Property="Control.Foreground" Value="#C0C0C0"/>
|
|
<Setter Property="Control.FontFamily" Value="Segoe UI"/>
|
|
<Setter Property="Control.FontSize" Value="11.5"/>
|
|
<Setter Property="Control.FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Control.BorderThickness" Value="0"/>
|
|
<Setter Property="Control.Padding" Value="12,6"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="Bd" Background="{TemplateBinding Control.Background}" CornerRadius="5"
|
|
Padding="{TemplateBinding Control.Padding}">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="UIElement.IsMouseOver" Value="true">
|
|
<Setter TargetName="Bd" Property="Border.Background" Value="#383838"/>
|
|
</Trigger>
|
|
<Trigger Property="ButtonBase.IsPressed" Value="true">
|
|
<Setter TargetName="Bd" Property="Border.Background" Value="#222"/>
|
|
</Trigger>
|
|
<Trigger Property="UIElement.IsEnabled" Value="false">
|
|
<Setter TargetName="Bd" Property="Border.Background" Value="#1E1E1E"/>
|
|
<Setter Property="Control.Foreground" Value="#3A3A3A"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="BtnPrimary" TargetType="{x:Type Button}" BasedOn="{StaticResource BtnBase}"/>
|
|
<Style x:Key="BtnGhost" TargetType="{x:Type Button}" BasedOn="{StaticResource BtnBase}"/>
|
|
<Style x:Key="BtnDanger" TargetType="{x:Type Button}" BasedOn="{StaticResource BtnBase}">
|
|
<Setter Property="Control.Foreground" Value="#FF7070"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type ListBox}">
|
|
<Setter Property="Control.Background" Value="#111"/>
|
|
<Setter Property="Control.Foreground" Value="#CCC"/>
|
|
<Setter Property="Control.BorderBrush" Value="#2C2C2C"/>
|
|
<Setter Property="Control.BorderThickness" Value="1"/>
|
|
<Setter Property="Control.FontSize" Value="12"/>
|
|
<Setter Property="Control.Padding" Value="0"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="Control.Background" Value="Transparent"/>
|
|
<Setter Property="Control.Foreground" Value="#CCC"/>
|
|
<Setter Property="Control.Padding" Value="10,5"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="ListBoxItem.IsSelected" Value="true">
|
|
<Setter Property="Control.Background" Value="#1E1A2E"/>
|
|
<Setter Property="Control.Foreground" Value="#D4BCFF"/>
|
|
</Trigger>
|
|
<Trigger Property="UIElement.IsMouseOver" Value="true">
|
|
<Setter Property="Control.Background" Value="#1C1C1C"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style TargetType="{x:Type RadioButton}">
|
|
<Setter Property="Control.Foreground" Value="#888"/>
|
|
<Setter Property="Control.FontSize" Value="11.5"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,0,10,0"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type Separator}">
|
|
<Setter Property="Control.Background" Value="#222"/>
|
|
<Setter Property="FrameworkElement.Height" Value="1"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,10"/>
|
|
</Style>
|
|
<Style x:Key="Card" TargetType="{x:Type Border}">
|
|
<Setter Property="Border.Background" Value="#1A1A1A"/>
|
|
<Setter Property="Border.CornerRadius" Value="9"/>
|
|
<Setter Property="Border.Padding" Value="18,14"/>
|
|
<Setter Property="FrameworkElement.Margin" Value="0,0,0,10"/>
|
|
<Setter Property="UIElement.Effect">
|
|
<Setter.Value>
|
|
<DropShadowEffect Color="Black" BlurRadius="14" ShadowDepth="2" Opacity="0.35"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="BuildBtn" TargetType="{x:Type Button}">
|
|
<Setter Property="FrameworkElement.Height" Value="52"/>
|
|
<Setter Property="Control.Foreground" Value="White"/>
|
|
<Setter Property="Control.FontFamily" Value="Segoe UI Semibold"/>
|
|
<Setter Property="Control.FontSize" Value="13"/>
|
|
<Setter Property="Control.BorderThickness" Value="0"/>
|
|
<Setter Property="FrameworkElement.Cursor" Value="Hand"/>
|
|
<Setter Property="UIElement.RenderTransformOrigin" Value="0.5,0.5"/>
|
|
<Setter Property="UIElement.RenderTransform">
|
|
<Setter.Value>
|
|
<ScaleTransform ScaleX="1" ScaleY="1"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="Bd" CornerRadius="8" Padding="22,0" Background="{TemplateBinding Control.Background}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Column="0" FontFamily="Segoe MDL2 Assets" FontSize="18" VerticalAlignment="Center"
|
|
Margin="0,0,12,0" Foreground="#D4BCFF"
|
|
Text="{Binding Tag, RelativeSource={RelativeSource TemplatedParent}}"/>
|
|
<ContentPresenter Grid.Column="1" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<EventTrigger RoutedEvent="MouseEnter">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" To="1.012"
|
|
Duration="0:0:0.12"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" To="1.012"
|
|
Duration="0:0:0.12"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
<EventTrigger RoutedEvent="MouseLeave">
|
|
<BeginStoryboard>
|
|
<Storyboard>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" To="1"
|
|
Duration="0:0:0.14"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" To="1"
|
|
Duration="0:0:0.14"/>
|
|
</Storyboard>
|
|
</BeginStoryboard>
|
|
</EventTrigger>
|
|
<Trigger Property="ButtonBase.IsPressed" Value="true">
|
|
<Setter TargetName="Bd" Property="UIElement.Opacity" Value="0.82"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</FrameworkElement.Resources>
|
|
<Grid x:Name="RootGrid">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="200"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="0" Background="#111111" BorderBrush="#1E1E1E" BorderThickness="0,0,1,0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Row="1" Margin="10,14,10,0">
|
|
<Border MouseLeftButtonUp="Nav_Common_Click" x:Name="NavCommon" Style="{StaticResource SideNavActive}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="AccCommon" Grid.Column="0" Style="{StaticResource NavAccentActive}" Margin="0,0,10,0"/>
|
|
<TextBlock x:Name="IcoCommon" Grid.Column="1" Text="" Style="{StaticResource NavIcoActive}"/>
|
|
<TextBlock x:Name="LblCommon" Grid.Column="2" Text="Common" Style="{StaticResource NavLblActive}"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border MouseLeftButtonUp="Nav_Network_Click" x:Name="NavNetwork" Style="{StaticResource SideNav}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="AccNetwork" Grid.Column="0" Style="{StaticResource NavAccent}" Margin="0,0,10,0"/>
|
|
<TextBlock x:Name="IcoNetwork" Grid.Column="1" Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock x:Name="LblNetwork" Grid.Column="2" Text="Network" Style="{StaticResource NavLbl}"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border MouseLeftButtonUp="Nav_Execution_Click" x:Name="NavExecution" Style="{StaticResource SideNav}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="AccExecution" Grid.Column="0" Style="{StaticResource NavAccent}" Margin="0,0,10,0"/>
|
|
<TextBlock x:Name="IcoExecution" Grid.Column="1" Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock x:Name="LblExecution" Grid.Column="2" Text="Execution" Style="{StaticResource NavLbl}"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border MouseLeftButtonUp="Nav_Assembly_Click" x:Name="NavAssembly" Style="{StaticResource SideNav}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="AccAssembly" Grid.Column="0" Style="{StaticResource NavAccent}" Margin="0,0,10,0"/>
|
|
<TextBlock x:Name="IcoAssembly" Grid.Column="1" Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock x:Name="LblAssembly" Grid.Column="2" Text="Assembly" Style="{StaticResource NavLbl}"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border MouseLeftButtonUp="Nav_Agreement_Click" x:Name="NavAgreement" Style="{StaticResource SideNav}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="AccAgreement" Grid.Column="0" Style="{StaticResource NavAccent}" Margin="0,0,10,0"/>
|
|
<TextBlock x:Name="IcoAgreement" Grid.Column="1" Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock x:Name="LblAgreement" Grid.Column="2" Text="Agreement" Style="{StaticResource NavLbl}"/>
|
|
</Grid>
|
|
</Border>
|
|
</StackPanel>
|
|
<Border Grid.Row="2" Padding="10,12" BorderBrush="#1E1E1E" BorderThickness="0,1,0,0">
|
|
<StackPanel>
|
|
<Border MouseLeftButtonUp="Nav_Load_Click" Style="{StaticResource SideNav}">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock Text="Load config" Style="{StaticResource NavLbl}"/>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border MouseLeftButtonUp="Nav_Save_Click" Style="{StaticResource SideNav}">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="" Style="{StaticResource NavIco}"/>
|
|
<TextBlock Text="Save config" Style="{StaticResource NavLbl}"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
<Grid Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<TabControl x:Name="MainTabs" Grid.Row="0">
|
|
<TabItem x:Name="TabCommon">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<Grid Margin="28,24,28,18">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="18"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0">
|
|
<TextBlock Text="Common" Style="{StaticResource SectionTitle}"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="46"/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border x:Name="IconPreviewBorder" Grid.Column="0" Width="40" Height="40" CornerRadius="7"
|
|
Background="#111" HorizontalAlignment="Left">
|
|
<Grid>
|
|
<TextBlock x:Name="IconPlaceholder" Text="" FontFamily="Segoe MDL2 Assets" FontSize="18" Foreground="White"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<Image x:Name="IconPreviewImg" Width="28" Height="28" Stretch="Uniform" Visibility="Collapsed"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<StackPanel Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center">
|
|
<TextBlock Text="Client icon" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Browse .ico or extract from .exe" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<Button Click="BtnBrowseIcon_Click" x:Name="BtnBrowseIcon" Grid.Column="2" Content="Browse"
|
|
Style="{StaticResource BtnBase}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="BEHAVIOUR" Style="{StaticResource GroupTitle}"/>
|
|
<Grid Margin="0,0,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Startup" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Register on every restart" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogStartup" Grid.Column="1" Style="{StaticResource ToggleSwitch}"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Hide file" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Hide client in user folder" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogHideFile" Grid.Column="1" Style="{StaticResource ToggleSwitch}"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Process critical" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="BSOD if the process dies" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogProCri" Grid.Column="1" Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Defender exclusion" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Add process to WD exclusions" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogDefender" Grid.Column="1" Style="{StaticResource ToggleSwitch}"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Obfuscate (AGO)" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Rename obfuscation pass" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogObf" Grid.Column="1" Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2">
|
|
<TextBlock Text=" " FontSize="17" Margin="0,0,0,20"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="IDENTITY" Style="{StaticResource GroupTitle}"/>
|
|
<TextBlock Text="Client tag" Style="{StaticResource RowTitle}" Margin="0,0,0,4"/>
|
|
<TextBlock Text="Name shown in the panel" Style="{StaticResource RowHint}" Margin="0,0,0,8"/>
|
|
<TextBox x:Name="TxtTag" Text="Infected" Margin="0,0,0,14"/>
|
|
<TextBlock Text="Connection delay (sec)" Style="{StaticResource RowTitle}" Margin="0,0,0,4"/>
|
|
<TextBlock Text="Wait before first connect" Style="{StaticResource RowHint}" Margin="0,0,0,8"/>
|
|
<TextBox x:Name="TxtDelay" Text="0"/>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<Grid Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Password lock" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Require password to connect" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton Checked="TogPassword_Changed" Unchecked="TogPassword_Changed" x:Name="TogPassword" Grid.Column="1"
|
|
Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<TextBox x:Name="TxtPassword" IsEnabled="false"/>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<Grid Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Fake creation date" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Modify file timestamps" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton Checked="TogDate_Changed" Unchecked="TogDate_Changed" x:Name="TogDate" Grid.Column="1"
|
|
Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<DatePicker x:Name="DatePicker1" IsEnabled="false" Background="#1A1A1A" Foreground="White"
|
|
BorderBrush="#2C2C2C"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
<TabItem x:Name="TabNetwork">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<Grid Margin="28,24,28,18">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="18"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0">
|
|
<TextBlock Text="Network" Style="{StaticResource SectionTitle}"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="HOST LIST" Style="{StaticResource GroupTitle}"/>
|
|
<TextBlock Text="IP : Port" Style="{StaticResource RowTitle}" Margin="0,0,0,4"/>
|
|
<TextBlock Text="Press Enter or Add" Style="{StaticResource RowHint}" Margin="0,0,0,8"/>
|
|
<Grid Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="8"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="6"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="6"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox KeyDown="TxtHost_KeyDown" x:Name="TxtHost" Text="127.0.0.1:8080" Grid.Column="0"/>
|
|
<Button Click="BtnGetIP_Click" Grid.Column="2" Content="My IP" Style="{StaticResource BtnBase}"/>
|
|
<Button Click="BtnAddHost_Click" Grid.Column="4" Content="Add" Style="{StaticResource BtnBase}"/>
|
|
<Button Click="BtnRemoveHost_Click" Grid.Column="6" Content="Remove" Style="{StaticResource BtnDanger}"/>
|
|
</Grid>
|
|
<ListBox x:Name="HostList" Height="100"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2">
|
|
<TextBlock Text=" " FontSize="17" Margin="0,0,0,20"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="PASTE FALLBACK" Style="{StaticResource GroupTitle}"/>
|
|
<TextBlock Text="Raw paste link (optional)" Style="{StaticResource RowTitle}" Margin="0,0,0,4"/>
|
|
<TextBlock Text="Client reads this URL if connection fails" Style="{StaticResource RowHint}" Margin="0,0,0,8"/>
|
|
<TextBox x:Name="TxtPasteLink" Text="https://paste.ee/d/dQKrJpQJ"/>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="RECONNECT" Style="{StaticResource GroupTitle}"/>
|
|
<TextBlock Text="Delay between retries (sec)" Style="{StaticResource RowTitle}" Margin="0,0,0,4"/>
|
|
<TextBlock Text="Minimum 3 seconds" Style="{StaticResource RowHint}" Margin="0,0,0,8"/>
|
|
<TextBox x:Name="TxtReconnect" Text="3"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
<TabItem x:Name="TabExecution">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<Grid Margin="28,24,28,18">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="18"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0">
|
|
<TextBlock Text="Execution" Style="{StaticResource SectionTitle}"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<Grid Margin="0,0,0,10">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Message box" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Shown when payload first runs" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton Checked="TogMsgBox_Changed" Unchecked="TogMsgBox_Changed" x:Name="TogMsgBox" Grid.Column="1"
|
|
Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<TextBox x:Name="TxtMsgTitle" IsEnabled="false" Text="Hello World" Margin="0,0,0,6"/>
|
|
<TextBox x:Name="TxtMsgBody" IsEnabled="false" Text="I'm the message box description" TextWrapping="Wrap"
|
|
AcceptsReturn="true" Height="66" VerticalScrollBarVisibility="Auto" Margin="0,0,0,10"/>
|
|
<TextBlock Text="Icon type:" Foreground="#555" FontSize="11" Margin="0,0,0,6"/>
|
|
<WrapPanel>
|
|
<RadioButton x:Name="RbIconError" Content="Error" GroupName="MsgIcon" IsChecked="True"/>
|
|
<RadioButton x:Name="RbIconInfo" Content="Info" GroupName="MsgIcon"/>
|
|
<RadioButton x:Name="RbIconWarn" Content="Warning" GroupName="MsgIcon"/>
|
|
<RadioButton x:Name="RbIconQst" Content="Question" GroupName="MsgIcon"/>
|
|
<RadioButton x:Name="RbIconNone" Content="None" GroupName="MsgIcon"/>
|
|
</WrapPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="PROTECTION" Style="{StaticResource GroupTitle}"/>
|
|
<Grid Margin="0,0,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Anti-Analysis" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="VM / Sandbox / Debug / Decompile" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogAntiVM" Grid.Column="1" Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Request UAC" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Mark exe as requiring elevation" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogUAC" Grid.Column="1" Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2">
|
|
<TextBlock Text=" " FontSize="17" Margin="0,0,0,20"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="ACTIONS" Style="{StaticResource GroupTitle}"/>
|
|
<Grid Margin="0,0,0,12">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Block Task Manager" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Kill Task Manager on launch" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton x:Name="TogBlockTask" Grid.Column="1" Style="{StaticResource ToggleSwitch}"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Separator/>
|
|
<Grid Margin="0,12,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Open website" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Open a URL on execution" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton Checked="TogWebsite_Changed" Unchecked="TogWebsite_Changed" x:Name="TogWebsite" Grid.Column="1"
|
|
Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<TextBox x:Name="TxtWebsite" IsEnabled="false" Text="https://t.me/example"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
<TabItem x:Name="TabAssembly">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<Grid Margin="28,24,28,18">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="18"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0">
|
|
<TextBlock Text="Assembly" Style="{StaticResource SectionTitle}"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<Grid Margin="0,0,0,14">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="8"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel>
|
|
<TextBlock Text="Modify assembly" Style="{StaticResource RowTitle}"/>
|
|
<TextBlock Text="Clone or edit file version info" Style="{StaticResource RowHint}"/>
|
|
</StackPanel>
|
|
<ToggleButton Checked="TogAssembly_Changed" Unchecked="TogAssembly_Changed" x:Name="TogAssembly" Grid.Column="1"
|
|
Style="{StaticResource ToggleSwitch}" VerticalAlignment="Center"/>
|
|
<Button Click="BtnClone_Click" x:Name="BtnClone" Grid.Column="3" Content="Clone from EXE"
|
|
Style="{StaticResource BtnBase}" IsEnabled="false"/>
|
|
</Grid>
|
|
<TextBlock Text="Product name" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmProduct" IsEnabled="false" Margin="0,0,0,10"/>
|
|
<TextBlock Text="Description" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmDescrip" IsEnabled="false" Margin="0,0,0,10"/>
|
|
<TextBlock Text="Company" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmCompany" IsEnabled="false"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2">
|
|
<TextBlock Text=" " FontSize="17" Margin="0,0,0,20"/>
|
|
<Border Style="{StaticResource Card}">
|
|
<StackPanel>
|
|
<TextBlock Text="FILE INFO" Style="{StaticResource GroupTitle}"/>
|
|
<TextBlock Text="Copyright" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmCopyright" IsEnabled="false" Margin="0,0,0,10"/>
|
|
<TextBlock Text="Original filename (process name)" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmFilename" IsEnabled="false" Margin="0,0,0,10"/>
|
|
<TextBlock Text="Version" Style="{StaticResource RowHint}" Margin="0,0,0,3"/>
|
|
<TextBox x:Name="TxtAsmVersion" IsEnabled="false"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</TabItem>
|
|
<TabItem x:Name="TabAgreement">
|
|
<Border Background="#0F0F0F" Margin="0">
|
|
<TextBox x:Name="TxtAgreement" Background="Transparent" Foreground="#4A4A4A" BorderThickness="0"
|
|
IsReadOnly="true" TextWrapping="Wrap" AcceptsReturn="true" VerticalScrollBarVisibility="Auto"
|
|
FontFamily="Consolas" FontSize="11.5" Padding="28,24" Text="[Agreement text loaded at runtime]"/>
|
|
</Border>
|
|
</TabItem>
|
|
</TabControl>
|
|
<Border Grid.Row="1" Background="#0E0E0E" BorderBrush="#1E1E1E" BorderThickness="0,1,0,0" Padding="22,16">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="16"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Click="BtnBuildLight_Click" x:Name="BtnBuildLight" Grid.Column="0"
|
|
Style="{StaticResource BuildBtn}" Background="#5C3D8F" Tag="">
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
<TextBlock Text="Build lightweight" FontWeight="SemiBold" VerticalAlignment="Center"/>
|
|
<TextBlock Text=" Around 90 KB" Foreground="#9070C0" FontSize="11"
|
|
VerticalAlignment="Center"/>
|
|
</StackPanel>
|
|
</Button>
|
|
<Button Click="BtnBuildPacked_Click" x:Name="BtnBuildPacked" Grid.Column="2"
|
|
Style="{StaticResource BuildBtn}" Background="#5C3D8F" Tag="">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
<TextBlock Text="Build packaged" FontWeight="SemiBold" VerticalAlignment="Center"/>
|
|
<TextBlock Text=" Around 3.7 MB" Foreground="#9070C0" FontSize="11" VerticalAlignment="Center"/>
|
|
</StackPanel>
|
|
<Border Grid.Column="1" CornerRadius="4" Background="#3D2B60" Padding="7,3" VerticalAlignment="Center">
|
|
<TextBlock Text="RECOMMENDED" Foreground="#A87FE8" FontSize="9.5" FontWeight="Bold"/>
|
|
</Border>
|
|
</Grid>
|
|
</Button>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</Window> |