Page_ServiceeAddEdit.xaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <Page x:Class="MedicalCenter.Pages.Page_ServiceeAddEdit"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:MedicalCenter.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="Servicee"
  10. Style="{StaticResource WinAll}">
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="1.4*"/>
  14. <ColumnDefinition/>
  15. </Grid.ColumnDefinitions>
  16. <StackPanel Orientation="Horizontal" Grid.Column="1" Margin="20 0">
  17. <StackPanel Orientation="Vertical" Width="200">
  18. <Label Content="Номер услуги"
  19. FontSize="24"/>
  20. <TextBox x:Name="tbKodService" FontSize="22"/>
  21. <Label Content="Услуга"
  22. FontSize="24"/>
  23. <TextBox x:Name="tbNameService" FontSize="22"/>
  24. <TextBlock Text="Цена"
  25. FontSize="24"/>
  26. <TextBox x:Name="tbPriceService" FontSize="22"/>
  27. <Grid>
  28. <Button x:Name="dntAddService" Content="Добавить" Click="dntAddService_Click"
  29. FontSize="20" Margin="0 10 0 0"/>
  30. <Button x:Name="btnEditService" Content="Сохранить" Click="btnEditService_Click" Visibility="Hidden"
  31. FontSize="20" Margin="0 10 0 0"/>
  32. </Grid>
  33. <Button x:Name="btnBack" Content="Вернуться" Click="btnBack_Click"
  34. FontSize="20" Margin="0 10 0 0"/>
  35. <Button x:Name="btnPrint"
  36. FontSize="20" Height="96" Width="96" Margin="0 10 0 0" Click="btnPrint_Click">
  37. <Image Source="/Pages/print.png"/>
  38. </Button>
  39. </StackPanel>
  40. <StackPanel Orientation="Vertical">
  41. </StackPanel>
  42. </StackPanel>
  43. </Grid>
  44. </Page>