| 1 | <Window x:Class="Zipelo.Desktop.MainWindow" |
| 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | Title="Zipelo" Width="980" Height="740" MinWidth="640" MinHeight="520" |
| 5 | Closing="OnClosing"> |
| 6 | <Grid Margin="28"> |
| 7 | <Grid.RowDefinitions> |
| 8 | <RowDefinition Height="Auto" /> |
| 9 | <RowDefinition Height="Auto" /> |
| 10 | <RowDefinition Height="Auto" /> |
| 11 | <RowDefinition Height="*" /> |
| 12 | <RowDefinition Height="Auto" /> |
| 13 | </Grid.RowDefinitions> |
| 14 | <DockPanel Margin="0,0,0,24"> |
| 15 | <Button DockPanel.Dock="Right" Content="설치 안내" Click="ShowInstallation" Margin="0" /> |
| 16 | <StackPanel> |
| 17 | <TextBlock Text="Zipelo" FontSize="36" FontWeight="Bold" /> |
| 18 | <TextBlock Text="파일을 열고, 간편하게 풀어보세요." Margin="0,4,12,0" /> |
| 19 | </StackPanel> |
| 20 | </DockPanel> |
| 21 | <WrapPanel Grid.Row="1" Margin="0,0,0,20"> |
| 22 | <Button x:Name="OpenButton" Content="압축파일 열기" Click="OpenArchive" |
| 23 | Background="#185ABD" Foreground="White" FontWeight="SemiBold" Margin="0,0,12,8" /> |
| 24 | <Button x:Name="CreateButton" Content="새로 압축하기" Click="CreateArchive" Margin="0,0,12,8" /> |
| 25 | <Button x:Name="RetryCreateButton" Content="생성 다시 시도" Click="RetryCreation" IsEnabled="False" Margin="0,0,12,8" /> |
| 26 | <Button x:Name="ExtractButton" Content="압축 풀기" Click="ExtractArchive" IsEnabled="False" Margin="0,0,12,8" /> |
| 27 | </WrapPanel> |
| 28 | <StackPanel Grid.Row="2" Margin="0,0,0,16"> |
| 29 | <TextBlock x:Name="ArchiveTitle" Text="아직 열린 압축파일이 없습니다." FontSize="20" FontWeight="SemiBold" /> |
| 30 | <TextBlock x:Name="Availability" TextWrapping="Wrap" Text="개발 중인 화면입니다. 압축 엔진 연결 전에는 파일을 처리할 수 없습니다." |
| 31 | Margin="0,8,0,0" /> |
| 32 | </StackPanel> |
| 33 | <Grid Grid.Row="3" Background="White"> |
| 34 | <DataGrid x:Name="Files" AutoGenerateColumns="False" IsReadOnly="True" |
| 35 | CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" |
| 36 | HeadersVisibility="Column" GridLinesVisibility="Horizontal" |
| 37 | RowHeaderWidth="0" BorderBrush="#CFD7E3" RowHeight="40" |
| 38 | EnableRowVirtualization="True" EnableColumnVirtualization="True" |
| 39 | AutomationProperties.Name="압축파일 안의 파일 목록"> |
| 40 | <DataGrid.Columns> |
| 41 | <DataGridTextColumn Header="파일 이름" Binding="{Binding Name}" Width="*" MinWidth="200" /> |
| 42 | <DataGridTextColumn Header="크기" Binding="{Binding Size}" Width="120" /> |
| 43 | <DataGridTextColumn Header="검증 상태" Binding="{Binding Verification}" Width="150" /> |
| 44 | </DataGrid.Columns> |
| 45 | </DataGrid> |
| 46 | <TextBlock x:Name="EmptyState" Text="압축파일을 열면 여기에 파일 목록이 표시됩니다." |
| 47 | HorizontalAlignment="Center" VerticalAlignment="Center" Margin="24" |
| 48 | IsHitTestVisible="False" /> |
| 49 | </Grid> |
| 50 | <StackPanel Grid.Row="4" Margin="0,20,0,0"> |
| 51 | <TextBlock x:Name="Status" Text="작업 대기 중" AutomationProperties.LiveSetting="Polite" /> |
| 52 | <TextBlock x:Name="CreationSelection" TextWrapping="Wrap" Margin="0,8,0,0" /> |
| 53 | <TextBlock Text="새 결과 폴더 이름 (기존 대상과 병합하지 않음)" Margin="0,8,0,0" /> |
| 54 | <TextBox x:Name="ExtractionName" Text="압축 푼 파일" AutomationProperties.Name="새 결과 폴더 이름" /> |
| 55 | <TextBlock x:Name="ExtractionSelection" TextWrapping="Wrap" /> |
| 56 | <TextBlock x:Name="ResultSummary" Margin="0,8,0,0" /> |
| 57 | <ProgressBar x:Name="Progress" Height="8" Margin="0,12,0,16" Minimum="0" Maximum="100" |
| 58 | AutomationProperties.Name="작업 진행률" /> |
| 59 | <Button x:Name="StopButton" Content="작업 중지" Click="StopJob" IsEnabled="False" HorizontalAlignment="Left" /> |
| 60 | </StackPanel> |
| 61 | </Grid> |
| 62 | </Window> |