mirror of
https://github.com/MaxiFan/TunnelX.git
synced 2026-05-17 21:14:37 +03:00
85 lines
3.5 KiB
XML
85 lines
3.5 KiB
XML
<Window x:Class="AppTunnel.LogWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="TunnelX — جزئیات عملکرد"
|
|
Width="400" Height="600"
|
|
MinWidth="350" MinHeight="400"
|
|
WindowStartupLocation="Manual"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
FlowDirection="RightToLeft"
|
|
MouseLeftButtonDown="OnTitleBarMouseDown">
|
|
|
|
<Border Background="{StaticResource BackgroundBrush}"
|
|
CornerRadius="12"
|
|
BorderBrush="{StaticResource CardBrush}"
|
|
BorderThickness="1">
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="Black" BlurRadius="20" Opacity="0.5" ShadowDepth="0"/>
|
|
</Border.Effect>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Title Bar -->
|
|
<Border Grid.Row="0" Background="{StaticResource SurfaceBrush}"
|
|
CornerRadius="12,12,0,0"
|
|
Padding="16,12"
|
|
MouseLeftButtonDown="OnTitleBarMouseDown">
|
|
<Grid>
|
|
<TextBlock Text="🔍 جزئیات عملکرد — TunnelX"
|
|
FontSize="14"
|
|
FontWeight="SemiBold"
|
|
Foreground="{StaticResource TextPrimaryBrush}"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<Button Content="✕"
|
|
Click="OnCloseClick"
|
|
Style="{StaticResource WindowControlButton}"
|
|
Width="32" Height="24"
|
|
FontSize="13"
|
|
HorizontalAlignment="Right"
|
|
FlowDirection="LeftToRight"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- Log Content -->
|
|
<Border Grid.Row="1" Margin="12">
|
|
<TextBox x:Name="LogTextBox"
|
|
Background="{StaticResource SurfaceBrush}"
|
|
Foreground="{StaticResource TextPrimaryBrush}"
|
|
BorderThickness="0"
|
|
FontFamily="Consolas"
|
|
FontSize="11"
|
|
Padding="12"
|
|
IsReadOnly="True"
|
|
TextWrapping="Wrap"
|
|
FlowDirection="LeftToRight"
|
|
VerticalScrollBarVisibility="Auto"/>
|
|
</Border>
|
|
|
|
<!-- Footer Actions -->
|
|
<Border Grid.Row="2" Background="{StaticResource SurfaceBrush}"
|
|
CornerRadius="0,0,12,12"
|
|
Padding="12,10">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<Button Content="🗑 پاک کردن"
|
|
Click="OnClearClick"
|
|
Style="{StaticResource SecondaryButton}"
|
|
Padding="16,6"
|
|
Margin="0,0,8,0"/>
|
|
<Button Content="📋 کپی"
|
|
Click="OnCopyClick"
|
|
Style="{StaticResource SecondaryButton}"
|
|
Padding="16,6"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|