25 lines
1.4 KiB
XML
25 lines
1.4 KiB
XML
<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="120"/>
|
|
<Setter Property="Margin" Value="10 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"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|