MenuMotion.xaml 2.45 KB
<UserControl x:Class="FLY.Thick.Base.UI.UiModule.MenuMotion"
             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:FLY.Thick.Base.UI.UiModule"
             xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel>
        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="White" 
                Click="btnScanClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="TumblrReblog" />
                <TextBlock Text="扫描" Foreground="White"/>
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="Red"
                Click="btnStopClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="CloseCircle" />
                <TextBlock Text="停止" Foreground="Red"/>
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="White"
                Click="btnOrgClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="Adjust" />
                <TextBlock Text="归零" Foreground="White"/>
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="White"
                Click="btnForwClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="ArrowRightBoldCircle" />
                <TextBlock Text="正行" Foreground="White"/>
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="White" 
                Click="btnBackwClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="ArrowLeftBoldCircle" />
                <TextBlock Text="反行" Foreground="White"/>
            </StackPanel>
        </Button>
    </StackPanel>
</UserControl>