Mercurial > silverbladetech
comparison Messaging/Server/UI/MainWindow.xaml @ 36:c8c79f05d76f
WORKING VERSION! HIGH FIVE!
author | adminsh@apollo |
---|---|
date | Tue, 27 Mar 2012 18:33:44 +0100 |
parents | 83c1f62d9370 |
children |
comparison
equal
deleted
inserted
replaced
35:83c1f62d9370 | 36:c8c79f05d76f |
---|---|
9 Width="700" | 9 Width="700" |
10 Height="475" | 10 Height="475" |
11 MinWidth="700" | 11 MinWidth="700" |
12 MinHeight="475" | 12 MinHeight="475" |
13 DataContext="{Binding MainWindowViewModel, | 13 DataContext="{Binding MainWindowViewModel, |
14 Source={StaticResource Locator}}"> | 14 Source={StaticResource Locator}}" |
15 Icon="mail.ico"> | |
15 | 16 |
16 <Window.Resources> | |
17 <Image x:Key="MailIcon" Source="mail.ico" /> | |
18 </Window.Resources> | |
19 | 17 |
20 <TabControl Margin="{Binding Source={x:Static metro:Parameters.Instance}, Path=BoldPadding, Mode=OneWay}"> | 18 <TabControl Margin="{Binding Source={x:Static metro:Parameters.Instance}, Path=BoldPadding, Mode=OneWay}"> |
21 <TabItem Header="dashboard"> | 19 <TabItem Header="dashboard"> |
22 <Grid HorizontalAlignment="Center"> | 20 <Grid HorizontalAlignment="Center"> |
23 <Grid.ColumnDefinitions> | 21 <Grid.ColumnDefinitions> |
57 IsChecked="{Binding ZeroMqEndPoint.IsListening}" | 55 IsChecked="{Binding ZeroMqEndPoint.IsListening}" |
58 IsEnabled="True" /> | 56 IsEnabled="True" /> |
59 | 57 |
60 <c:MetroTile Grid.Row="1" | 58 <c:MetroTile Grid.Row="1" |
61 Grid.Column="0" | 59 Grid.Column="0" |
60 Margin="10" | |
62 DisplayCount="{Binding MsmqEndPoint.DisplayCount}" | 61 DisplayCount="{Binding MsmqEndPoint.DisplayCount}" |
63 DisplayIcon="{StaticResource Mail}" | 62 DisplayIcon="mail.ico" |
64 DisplayText="{Binding MsmqEndPoint.DisplayText}" | 63 DisplayText="{Binding MsmqEndPoint.DisplayText}" |
65 Margin="10" | |
66 Foreground="White" | |
67 ToolTip="{Binding MsmqEndPoint.ToolTip}" /> | 64 ToolTip="{Binding MsmqEndPoint.ToolTip}" /> |
68 | 65 |
69 | 66 |
70 <c:MetroTile Grid.Row="1" | 67 <c:MetroTile Grid.Row="1" |
71 Grid.Column="1" | 68 Grid.Column="1" |
72 Margin="10" | 69 Margin="10" |
73 Background="{StaticResource MetroGreenBrush}" | 70 Background="{StaticResource MetroGreenBrush}" |
74 DisplayCount="{Binding RabbitEndPoint.DisplayCount}" | 71 DisplayCount="{Binding RabbitEndPoint.DisplayCount}" |
75 DisplayIcon="{StaticResource Mail}" | 72 DisplayIcon="mail.ico" |
76 DisplayText="{Binding RabbitEndPoint.DisplayText}" | 73 DisplayText="{Binding RabbitEndPoint.DisplayText}" |
77 Foreground="White" | |
78 ToolTip="{Binding RabbitEndPoint.ToolTip}" /> | 74 ToolTip="{Binding RabbitEndPoint.ToolTip}" /> |
79 | 75 |
80 <c:MetroTile Grid.Row="1" | 76 <c:MetroTile Grid.Row="1" |
81 Grid.Column="2" | 77 Grid.Column="2" |
82 Margin="10" | 78 Margin="10" |
83 Background="{StaticResource MetroOrangeBrush}" | 79 Background="{StaticResource MetroOrangeBrush}" |
84 DisplayCount="{Binding ZeroMqEndPoint.DisplayCount}" | 80 DisplayCount="{Binding ZeroMqEndPoint.DisplayCount}" |
85 DisplayIcon="{StaticResource Mail}" | 81 DisplayIcon="mail.ico" |
86 DisplayText="{Binding ZeroMqEndPoint.DisplayText}" | 82 DisplayText="{Binding ZeroMqEndPoint.DisplayText}" |
87 Foreground="White" | |
88 RenderTransformOrigin="0.5,0.5" | |
89 ToolTip="{Binding ZeroMqEndPoint.ToolTip}" /> | 83 ToolTip="{Binding ZeroMqEndPoint.ToolTip}" /> |
90 | 84 |
91 <ScrollViewer Grid.Row="2" | 85 <ScrollViewer Grid.Row="2" |
92 Grid.Column="0" | 86 Grid.Column="0" |
93 Xaml:XamlHelper.AutoScroll="{Binding MsmqEndPoint.IsLogChanged}"> | 87 Xaml:XamlHelper.AutoScroll="{Binding MsmqEndPoint.IsLogChanged}"> |