MainWindow.xaml 1.82 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<flyctrllib:WindowBigClose x:Class="FLY.Thick.Blowing.UI.Fix.Server.MainWindow"
        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"
        Title="MainWindow" 
        ResizeMode="CanMinimize" Icon="/FLY.Thick.Blowing.UI.Fix.Server;component/BlowingFixServer.ico">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/ThickTcpUiInWindow;component/Converter/Dictionary_MyConv.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" >
        <StackPanel Orientation="Vertical" >
                <StackPanel Orientation="Vertical" Margin="5,20">
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="本地IP &amp;端口" />
                        <StackPanel Orientation="Horizontal">
                            <TextBox Style="{StaticResource ResourceKey=TextBoxStyle_FieldContent}" Text="{Binding LocalEP, Converter={StaticResource ResourceKey=ipepconv}}"   Tag="Full" MinWidth="250" Width="378" />
                        </StackPanel>
                    </StackPanel>
                    <Button Style="{StaticResource ButtonStyle2}" Content="保存" Width="AUTO" Click="button_save_Click"/>

                </StackPanel>
        </StackPanel>
    </Grid>
</flyctrllib:WindowBigClose>