github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/windows/WpfPrompter/WpfApplication1/MainWindow.xaml (about)

     1  <Window x:Class="WpfApplication1.MainWindow"
     2          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     3          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     4          xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     5          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     6          xmlns:local="clr-namespace:WpfApplication1"
     7          mc:Ignorable="d"
     8          Height="350" Width="620"
     9          WindowStartupLocation="CenterScreen"
    10          Loaded="Window_Loaded"
    11      >
    12      <Grid Background="WhiteSmoke" Margin="0,0,0,0">
    13          <Grid.ColumnDefinitions>
    14              <ColumnDefinition Width="128"/>
    15              <ColumnDefinition Width="440*"/>
    16              <ColumnDefinition Width="17"/>
    17          </Grid.ColumnDefinitions>
    18          <Grid.RowDefinitions>
    19              <RowDefinition Height="65"/>
    20              <RowDefinition Height="199*"/>
    21              <RowDefinition Height="44"/>
    22          </Grid.RowDefinitions>
    23          <TextBlock x:Name="title" FontWeight="Bold" HorizontalAlignment="Left" Margin="0,18,0,0" TextWrapping="Wrap" Text="Keybase Update" VerticalAlignment="Top" Grid.Column="1" Grid.Row="0" Height="16" />
    24          <TextBlock x:Name="message" HorizontalAlignment="Left" Margin="0,39,0,0" TextWrapping="Wrap" Text="The version you are currently running is outdated." VerticalAlignment="Top" Grid.Column="1" Height="16"/>
    25          <Image x:Name="logo" Source="pack://application:,,,/Resources/icon_128x128.png" HorizontalAlignment="Left" Height="100" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Grid.RowSpan="2"/>
    26          <TextBox x:Name="description" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="extended\ndescription" VerticalAlignment="Stretch" IsReadOnly="True" FontFamily="Consolas" Grid.Column="1" Grid.Row="1" Margin="0,0,0,0.5"/>
    27          <CheckBox x:Name="silent" Content="Update automatically" HorizontalAlignment="Left" Margin="0,9.5,0,18.5" VerticalAlignment="Center" Grid.Column="1" Grid.Row="2" Height="16" Width="133" />
    28          <Button x:Name="apply" Content="Apply" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="65" Click="apply_Click" Grid.Column="1" Grid.Row="2" Margin="0,0,97,12.5" Height="20" IsDefault="True"/>
    29          <ComboBox x:Name="snoozeDuration" Grid.Column="1" HorizontalAlignment="Right" Margin="0,0,0,12.5" Grid.Row="2" VerticalAlignment="Bottom" Width="84" DropDownClosed="snoozeDuration_DropDownClosed">
    30              <ComboBoxItem Content="Snooze..." IsSelected="True"/>
    31              <ComboBoxItem Content="1 Day" x:Name="snooze"/>
    32              <ComboBoxItem Content="7 Days"  x:Name="snooze7" />
    33          </ComboBox>
    34      </Grid>
    35  </Window>