ShutdownView.xaml 1.1 KB

1234567891011121314151617181920212223
  1. <UserControl x:Class="FurnaceUI.Views.Maintenances.ShutdownView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:FurnaceUI.Views.Maintenances" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:micro="http://www.caliburn.org"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid>
  10. <Button Width="260" Height="110" Margin="0,0,6,0">
  11. <Button.Content>
  12. <TextBlock Text="ShutDown" FontSize="25"></TextBlock>
  13. </Button.Content>
  14. <i:Interaction.Triggers>
  15. <i:EventTrigger EventName="Click">
  16. <micro:ActionMessage MethodName="ShutDown">
  17. </micro:ActionMessage>
  18. </i:EventTrigger>
  19. </i:Interaction.Triggers>
  20. </Button>
  21. </Grid>
  22. </UserControl>