-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
97 lines (83 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<Window x:Class="MVIOperationsSystem.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sf="http://schemas.syncfusion.com/wpf"
xmlns:c="clr-namespace:MVIOperationsSystem.Controls"
xmlns:m="clr-namespace:MVIOperationsSystem.Views"
xmlns:cv="clr-namespace:MVIOperationsSystem.ViewModels.CustomViewModels"
DataContext="{Binding MainViewModel, Source={StaticResource Locator}}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition Width="132"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="25"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="30"></RowDefinition>
</Grid.RowDefinitions>
<Image Source="patrol.jpg"
Grid.RowSpan="6"
Grid.ColumnSpan="6"
Stretch="UniformToFill"></Image>
<m:MainMenuView
Grid.Row="0"
Grid.ColumnSpan="6">
</m:MainMenuView>
<sf:ButtonAdv
x:Name="SignInButton"
Grid.Row="0"
Grid.Column="6"
Command="{Binding LoginCommand}"
Label="{Binding LabelText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
Visibility="{Binding LoginButtonVisibility}"
HorizontalAlignment="Left"
Height="25"
VerticalAlignment="Top"
Width="100"
Background="SaddleBrown"
Foreground="LightGoldenrodYellow"
BorderBrush="Black" IconWidth="0" IconHeight="0"
/>
<cv:StatusBarView
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="6"
>
</cv:StatusBarView>
<!--
<Image
x:Name="NetworkConnectionRed"
Visibility="{Binding IsRedLightVisible, Mode=TwoWay}"
Grid.Row="2"
Grid.Column="6"
HorizontalAlignment="Right"
Height="25"
Width="50"
Margin="0,0,10,0"
Source="/MVIOperationsSystem;component/Resources/RedLight.png"
ToolTip="Edit selected district" />
<Image
x:Name="NetworkConnectionGreen"
Visibility="{Binding IsGreenLightVisible, Mode=TwoWay}"
Grid.Row="2"
Grid.Column="6"
HorizontalAlignment="Right"
Height="25"
Width="50"
Margin="0,0,10,0"
Source="/MVIOperationsSystem;component/Resources/GreenLight.png"
ToolTip="Edit selected district" />-->
<c:MVIContentPresenter
x:Name="ContentPresenter"
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="6"
ContentChanged="ContentPresenter_ContentChanged"
/>
</Grid>
</Window>