CreateEvent.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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="TitleEv" Height="30"/>
  21. </GroupBox>
  22. <GroupBox Height="60" Header="Описание" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  23. <TextBox Name="DescEv" Height="30"/>
  24. </GroupBox>
  25. <GroupBox Height="60" Header="Место" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  26. <ComboBox Name="PlaceEv" 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. <GroupBox Height="60" Header="Участники" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
  35. <ComboBox Name="CBPeople" Height="30" Loaded="CBPeople_Loaded">
  36. <ComboBoxItem IsEnabled="False"> Для всех</ComboBoxItem>
  37. </ComboBox>
  38. </GroupBox>
  39. <Button Name="Save" Content="Отправить" FontSize="20" Style="{StaticResource BtnSt}" Click="Save_Click" Margin="0,20,0,0"></Button>
  40. <Button Name="Exit" Content="Выйти" FontSize="20" Style="{StaticResource BtnSt}" Click="Exit_Click" Margin="0,20,0,0"></Button>
  41. </StackPanel>
  42. </Grid>
  43. </Page>