<UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Diagnosis.EventGeneratorView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.Diagnosis"
             xmlns:micro="clr-namespace:Caliburn.Micro"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="10,10,10,10">
            <StackPanel.Resources>
                <Style TargetType="Button" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
                    <Setter Property="Height" Value="40"/>
                    <Setter Property="Width" Value="Auto"/>
                    <Setter Property="Margin" Value="5 0"/>
                    <Setter Property="Padding" Value="15 0"/>
                </Style>
            </StackPanel.Resources>
            <Button Content="Warning Event" micro:Message.Attach="GenWarningEvent"/>
            <Button Content="Alarm Event" micro:Message.Attach="GenAlarmEvent"/>
            <Button Content="Job Done Event" micro:Message.Attach="GenProcessJobDoneEvent"/>
            <Button Content="LoginBySameUser Event" micro:Message.Attach="GenLoginBySameUserEvent"/>
        </StackPanel>
    </Grid>
</UserControl>
