forked from codekaizen/FSharper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
20 lines (20 loc) · 993 Bytes
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Window x:Class="JetBrains.ReSharper.FSharp.LexerVisualization.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Lexer Visualizer" Height="350" Width="525" x:Name="theWindow">
<Grid DataContext="{Binding ElementName=theWindow, Path=.}">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Button Name="btnOpen" Click="OnOpen">Open</Button>
<TextBox AcceptsReturn="True" AcceptsTab="True" Grid.Row="1" Name="tbIn"
Text="{Binding Path=InputText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" FontFamily="Consolas">
</TextBox>
<WebBrowser Grid.Column="1" Name="theBrowser" Grid.Row="1"/>
</Grid>
</Window>