<flyctrllib:WindowBigClose x:Class="FLY.Weight.UI.Client.UiModule.WdThickness" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary" xmlns:local="clr-namespace:FLY.Weight.UI.Client" mc:Ignorable="d" Title="Window_Thickness" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight" MinWidth="300"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/FLY.Weight.UI.Client;component/Themes/UcWeighterItemStyle.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <StackPanel Margin="5,20"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource Styles.Text.FieldHeader}" Text="厚度设置" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="44" /> </StackPanel> <Grid > <Grid.ColumnDefinitions> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="auto"/> </Grid.ColumnDefinitions> <StackPanel Grid.Column="1"> <StackPanel Orientation="Horizontal" > <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="吹膜宽度" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding FilmWidth}"/> <TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="mm" /> </StackPanel> </StackPanel> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="切边" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding RimWidth}"/> <TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="mm" /> </StackPanel> </StackPanel> </StackPanel> <StackPanel Orientation="Horizontal" > <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="设定厚度" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding SetThickness}"/> <TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="um" /> </StackPanel> </StackPanel> <StackPanel Margin="3" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" > <TextBlock Text="边料不回收" Style="{StaticResource Styles.Text.FieldHeader.Editable}"/> <ToggleButton Style="{StaticResource Styles.ToggleButton.YESNO}" IsChecked="{Binding IsRimNoRecycle}" /> </StackPanel> </StackPanel> </StackPanel> </Grid> <Button Style="{StaticResource ButtonStyle2}" Content="确定" Width="auto" Margin="{StaticResource ControlMargin}" Click="button_ok_Click" /> </StackPanel> </flyctrllib:WindowBigClose>