RecipeNameInputDlg.xaml 1.7 KB

12345678910111213141516171819202122232425
  1. <Window x:Class="Aitex.UI.RecipeEditor.View.RecipeNameInputDlg"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="新建配方"
  5. WindowStartupLocation="CenterOwner"
  6. WindowStyle="SingleBorderWindow" ResizeMode="NoResize" ShowInTaskbar="False"
  7. Background="LightSkyBlue" SizeToContent="WidthAndHeight">
  8. <StackPanel>
  9. <TextBlock Text="请选择配方类型:" HorizontalAlignment="Left" FontSize="12" Margin="15" />
  10. <StackPanel Orientation="Horizontal" Margin="5,0,0,0">
  11. <RadioButton Content="Chuck" Margin="5,0,0,0" IsChecked="True" Checked="RadioButton_Checked"/>
  12. <RadioButton Content="DeChuck" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  13. <RadioButton Content="Process" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  14. <RadioButton Content="Clean" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  15. </StackPanel>
  16. <TextBlock Text="请输入配方名称:" HorizontalAlignment="Left" FontSize="12" Margin="15" x:Name="labelCaption"/>
  17. <TextBox x:Name="textBoxInput" FontSize="12" TextChanged="textBoxInput_TextChanged" Width="150" HorizontalAlignment="Left" Margin="15,0,150,0" BorderThickness="0,0,0,1" Background="Transparent"/>
  18. <StackPanel Orientation="Horizontal" Margin="10">
  19. <Button Content="OK" x:Name="buttonOK" Margin="5,3,5,0" Width="75" FontSize="12" IsDefault="True" Click="buttonOK_Click" />
  20. <Button Content="Cancel" x:Name="buttonCancel" Margin="20,3,5,0" Width="75" FontSize="12" IsCancel="True" Click="buttonCancel_Click" />
  21. </StackPanel>
  22. </StackPanel>
  23. </Window>