123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <UserControl x:Class="LearnPodg.AddingEditingService"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:LearnPodg"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Background="white" FontFamily="Comic Sans MS">
- <Border Padding="10">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="20"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <TextBlock Name="UCLabel"
- Text="Добавление сервиса"
- Margin="0 10 0 15"
- FontWeight="Bold"
- Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3"
- HorizontalAlignment="Center"/>
- <Button Width="30" Height="30" Content="X"
- Background="Red" Foreground="White"
- HorizontalAlignment="Left" Click="Button_Click"/>
- <GroupBox Header="Название" Grid.Row="1">
- <TextBox BorderThickness="0" Name="TBTitle"/>
- </GroupBox>
- <GroupBox Header="Цена" Grid.Row="2">
- <TextBox BorderThickness="0" Name="TBCost"/>
- </GroupBox>
- <GroupBox Header="Скидка" Grid.Row="3">
- <TextBox BorderThickness="0" Name="TBDiscount"/>
- </GroupBox>
- <GroupBox Header="Длительность в секундах" Grid.Row="4">
- <TextBox BorderThickness="0" Name="TBDurationInSecond"/>
- </GroupBox>
- <GroupBox Header="Описание" Grid.Row="5" Grid.RowSpan="2">
- <TextBox BorderThickness="0" TextWrapping="Wrap" Name="TBDiscription"/>
- </GroupBox>
- <Image Grid.Column="2" Grid.Row="1" Grid.RowSpan="4" Name="ServiceImage"></Image>
- <GroupBox Name="GBID" Header="ID" Grid.Row="6" Grid.Column="2">
- <TextBlock Name="TBID"/>
- </GroupBox>
- <Button
- Margin="0 15 0 10" Width="200"
- Grid.Column="0" Grid.Row="7" Grid.ColumnSpan="3"
- HorizontalAlignment="Center">
- <TextBlock Text="Подтвердить"/>
- </Button>
- </Grid>
- </Border>
-
- </UserControl>
|