Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

1.5 KB
Raw Blame
<!-- Asked when the main window closes while AppSettings.CloseAction is Ask: keep Filee in the tray or quit, with
     "Don't ask again" (Settings → General changes it later). -->
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="Filee.App.Views.CloseAskWindow"
        Title="Filee"
        Icon="avares://Filee/Assets/Icons/filee.ico"
        Width="440"
        SizeToContent="Height"
        CanResize="False"
        WindowStartupLocation="CenterOwner"
        ShowInTaskbar="False">
  <StackPanel Margin="22" Spacing="14">
    <StackPanel Spacing="4">
      <TextBlock Classes="h2" Text="{DynamicResource close.title}" />
      <TextBlock Classes="caption" TextWrapping="Wrap" Text="{DynamicResource close.text}" />
    </StackPanel>
    <CheckBox x:Name="DontAsk" Content="{DynamicResource close.dont_ask}" />
    <!-- Translated actions can need a second row; never push an action outside the dialog. -->
    <WrapPanel HorizontalAlignment="Right">
      <Button MinWidth="88" Margin="0,4,8,0" HorizontalContentAlignment="Center" Content="{DynamicResource common.cancel}"
              Click="OnCancel" IsCancel="True" />
      <Button MinWidth="88" Margin="0,4,8,0" HorizontalContentAlignment="Center" Content="{DynamicResource close.quit}" Click="OnQuit" />
      <Button Classes="accent" MinWidth="88" Margin="0,4,0,0" HorizontalContentAlignment="Center" Content="{DynamicResource close.tray}"
              Click="OnTray" IsDefault="True" />
    </WrapPanel>
  </StackPanel>
</Window>