<Page x:Class="NEIntelligentControl2.Pages.BoostStation.PageBoostStation2"
      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:NEIntelligentControl2.Pages.BoostStation"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="PageBoostStation2" Background="#FF0B2F6A" Loaded="Page_Loaded" Unloaded="Page_Unloaded">

    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Res/Menu.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            
        </ResourceDictionary>
    </Page.Resources>
    
    <Grid>
        <Frame x:Name="_MainFrame" NavigationUIVisibility="Hidden"/>
        <Menu HorizontalAlignment="Right" VerticalAlignment="Top" Background="{x:Null}">
            <MenuItem x:Name="m1">
                <MenuItem.Header>
                    <ContentControl Width="19" Height="17" Template="{StaticResource btmenu}"/>
                </MenuItem.Header>
                
                <MenuItem Header="添加升压站" Click="Button_Click" Tag="add">
                    <MenuItem.Icon>
                        <ContentControl Width="17" Height="17" Template="{StaticResource add}"/>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="编辑升压站" Click="Button_Click" Tag="edit">
                    <MenuItem.Icon>
                        <ContentControl Width="16" Height="16" Template="{StaticResource edit}"/>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="删除升压站" Click="Button_Click" Tag="remove">
                    <MenuItem.Icon>
                        <ContentControl Width="17" Height="17" Template="{StaticResource remove}"/>
                    </MenuItem.Icon>
                </MenuItem>
                <Separator/>
                <MenuItem Header="添加二次图" Click="Button_Click" Tag="addsub"/>
                <MenuItem Header="管理二次图" Click="Button_Click" Tag="manage"/>
            </MenuItem>

            <MenuItem x:Name="m2">
                <MenuItem.Header>
                    <ContentControl Width="19" Height="17" Template="{StaticResource btmenu}"/>
                </MenuItem.Header>
                
                <MenuItem Header="大图标" Click="Button_Click" Tag="big"/>
                <MenuItem Header="中图标" Click="Button_Click" Tag="medium"/>
                <MenuItem Header="小图标" Click="Button_Click" Tag="small"/>
            </MenuItem>
        </Menu>
    </Grid>
</Page>
