|
@@ -9,11 +9,12 @@
|
|
<StackPanel Margin="10">
|
|
<StackPanel Margin="10">
|
|
<StackPanel Margin="0,0,10,10">
|
|
<StackPanel Margin="0,0,10,10">
|
|
<TextBlock>Название курса</TextBlock>
|
|
<TextBlock>Название курса</TextBlock>
|
|
- <TextBox Text=""></TextBox>
|
|
|
|
|
|
+ <TextBox Text="{Binding NewCourse.Title}"></TextBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Margin="0,0,10,10">
|
|
<StackPanel Margin="0,0,10,10">
|
|
<TextBlock>Количество часов</TextBlock>
|
|
<TextBlock>Количество часов</TextBlock>
|
|
- <TextBox Text=""></TextBox>
|
|
|
|
|
|
+ <TextBox Text="{Binding NewCourse.Hours}"></TextBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
+ <Button Command="{Binding AddCourse}">Добавить курс</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</UserControl>
|
|
</UserControl>
|