MainWindow.axaml 1.1 KB

12345678910111213141516171819202122232425262728
  1. <Window xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  6. x:Class="AvaloniaApplication1.MainWindow"
  7. Title="AvaloniaApplication1">
  8. <Grid HorizontalAlignment="Center">
  9. <StackPanel Margin="50 100 50 50">
  10. <TextBlock Name="yearT"></TextBlock>
  11. <TextBlock Name="mounthT"></TextBlock>
  12. <TextBlock Name="daysT"></TextBlock>
  13. <TextBlock Name="dayOfWeek"></TextBlock>
  14. <TextBlock Name="DBW"></TextBlock>
  15. <TextBlock Name="Viss"></TextBlock>
  16. <TextBlock Name="VisY"></TextBlock>
  17. </StackPanel>
  18. <StackPanel Margin="100 250 100 100">
  19. <DatePicker Width="400" Height="30" VerticalAlignment="Center" Name="dateT"></DatePicker>
  20. <Button VerticalAlignment="Center" Click="Button_Click" Width="160" Height="30" HorizontalAlignment="Center">
  21. Подтвердить выбор
  22. </Button>
  23. </StackPanel>
  24. </Grid>
  25. </Window>