-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
51 lines (43 loc) · 2.61 KB
/
MainWindow.xaml
File metadata and controls
51 lines (43 loc) · 2.61 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
<Window x:Class="JSONFileExplorer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ID Database Manager" Height="600" Width="800"
WindowStartupLocation="CenterScreen" Background="#1e1e1e">
<Grid Margin="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="*"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<Button Name="btnLoad" Grid.Row="0" Grid.ColumnSpan="2" Content="📂 DATABASE DOSYASINI YÜKLE (.json veya .txt)"
Height="35" Margin="0,0,0,10" Background="#007acc" Foreground="White"
FontWeight="Bold" Click="BtnLoad_Click"/>
<GroupBox Grid.Row="1" Grid.Column="0" Header="Mevcut İçerik" Foreground="#569cd6" Margin="0,0,5,0">
<ListBox Name="lstCurrentIds" Background="#252526" Foreground="#d4d4d4" FontFamily="Consolas"
SelectionMode="Extended"
KeyDown="LstCurrentIds_KeyDown">
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Header="❌ Seçilenleri Sil" Click="BtnDelete_Click"/>
<Separator/>
<MenuItem Header="📋 Seçilenleri Kopyala" Click="BtnCopy_Click"/>
</ContextMenu>
</ListBox.ContextMenu>
</ListBox>
</GroupBox>
<GroupBox Grid.Row="1" Grid.Column="1" Header="Toplu Ekleme (Yapıştır Gitsin)" Foreground="#ce9178" Margin="5,0,0,0">
<TextBox Name="txtBulkInput" AcceptsReturn="True" TextWrapping="Wrap"
Background="#252526" Foreground="#dcdcaa" FontFamily="Consolas"
VerticalScrollBarVisibility="Auto"
ToolTip="Buraya alt alta veya karışık ID'leri yapıştır."/>
</GroupBox>
<StackPanel Grid.Row="2" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
<TextBlock Name="lblStatus" Text="Dosya bekleniyor..." VerticalAlignment="Center" Foreground="Gray" Margin="0,0,10,0" FontWeight="Bold"/>
<Button Name="btnProcess" Content="💾 LİSTEYİ BİRLEŞTİR VE KAYDET" Width="200" Background="#4ec9b0" Foreground="Black" FontWeight="Bold" Click="BtnProcess_Click"/>
</StackPanel>
</Grid>
</Window>