1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <Page x:Class="AutoServiceSultik.Pages.AddEditPage"
- 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:AutoServiceSultik.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="AddEditPage">
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
- <StackPanel Orientation="Vertical" Margin="0 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center">
- <DockPanel Width="250" Margin="5">
- <Label HorizontalAlignment="Left" Content="Название:" FontSize="15"/>
- <TextBox x:Name="tbName" HorizontalAlignment="Right" Width="150" Background="White" FontSize="15"/>
- </DockPanel>
- <DockPanel Width="250" Margin="5">
- <Label HorizontalAlignment="Left" Content="Стоимость:" FontSize="15"/>
- <TextBox x:Name="tbCost" HorizontalAlignment="Right" Width="150" Background="White" FontSize="15"/>
- </DockPanel>
- <DockPanel Width="258" Margin="5">
- <Label HorizontalAlignment="Left" Content="Дли-сть (мин):" FontSize="15"/>
- <TextBox x:Name="tbDurationInSecond" HorizontalAlignment="Right" Width="150" Background="White" FontSize="15"/>
- </DockPanel>
- <DockPanel Height="70" Width="250" Margin="5">
- <Label HorizontalAlignment="Left" Content="Описание:" FontSize="15"/>
- <TextBox x:Name="tbDiscription" TextWrapping="Wrap" HorizontalAlignment="Right" Width="150" Background="White" FontSize="15"/>
- </DockPanel>
- <DockPanel Width="250" Margin="5">
- <Label HorizontalAlignment="Left" Content="Скидка:" FontSize="15"/>
- <TextBox x:Name="tbDiscount" HorizontalAlignment="Right" Width="150" Background="White" FontSize="15"/>
- </DockPanel>
- </StackPanel>
- <StackPanel Margin="10" HorizontalAlignment="Right" VerticalAlignment="Center">
- <Border Height="220" Width="200" BorderBrush="Orange" BorderThickness="1">
- <Image x:Name="imgImage" />
- </Border>
- <Button Background="Orange" FontSize="15" Foreground="#FFFFE1" Click="btnSelectImage_Click" Name="btnSelectImage" Content="Выбрать фотографию" Margin="5"/>
- <Button Background="Orange" FontSize="15" Foreground="#FFFFE1" Click="btnSave_Click" Name="btnSave" Content="Сохранить" Margin="5"/>
- </StackPanel>
- </StackPanel>
- </Grid>
- </Page>
|