PageBoostStation2.xaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <Page x:Class="NEIntelligentControl2.Pages.BoostStation.PageBoostStation2"
  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:NEIntelligentControl2.Pages.BoostStation"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="PageBoostStation2" Background="#FF0B2F6A" Loaded="Page_Loaded" Unloaded="Page_Unloaded">
  10. <Page.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/Res/Menu.xaml"/>
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </Page.Resources>
  17. <Grid>
  18. <Frame x:Name="_MainFrame" NavigationUIVisibility="Hidden"/>
  19. <Menu HorizontalAlignment="Right" VerticalAlignment="Top" Background="{x:Null}">
  20. <MenuItem x:Name="m1">
  21. <MenuItem.Header>
  22. <ContentControl Width="19" Height="17" Template="{StaticResource btmenu}"/>
  23. </MenuItem.Header>
  24. <MenuItem Header="添加升压站" Click="Button_Click" Tag="add">
  25. <MenuItem.Icon>
  26. <ContentControl Width="17" Height="17" Template="{StaticResource add}"/>
  27. </MenuItem.Icon>
  28. </MenuItem>
  29. <MenuItem Header="编辑升压站" Click="Button_Click" Tag="edit">
  30. <MenuItem.Icon>
  31. <ContentControl Width="16" Height="16" Template="{StaticResource edit}"/>
  32. </MenuItem.Icon>
  33. </MenuItem>
  34. <MenuItem Header="删除升压站" Click="Button_Click" Tag="remove">
  35. <MenuItem.Icon>
  36. <ContentControl Width="17" Height="17" Template="{StaticResource remove}"/>
  37. </MenuItem.Icon>
  38. </MenuItem>
  39. <Separator/>
  40. <MenuItem Header="添加二次图" Click="Button_Click" Tag="addsub"/>
  41. <MenuItem Header="管理二次图" Click="Button_Click" Tag="manage"/>
  42. </MenuItem>
  43. <MenuItem x:Name="m2">
  44. <MenuItem.Header>
  45. <ContentControl Width="19" Height="17" Template="{StaticResource btmenu}"/>
  46. </MenuItem.Header>
  47. <MenuItem Header="大图标" Click="Button_Click" Tag="big"/>
  48. <MenuItem Header="中图标" Click="Button_Click" Tag="medium"/>
  49. <MenuItem Header="小图标" Click="Button_Click" Tag="small"/>
  50. </MenuItem>
  51. </Menu>
  52. </Grid>
  53. </Page>