WdFlyADAccess.xaml 2.5 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1
<flyctrllib:WindowBigClose x:Class="FLY.Thick.Base.UI.WdFlyADAccess"
潘栩锋's avatar
潘栩锋 committed
2 3 4 5
                xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
潘栩锋's avatar
潘栩锋 committed
6
        xmlns:local="clr-namespace:FLY.Thick.Base.UI"
潘栩锋's avatar
潘栩锋 committed
7 8
        Title="Window_graphfix" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  
                 
9
        SizeToContent="WidthAndHeight" d:DataContext="{d:DesignInstance local:WdFlyADAccessVm}">
潘栩锋's avatar
潘栩锋 committed
10 11 12 13 14
    <Window.Resources>
        <ResourceDictionary>
            <local:BytesConverter x:Key="bytesconv"/>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
潘栩锋's avatar
潘栩锋 committed
15
                <!--<ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Culture/StringResource.zh-CN.xaml"/>-->
潘栩锋's avatar
潘栩锋 committed
16 17 18 19 20 21
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

            <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" >
                <StackPanel Orientation="Vertical" Margin="5,20">
22 23
                    <StackPanel Orientation="Vertical" Margin="{StaticResource ControlMargin}">
                <TextBlock Style="{StaticResource Styles.Text.FieldHeader}" Text="序列码" />
潘栩锋's avatar
潘栩锋 committed
24
                        <StackPanel Orientation="Horizontal">
25
                            <TextBlock Style="{StaticResource TextBlockStyle_FieldContent}" Text="{Binding Code, Converter={StaticResource bytesconv}}"   Tag="Full" MinWidth="400" />
潘栩锋's avatar
潘栩锋 committed
26 27 28
                        </StackPanel>

                    </StackPanel>
29 30 31 32
            <StackPanel Orientation="Vertical" Margin="{StaticResource ControlMargin}">
                <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="授权码" />
                <StackPanel Orientation="Horizontal">
                    <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding Access, Converter={StaticResource bytesconv}}" Tag="Full"/>
潘栩锋's avatar
潘栩锋 committed
33
                </StackPanel>
34 35 36
            </StackPanel>
            <Button Style="{StaticResource Styles.Button.Apply}" Command="{Binding ApplyCmd}" />
        </StackPanel>
潘栩锋's avatar
潘栩锋 committed
37 38 39
            </Grid>

</flyctrllib:WindowBigClose>