2017-08-22 10:29:00 +02:00
|
|
|
<Window x:Class="SafeExamBrowser.UserInterface.Classic.BrowserWindow"
|
|
|
|
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:SafeExamBrowser.UserInterface.Classic"
|
2017-11-28 08:39:59 +01:00
|
|
|
mc:Ignorable="d" Title="BrowserWindow" Background="#FFF0F0F0" Height="500" Width="500" WindowState="Maximized" Icon=".\Images\SafeExamBrowser.ico">
|
|
|
|
<Window.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
<ResourceDictionary Source="./Templates/Buttons.xaml" />
|
|
|
|
<ResourceDictionary Source="./Templates/Colors.xaml" />
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
</ResourceDictionary>
|
|
|
|
</Window.Resources>
|
2017-08-22 10:29:00 +02:00
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
2017-11-28 08:39:59 +01:00
|
|
|
<RowDefinition Height="Auto" />
|
2017-08-22 10:29:00 +02:00
|
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
2017-11-28 08:39:59 +01:00
|
|
|
<Border Grid.Row="0" BorderBrush="LightGray" BorderThickness="0 0 0 1">
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<TextBox Grid.Column="0" x:Name="UrlTextBox" Height="25" HorizontalAlignment="Stretch" Padding="5,0" Margin="10" VerticalContentAlignment="Center" />
|
|
|
|
<Button Grid.Column="1" x:Name="ReloadButton" Height="30" HorizontalAlignment="Center" Margin="2.5,5,2.5,5" Template="{StaticResource BrowserButton}" VerticalAlignment="Center" />
|
|
|
|
<Button Grid.Column="2" x:Name="BackButton" Height="30" HorizontalAlignment="Center" Margin="2.5,5,2.5,5" Template="{StaticResource BrowserButton}" VerticalAlignment="Center" />
|
|
|
|
<Button Grid.Column="3" x:Name="ForwardButton" Height="30" HorizontalAlignment="Center" Margin="2.5,5,5,5" Template="{StaticResource BrowserButton}" VerticalAlignment="Center" />
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
2017-08-22 10:29:00 +02:00
|
|
|
<WindowsFormsHost Grid.Row="1" x:Name="BrowserControlHost" />
|
|
|
|
</Grid>
|
|
|
|
</Window>
|