-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
67 lines (59 loc) · 2.65 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Window x:Class="MFService.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:MFService"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"
Title="Диагностика" WindowStartupLocation="CenterScreen"
Height="650" Width="1000"
MinHeight="200" MinWidth="300">
<Grid Height="auto" Width="auto" Margin="11,11,11,0">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Grid Name="grid" Margin="11">
<local:StartWindow/>
</Grid>
<StatusBar Name="sbar" Grid.Row="1" Height="25"
BorderThickness="0,1,0,0">
<StatusBar.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</StatusBar.ItemsPanel>
<StatusBarItem>
<TextBlock Name="sbCanAdapter" />
</StatusBarItem>
<Separator HorizontalAlignment="Right" />
<StatusBarItem Grid.Column="1">
<TextBlock Name="sbCanSpeed" Width="140" />
</StatusBarItem>
<Separator Grid.Column="1" HorizontalAlignment="Right" />
<StatusBarItem Grid.Column="2" >
<StackPanel Orientation="Horizontal">
<TextBlock Name="sbCanRx" Text="Rx: 0" Width="80" />
<TextBlock Name="sbCanTx" Text="Tx: 0" Width="80" />
</StackPanel>
</StatusBarItem>
<Separator Grid.Column="2" HorizontalAlignment="Right" />
<StatusBarItem Grid.Column="3">
<TextBlock Name="sbCanLoad" Width="200" />
</StatusBarItem>
<Separator Grid.Column="3" HorizontalAlignment="Right" />
</StatusBar>
</Grid>
</Window>