|
@@ -0,0 +1,77 @@
|
|
|
+<Window x:Class="HotelCalifornia.Client"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
+ xmlns:local="clr-namespace:HotelCalifornia"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ Title="Client" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" Icon="image/h1.png">
|
|
|
+ <Grid MouseDown="Grid_MouseDown">
|
|
|
+ <Grid.Background>
|
|
|
+ <LinearGradientBrush StartPoint="0.1,0" EndPoint="0.9,1">
|
|
|
+ <GradientStop Color="#7E42F5" Offset="1" />
|
|
|
+ <GradientStop Color="#383E7A" Offset="0"/>
|
|
|
+ </LinearGradientBrush>
|
|
|
+ </Grid.Background>
|
|
|
+ <Label Content="Информация о клиентах" Foreground="White" FontSize="35" FontFamily="Century Gothic" HorizontalAlignment="Center" Margin="148,54,148,336.6"/>
|
|
|
+ <StackPanel Margin="6,124,547,68.6" Orientation="Vertical">
|
|
|
+ <TextBox Name="nametxt" Margin="10,0,0,0" FontSize="18" FontFamily="Century Gothic" Foreground="White" MaxLength="15"
|
|
|
+ materialDesign:HintAssist.Hint="Имя клиента"/>
|
|
|
+ <TextBox Name="familiatxt" Margin="10,15,0,0" FontSize="18" FontFamily="Century Gothic" Foreground="White" MaxLength="15"
|
|
|
+ materialDesign:HintAssist.Hint="Фамилия клиента"/>
|
|
|
+ <TextBox Name="otchestvotxt" Margin="10,15,0,0" FontSize="18" FontFamily="Century Gothic" Foreground="White" MaxLength="25"
|
|
|
+ materialDesign:HintAssist.Hint="Отчество клиента"/>
|
|
|
+ <ComboBox Margin="10,10,0,0" FontSize="18" FontFamily="Century Gothic" Foreground="White"
|
|
|
+ Style="{StaticResource MaterialDesignFloatingHintComboBox}"
|
|
|
+ materialDesign:ColorZoneAssist.Mode="Inverted"
|
|
|
+ materialDesign:HintAssist.Hint="Страна">
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="Россия" />
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="США" />
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="Украина" />
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="Швеция" />
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="Казахстан" />
|
|
|
+ <ComboBoxItem
|
|
|
+ Content="Белоруссия" />
|
|
|
+ </ComboBox>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Margin="0,320,547,43.6" Orientation="Horizontal">
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignIconButton}" Foreground="White"
|
|
|
+ ToolTip="Добавить" Margin="25,0,0,0">
|
|
|
+ <materialDesign:PackIcon
|
|
|
+ Kind="Add" />
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignIconButton}" Foreground="White"
|
|
|
+ ToolTip="Редактировать" Margin="25,0,0,0">
|
|
|
+ <materialDesign:PackIcon
|
|
|
+ Kind="Edit" />
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignIconButton}" Foreground="White"
|
|
|
+ ToolTip="Удалить" Margin="25,0,0,0">
|
|
|
+ <materialDesign:PackIcon
|
|
|
+ Kind="Delete" />
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ <DataGrid HorizontalAlignment="Left" Height="257" Margin="293,124,0,0" VerticalAlignment="Top" Width="497" />
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignIconButton}"
|
|
|
+ ToolTip="Вернуться к окну выбора функции" Margin="10,10,742,391.6" Click="Back">
|
|
|
+ <materialDesign:PackIcon
|
|
|
+ Kind="Backburger" Foreground="White"/>
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ Style="{StaticResource MaterialDesignIconButton}"
|
|
|
+ ToolTip="Выход из приложения" Margin="742,10,10,391.6" Click="Close">
|
|
|
+ <materialDesign:PackIcon
|
|
|
+ Kind="ExitToApp" Foreground="White"/>
|
|
|
+ </Button>
|
|
|
+ </Grid>
|
|
|
+</Window>
|