-
-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathMainWindow.xaml
41 lines (34 loc) · 2.33 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
38
39
40
41
<Window x:Class="S7ProjectBlockComparer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:avalonEdit="clr-namespace:ICSharpCode.AvalonEdit;assembly=ICSharpCode.AvalonEdit"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="MainWindow" Height="509.25" Width="637">
<xctk:BusyIndicator x:Name="busy">
<xctk:BusyIndicator.BusyContent>
<StackPanel>
<TextBlock Text="Processing Block: " />
<TextBlock Name="akBlock" Text="" />
</StackPanel>
</xctk:BusyIndicator.BusyContent>
<Grid>
<Border Height="25" Margin="10,10,74,0" VerticalAlignment="Top" BorderBrush="Black" BorderThickness="1">
<TextBlock TextWrapping="NoWrap" Name="prj1" VerticalAlignment="Center" />
</Border>
<Button x:Name="cmdPrj1" Content="..." HorizontalAlignment="Right" Height="25" Margin="0,10,10,0" VerticalAlignment="Top" Width="56" Click="cmdPrj1_Click"/>
<Border Height="25" Margin="10,40,74,0" VerticalAlignment="Top" BorderBrush="Black" BorderThickness="1">
<TextBlock TextWrapping="NoWrap" Name="prj2" VerticalAlignment="Center" />
</Border>
<Button x:Name="cmdPrj2" Content="..." HorizontalAlignment="Right" Height="25" Margin="0,40,10,0" VerticalAlignment="Top" Width="56" Click="cmdPrj2_Click"/>
<Button x:Name="cmdComp" Content="Compare" Height="33" Margin="10,70,10,0" VerticalAlignment="Top" Click="cmdComp_Click"/>
<ListBox x:Name="lstBlocks" HorizontalAlignment="Left" Margin="10,108,0,10" Width="155" MouseDoubleClick="lstBlocks_MouseDoubleClick" />
<avalonEdit:TextEditor Margin="175,108,10,10" Name="txtResult" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
AllowDrop="True"
FontFamily="Consolas"
FontSize="10pt"
ShowLineNumbers="True"
Visibility="Visible" />
</Grid>
</xctk:BusyIndicator>
</Window>