12345678910111213141516171819202122 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="TeacheresAndCourses.AddCourse"
- xmlns:vm="using:TeacheresAndCourses.ViewModels"
- x:DataType="vm:AddCourseViewModel">
- <StackPanel Classes="addTeacherSP">
- <TextBlock Classes="addingTextFont">Добавить курс</TextBlock>
- <StackPanel Classes="oneLine">
- <TextBlock Classes="addingTextStyle2">Введите название курса</TextBlock>
- <TextBox Classes="inputTB" Text="{Binding CourseTitle}"></TextBox>
- </StackPanel>
- <StackPanel Classes="oneLine">
- <TextBlock Classes="addingTextStyle2">Введите часы курса</TextBlock>
- <TextBox Classes="inputTB" Text="{Binding CourseHours}"></TextBox>
- </StackPanel>
- <Button Classes="saveButton" Command="{Binding AddCourse}">Записать</Button>
- <Button Classes="saveButton" Command="{Binding ToMainPage}">На главную</Button>
- </StackPanel>
- </UserControl>
|