1234567891011121314 |
- <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:vm="using:Teachers.ViewModels"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="225"
- x:Class="Teachers.AddCourseView"
- x:DataType="vm:AddTeacherViewModel">
- <Grid ColumnDefinitions="*" RowDefinitions="*, *, *">
- <TextBox Classes="tbCourse" Name="tbCourse" Watermark="Название курса" Grid.Column="0" Grid.Row="0" Text="{Binding NewCourse.Name}"></TextBox>
- <TextBox Classes="tbDuration" Name="tbDuration" Watermark="Количество часов" Height="50" Grid.Column="0" Grid.Row="1" Text="{Binding NewCourse.Duration}"></TextBox>
- <Button Classes="bAddCourse" Name="bSaveCourse" Grid.Column="0" Grid.Row="2" Click="bAddCourse">Добавить курс</Button>
- </Grid>
- </UserControl>
|