RecipeNameDialog.xaml 1.7 KB

123456789101112131415161718192021222324
  1. <Window x:Class="CyberX8_Themes.UserControls.RecipeNameDialog"
  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:CyberX8_Themes.UserControls"
  7. mc:Ignorable="d" Name="self"
  8. Height="230" Width="400"
  9. WindowStyle="SingleBorderWindow" WindowStartupLocation="CenterScreen" Title="New Recipe">
  10. <Grid Background="{DynamicResource Table_BG_Title}">
  11. <Grid.RowDefinitions>
  12. <RowDefinition/>
  13. <RowDefinition Height="50"></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <Grid >
  16. <Label Content="Recipe Name:" VerticalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,42,0,0"/>
  17. <TextBox Text="{Binding ElementName=self,Path=RecipeName}" Height="35" Width="280" VerticalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="90,37,0,0" Focusable="True" />
  18. <Label Content="Description:" VerticalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,111,0,0"/>
  19. <TextBox Text="{Binding RecipeDescription, ElementName=self}" Height="35" Width="280" VerticalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="90,106,0,0" Focusable="True" />
  20. </Grid>
  21. <Button Grid.Row="1" Style="{StaticResource SysBtnStyle}" Content="Confirm" Height="35" Width="80" Click="Button_Click"/>
  22. </Grid>
  23. </Window>