CreateEvent.xaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <Page x:Class="PP_Ven_MosS.Pages.CreateEvent"
  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:PP_Ven_MosS.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="CreateEvent">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="100"></RowDefinition>
  13. <RowDefinition></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <StackPanel Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
  16. <TextBlock Text="Планирование мероприятия" FontWeight="Bold" FontSize="30" Margin="100,0"></TextBlock>
  17. </StackPanel>
  18. <StackPanel Grid.Row="1" Width="600">
  19. <GroupBox Height="60" Header="Описание" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  20. <TextBox Name="DescEv" Height="30"/>
  21. </GroupBox>
  22. <GroupBox Height="60" Header="Место" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  23. <TextBox Name="PlaceEv" Height="30"/>
  24. </GroupBox>
  25. <GroupBox Height="60" Header="Название" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  26. <TextBox Name="TitleEv" Height="30"/>
  27. </GroupBox>
  28. <GroupBox Height="60" Header="Тип мероприятия" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  29. <ComboBox Name="CBTypeEv" Height="30"></ComboBox>
  30. </GroupBox>
  31. <GroupBox Height="60" Header="Дата заявки" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  32. <DatePicker Name ="dob" Height="30"></DatePicker>
  33. </GroupBox>
  34. <Button Name="Save" Content="Отправить" FontSize="20" Style="{StaticResource BtnSt}" Click="Save_Click" Margin="0,20,0,0"></Button>
  35. <Button Name="Exit" Content="Выйти" FontSize="20" Style="{StaticResource BtnSt}" Click="Exit_Click" Margin="0,20,0,0"></Button>
  36. </StackPanel>
  37. </Grid>
  38. </Page>