| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <Window x:Class="DbReload.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:DbReload"
- mc:Ignorable="d"
- Title="PRS Recovery Utility" Height="450" Width="800">
- <Window.DataContext>
- <local:MainViewModel />
- </Window.DataContext>
- <Grid Margin="4">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
-
- <Label Grid.Row="0"
- Grid.Column="0"
- Content="SQLite File" />
- <TextBox Grid.Row="0"
- Grid.Column="1"
- IsReadOnly="True"
- Text="{Binding SqLiteFile}"
- VerticalContentAlignment="Center"
- Background="LightYellow"
- Margin="0,0,4,4"/>
- <Button Grid.Row="0"
- Grid.Column="2"
- Content="Select"
- Command="{Binding CreateSQLiteFileCommand}"
- Margin="0,0,0,4"
- Padding="5"/>
-
- <Label Grid.Row="1"
- Grid.Column="0"
- Content="Log Folder" />
- <ListBox Grid.Row="1"
- Grid.Column="1"
- ItemsSource="{Binding LogFiles}"
- Background="LightYellow"
- Margin="0,0,4,4"/>
- <Button Grid.Row="1"
- Grid.Column="2"
- Content="Select"
- Command="{Binding SelectLogFilesCommand}"
- Margin="0,0,0,4"
- Padding="5"/>
-
- <Label Grid.Row="2"
- Grid.Column="0"
- Content="Progress" />
- <TextBox Grid.Row="2"
- Grid.Column="1"
- Text="{Binding Progress}"
- VerticalContentAlignment="Center"
- IsReadOnly="True"
- Background="WhiteSmoke"
- Margin="0,0,4,0"/>
- <Button Grid.Row="2"
- Grid.Column="2"
- Content="Go!"
- Command="{Binding GoCommand}"
- Padding="5"/>
- </Grid>
- </Window>
|