view Messaging/Client/UI/MainWindow.xaml @ 30:8d574f2d4174

Cleaned up client
author adminsh@apollo
date Wed, 21 Mar 2012 22:26:48 +0000
parents
children 7d9de5746f18
line wrap: on
line source

<metro:Window x:Class="Client.UI.MainWindow"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:metro="http://schemas.codeplex.com/elysium/theme"
              Title="Messaging Client"
              Width="250"
              Height="350"
              Icon="upload.ico">
    <TabControl Margin="{Binding Source={x:Static metro:Parameters.Instance}, Path=BoldPadding, Mode=OneWay}">
        <TabItem Header="postman">
            <Grid HorizontalAlignment="Center">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Button Name="btnMsmq"
                        Grid.Row="0"
                        Grid.Column="0"
                        Margin="10"
                        Click="btnMsmq_Click"
                        Content="Msmq" />
                <Button Name="btnRabbit"
                        Grid.Row="1"
                        Grid.Column="0"
                        Margin="10"
                        Click="BtnRabbitClick"
                        Content="RabbitMq" />
                <Button Name="btnZeroMq"
                        Grid.Row="2"
                        Grid.Column="0"
                        Margin="10"
                        Content="0MQ" Click="btnZeroMq_Click" />
                <Button Name="btnSockets"
                        Grid.Row="3"
                        Grid.Column="0"
                        Margin="10"
                        Content="Send All" Click="btnSockets_Click" />
            </Grid>
        </TabItem>
    </TabControl>
</metro:Window>