123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <Window x:Class="HotelCalifornia.ClientRoom"
- 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="ClientRoom" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" Icon="image/h1.png" Loaded="Window_Loaded">
- <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="215,46,215,344.6"/>
- <Button
- Style="{StaticResource MaterialDesignIconButton}"
- ToolTip="Выход из приложения" Margin="742,10,10,391.6" Click="Close">
- <materialDesign:PackIcon
- Kind="ExitToApp" Foreground="White"/>
- </Button>
- <Button
- Style="{StaticResource MaterialDesignIconButton}"
- ToolTip="Вернуться к окну выбора функции" Margin="10,10,742,391.6" Click="Back">
- <materialDesign:PackIcon
- Kind="Backburger" Foreground="White"/>
- </Button>
- <TextBlock Name="timetxt" HorizontalAlignment="Center" FontFamily="Century Gothic" Margin="561,115,10,0" TextWrapping="Wrap" Foreground="White" FontSize="22" VerticalAlignment="Top" Height="28" Width="229"/>
- <Button Name="WindMin"
- Style="{StaticResource MaterialDesignIconButton}"
- ToolTip="Свернуть окно" Margin="694,10,58,391.6" Click="WindMin_Click">
- <materialDesign:PackIcon
- Kind="WindowMinimize" Foreground="White"/>
- </Button>
- <DataGrid Name="dataclientroom" IsReadOnly="True" HorizontalAlignment="Left" Height="257" Margin="293,158,0,0" BorderThickness="1" BorderBrush="Black" VerticalAlignment="Top" Width="497" SelectionChanged="dataClientRoom_SelectionChanged"/>
- <ComboBox Name="roomcombo" Margin="10,158,534,243.6" FontSize="18" FontFamily="Century Gothic" Foreground="White" Style="{StaticResource MaterialDesignFloatingHintComboBox}"
- materialDesign:ColorZoneAssist.Mode="Inverted" materialDesign:HintAssist.Hint="Комната" Height="48"/>
- <ComboBox Name="clientcombo" Margin="10,224,534,177.6" FontSize="18" FontFamily="Century Gothic" Foreground="White" Style="{StaticResource MaterialDesignFloatingHintComboBox}"
- materialDesign:ColorZoneAssist.Mode="Inverted" materialDesign:HintAssist.Hint="Клиент" Height="48"/>
- <StackPanel Margin="62,312,589,51.6" Orientation="Horizontal">
- <Button Style="{StaticResource MaterialDesignIconButton}" Foreground="White" ToolTip="Добавить" Margin="25,0,0,0" Click="Add_Click">
- <materialDesign:PackIcon Kind="Add" />
- </Button>
- <Button Style="{StaticResource MaterialDesignIconButton}" Foreground="White" ToolTip="Удалить" Margin="25,0,0,0" Click="Delete_Click">
- <materialDesign:PackIcon Kind="Delete" />
- </Button>
- </StackPanel>
- <Button Style="{StaticResource MaterialDesignIconButton}" Foreground="White" ToolTip="Обновить" Margin="508,103,244,298.6" Click="Refresh_Click">
- <materialDesign:PackIcon Kind="Refresh" />
- </Button>
- </Grid>
- </Window>
|