-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
64 lines (53 loc) · 4.02 KB
/
MainWindow.xaml
File metadata and controls
64 lines (53 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Window x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="RedLine Archiver" Height="540" Width="500"
ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen">
<Grid Background="#2c3e50">
<StackPanel Margin="20,20,20,10">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,3">
<TextBlock Text="RU" Foreground="White" Cursor="Hand" MouseLeftButtonDown="ChangeLanguage_Click" Tag="RU" FontSize="14" FontWeight="Bold"/>
<TextBlock Text=" | " Foreground="Gray" FontSize="14" Margin="5,0"/>
<TextBlock Text="EN" Foreground="White" Cursor="Hand" MouseLeftButtonDown="ChangeLanguage_Click" Tag="EN" FontSize="14" FontWeight="Bold"/>
<TextBlock Text=" | " Foreground="Gray" FontSize="14" Margin="5,0"/>
<TextBlock Text="TR" Foreground="White" Cursor="Hand" MouseLeftButtonDown="ChangeLanguage_Click" Tag="TR" FontSize="14" FontWeight="Bold"/>
</StackPanel>
<TextBlock Name="lblTitle" Text="REDLINE ARCHIVER" FontSize="28" FontWeight="Bold"
HorizontalAlignment="Center" Foreground="#ecf0f1" FontFamily="Consolas"/>
<TextBlock Name="lblSubtitle" Text="Sıkıştırılmış Klasör Şifreleme Sistemi" FontSize="12"
HorizontalAlignment="Center" Foreground="#bdc3c7" Margin="0,0,0,20"/>
<Border Name="dropZone" Height="150" Background="#34495e" CornerRadius="10"
BorderBrush="#e74c3c" BorderThickness="2" AllowDrop="True" Drop="dropZone_Drop">
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="📂" FontSize="40" HorizontalAlignment="Center"/>
<TextBlock Name="txtDropInfo" Text="DOSYA VEYA KLASÖRÜ BURAYA SÜRÜKLE"
Foreground="White" FontWeight="Bold" Margin="0,10,0,0"/>
<TextBlock Name="txtSelectedPath" Text="..." Foreground="#95a5a6"
FontSize="10" Margin="0,5,0,0" TextWrapping="Wrap" MaxWidth="400" HorizontalAlignment="Center"/>
</StackPanel>
</Border>
<TextBlock Name="lblEngine" Text="Şifreleme Motoru:" Foreground="#ecf0f1" Margin="0,15,0,5"/>
<ComboBox Name="cmbAlgo" Height="30" SelectedIndex="4">
<ComboBoxItem Content="AES-256 (Military Standard)"/>
<ComboBoxItem Content="TripleDES"/>
<ComboBoxItem Content="DES"/>
<ComboBoxItem Content="RC2"/>
<ComboBoxItem Content="REDLINE XOR (Custom Algorithm)"/>
</ComboBox>
<TextBlock Name="lblPassword" Text="Şifre Belirle:" Foreground="#ecf0f1" Margin="0,10,0,5"/>
<PasswordBox Name="txtPassword" Height="30" Margin="0,0,0,20" FontSize="16" HorizontalContentAlignment="Center"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Name="btnEncrypt" Grid.Column="0" Content="🔒 SIKIŞTIR & KİLİTLE" Height="50" Margin="0,0,5,0"
Background="#c0392b" Foreground="White" FontWeight="Bold" FontSize="13" Click="Encrypt_Click" BorderThickness="0"/>
<Button Name="btnDecrypt" Grid.Column="1" Content="🔓 KİLİDİ AÇ & ÇIKART" Height="50" Margin="5,0,0,0"
Background="#27ae60" Foreground="White" FontWeight="Bold" FontSize="13" Click="Decrypt_Click" BorderThickness="0"/>
</Grid>
<TextBlock Name="txtStatus" Text="Hazır." Foreground="#f1c40f"
HorizontalAlignment="Center" Margin="0,15,0,0" FontWeight="Bold"/>
</StackPanel>
</Grid>
</Window>