30
|
1 <metro:Window x:Class="Client.UI.MainWindow"
|
|
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4 xmlns:metro="http://schemas.codeplex.com/elysium/theme"
|
|
5 Title="Messaging Client"
|
|
6 Width="250"
|
|
7 Height="350"
|
|
8 Icon="upload.ico">
|
|
9 <TabControl Margin="{Binding Source={x:Static metro:Parameters.Instance}, Path=BoldPadding, Mode=OneWay}">
|
|
10 <TabItem Header="postman">
|
|
11 <Grid HorizontalAlignment="Center">
|
|
12 <Grid.ColumnDefinitions>
|
|
13 <ColumnDefinition Width="*" />
|
|
14 </Grid.ColumnDefinitions>
|
|
15 <Grid.RowDefinitions>
|
|
16 <RowDefinition Height="*" />
|
|
17 <RowDefinition Height="*" />
|
|
18 <RowDefinition Height="*" />
|
|
19 <RowDefinition Height="*" />
|
|
20 </Grid.RowDefinitions>
|
|
21 <Button Name="btnMsmq"
|
|
22 Grid.Row="0"
|
|
23 Grid.Column="0"
|
|
24 Margin="10"
|
|
25 Click="btnMsmq_Click"
|
|
26 Content="Msmq" />
|
|
27 <Button Name="btnRabbit"
|
|
28 Grid.Row="1"
|
|
29 Grid.Column="0"
|
|
30 Margin="10"
|
|
31 Click="BtnRabbitClick"
|
|
32 Content="RabbitMq" />
|
|
33 <Button Name="btnZeroMq"
|
|
34 Grid.Row="2"
|
|
35 Grid.Column="0"
|
|
36 Margin="10"
|
|
37 Content="0MQ" Click="btnZeroMq_Click" />
|
|
38 <Button Name="btnSockets"
|
|
39 Grid.Row="3"
|
|
40 Grid.Column="0"
|
|
41 Margin="10"
|
|
42 Content="Send All" Click="btnSockets_Click" />
|
|
43 </Grid>
|
|
44 </TabItem>
|
|
45 </TabControl>
|
|
46 </metro:Window>
|