RecipeNameInputDlg.xaml 2.0 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="Venus_Themes.UserControls.RecipeNameInputDlg"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Venus_Themes.UserControls"
  7. Title="新建配方"
  8. WindowStartupLocation="CenterOwner"
  9. WindowStyle="SingleBorderWindow" ResizeMode="NoResize" ShowInTaskbar="False"
  10. Background="LightSkyBlue" SizeToContent="WidthAndHeight">
  11. <StackPanel>
  12. <TextBlock Text="请选择配方类型:" HorizontalAlignment="Left" FontSize="12" Margin="15" />
  13. <StackPanel Orientation="Horizontal" Margin="5,0,0,0">
  14. <RadioButton Content="Chuck" Margin="5,0,0,0" IsChecked="True" Checked="RadioButton_Checked"/>
  15. <RadioButton Content="DeChuck" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  16. <RadioButton Content="Process" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  17. <RadioButton Content="Clean" Margin="5,0,0,0" Checked="RadioButton_Checked"/>
  18. </StackPanel>
  19. <TextBlock Text="请输入配方名称:" HorizontalAlignment="Left" FontSize="12" Margin="15" x:Name="labelCaption"/>
  20. <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"/>
  21. <StackPanel Orientation="Horizontal" Margin="10">
  22. <Button Content="OK" x:Name="buttonOK" Margin="5,3,5,0" Width="75" FontSize="12" IsDefault="True" Click="buttonOK_Click" />
  23. <Button Content="Cancel" x:Name="buttonCancel" Margin="20,3,5,0" Width="75" FontSize="12" IsCancel="True" Click="buttonCancel_Click" />
  24. </StackPanel>
  25. </StackPanel>
  26. </Window>