comparison Messaging/Server/UI/MainWindow.xaml @ 29:9919ee227c93

msmq added
author adminsh@apollo
date Wed, 21 Mar 2012 22:09:18 +0000
parents 96fdf58e05b4
children 7d9de5746f18
comparison
equal deleted inserted replaced
28:4c0dea4760c5 29:9919ee227c93
30 </Grid.RowDefinitions> 30 </Grid.RowDefinitions>
31 31
32 <ToggleButton Grid.Row="0" 32 <ToggleButton Grid.Row="0"
33 Grid.Column="0" 33 Grid.Column="0"
34 Margin="10,10,10,0" 34 Margin="10,10,10,0"
35 Content="{Binding SocketEndPoint.IsListening, 35 Content="{Binding MsmqEndPoint.IsListening,
36 Converter={converters:ToggleButtonToTextConverter}}" 36 Converter={converters:ToggleButtonToTextConverter}}"
37 IsChecked="{Binding SocketEndPoint.IsListening}" 37 IsChecked="{Binding MsmqEndPoint.IsListening}"
38 IsEnabled="True" 38 IsEnabled="True"
39 IsThreeState="False" /> 39 IsThreeState="False" />
40 40
41 <ToggleButton Grid.Row="0" 41 <ToggleButton Grid.Row="0"
42 Grid.Column="1" 42 Grid.Column="1"
55 IsEnabled="True" /> 55 IsEnabled="True" />
56 56
57 <c:MessageTile Grid.Row="1" 57 <c:MessageTile Grid.Row="1"
58 Grid.Column="0" 58 Grid.Column="0"
59 Background="{StaticResource MetroPurpleBrush}" 59 Background="{StaticResource MetroPurpleBrush}"
60 DisplayCount="{Binding SocketEndPoint.DisplayCount, 60 DisplayCount="{Binding MsmqEndPoint.DisplayCount,
61 Mode=TwoWay, 61 Mode=TwoWay,
62 UpdateSourceTrigger=PropertyChanged}" 62 UpdateSourceTrigger=PropertyChanged}"
63 DisplayIcon="{StaticResource Mail}" 63 DisplayIcon="{StaticResource Mail}"
64 DisplayText="{Binding SocketEndPoint.DisplayText}" 64 DisplayText="{Binding MsmqEndPoint.DisplayText}"
65 Foreground="White" 65 Foreground="White"
66 ToolTip="{Binding SocketEndPoint.ToolTip}" /> 66 ToolTip="{Binding MsmqEndPoint.ToolTip}" />
67 67
68 <c:MessageTile Grid.Row="1" 68 <c:MessageTile Grid.Row="1"
69 Grid.Column="1" 69 Grid.Column="1"
70 Background="{StaticResource MetroGreenBrush}" 70 Background="{StaticResource MetroGreenBrush}"
71 DisplayCount="{Binding RabbitEndPoint.DisplayCount}" 71 DisplayCount="{Binding RabbitEndPoint.DisplayCount}"
82 DisplayText="{Binding RabbitProtoEndPoint.DisplayText}" 82 DisplayText="{Binding RabbitProtoEndPoint.DisplayText}"
83 Foreground="White" 83 Foreground="White"
84 ToolTip="{Binding RabbitProtoEndPoint.ToolTip}" /> 84 ToolTip="{Binding RabbitProtoEndPoint.ToolTip}" />
85 <ScrollViewer Grid.Row="2" 85 <ScrollViewer Grid.Row="2"
86 Grid.Column="0" 86 Grid.Column="0"
87 Xaml:XamlHelper.AutoScroll="{Binding SocketEndPoint.IsLogChanged}"> 87 Xaml:XamlHelper.AutoScroll="{Binding MsmqEndPoint.IsLogChanged}">
88 <TextBlock Margin="10" 88 <TextBlock Margin="10"
89 Background="{StaticResource MetroGrayBrush}" 89 Background="{StaticResource MetroGrayBrush}"
90 Padding="10" 90 Padding="10"
91 Text="{Binding SocketEndPoint.DisplayLog}" 91 Text="{Binding MsmqEndPoint.DisplayLog}"
92 TextWrapping="Wrap" /> 92 TextWrapping="Wrap" />
93 </ScrollViewer> 93 </ScrollViewer>
94 <ScrollViewer Grid.Row="2" 94 <ScrollViewer Grid.Row="2"
95 Grid.Column="1" 95 Grid.Column="1"
96 Xaml:XamlHelper.AutoScroll="{Binding RabbitEndPoint.IsLogChanged}"> 96 Xaml:XamlHelper.AutoScroll="{Binding RabbitEndPoint.IsLogChanged}">