-
Notifications
You must be signed in to change notification settings - Fork 21
/
MainWindow.xaml
37 lines (33 loc) · 1.7 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Window
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:FindText.Wpf"
xmlns:wpf="clr-namespace:DotNetBrowser.Wpf;assembly=DotNetBrowser.Wpf"
x:Class="FindText.Wpf.MainWindow"
mc:Ignorable="d"
Title="MainWindow" Height="677" Width="1269" Closing="Window_Closing">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25*" />
<RowDefinition Height="30
" />
</Grid.RowDefinitions>
<wpf:BrowserView Name="browserView" Grid.Row="0" />
<Grid Name="gridPanel" Grid.Row="1" Height="30">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150*" />
<ColumnDefinition Width="76" />
<ColumnDefinition Width="76" />
<ColumnDefinition Width="400*" />
</Grid.ColumnDefinitions>
<TextBox x:Name="textBox" Grid.Column="0" Height="22" TextWrapping="Wrap" Margin="20, 4, 15, 4"
Text="DotNetBrowser" />
<Button x:Name="findButton" Grid.Column="1" Content="Find/Next" HorizontalAlignment="Center"
VerticalAlignment="Center" Width="75" Height="22" Click="findButton_Click" Margin="0,0,1,0" />
<Button x:Name="clearButton" Grid.Column="2" Content="Clear" HorizontalAlignment="Center"
VerticalAlignment="Center" Width="75" Height="22" Click="clearButton_Click" Margin="1,0,0,0" />
</Grid>
</Grid>
</Window>