Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="GestionHotel"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="GestionHotel" Height="1920" Width="1080"
- WindowState="Maximized" WindowStartupLocation="CenterScreen"
- ResizeMode="NoResize" WindowStyle="None" Loaded="Window_Loaded" >
- <Window.Resources>
- <ResourceDictionary Source="Resources.xaml" />
- </Window.Resources>
- <Border>
- <DockPanel>
- <Border Style="{DynamicResource ResourceKey=bd_Top}">
- <Grid>
- <Grid.Background>
- <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
- <GradientStop Color="#FF1F5071" Offset="0.954"/>
- <GradientStop Color="#FF3692D0" Offset="0.378"/>
- <GradientStop Color="#FF3692D0" Offset="0.159"/>
- <GradientStop Color="#FF095B91" Offset="0.639"/>
- </LinearGradientBrush>
- </Grid.Background>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="545"/>
- <ColumnDefinition Width="AUTO"/>
- <ColumnDefinition Width="640"/>
- </Grid.ColumnDefinitions>
- <StackPanel>
- <WrapPanel Margin="50,20,0,0" Grid.Column="0">
- <Label x:Name="gh_lblNomHotel" FontSize="30" FontWeight="ExtraBold" FontFamily="Verdana" Foreground="Blue" FontStretch="UltraExpanded" Content="Example"/>
- </WrapPanel>
- <WrapPanel>
- <Label x:Name="gh_lblAdresseHotel" FontSize="15" FontWeight="ExtraBold" Margin="0,10,0,0" FontFamily="Verdana" Foreground="White" FontStyle="Italic" FontStretch="UltraExpanded" Content="Adresse XVCER"/>
- <Label x:Name="gh_lblNoTelHotel" FontSize="15" FontWeight="ExtraBold" Margin="50,10,0,0" FontFamily="Verdana" Foreground="White" FontStyle="Italic" FontStretch="UltraExpanded" Content="(418) 944-5788"/>
- </WrapPanel>
- </StackPanel>
- <Rectangle Grid.Column="1" Style="{DynamicResource ResourceKey=rec_Top}">
- <Rectangle.Fill>
- <ImageBrush ImageSource="/Gestion_Hotel_Nouv;component/Images/logoROS.png" ></ImageBrush>
- </Rectangle.Fill>
- </Rectangle>
- <StackPanel HorizontalAlignment="Left" Grid.Column="2" >
- <Label x:Name="gh_lblUtilisateur" FontFamily="Verdana" FontSize="20" Foreground="White">Bienvenue Mr.Payette</Label>
- <WrapPanel Orientation="Horizontal">
- <Label x:Name="gh_lblHeure" Style="{DynamicResource ResourceKey=lb_HeureDate}" Margin="80,0,0,0" HorizontalContentAlignment="Left" Content="{Binding}"></Label>
- <Label x:Name="gh_lblDate" Style="{DynamicResource ResourceKey=lb_HeureDate}" Margin="135,0,0,0">2014-08-02</Label>
- </WrapPanel>
- <WrapPanel Orientation="Horizontal">
- <Button Background="#ECECEA" Foreground="Black" x:Name="btnProfil" FontFamily="Verdana" FontSize="20" Width="225" Height="35" BorderBrush="Black" BorderThickness="0,1,1,1" RenderTransformOrigin="0.306,-0.372">Profil</Button>
- <Button Name="btnDeco" Content="Déconnexion" FontSize="20" HorizontalContentAlignment="Center" Background="#ECECEA" Width="225" Height="35" BorderBrush="Black" BorderThickness="0,1,1,1" ></Button>
- </WrapPanel>
- </StackPanel>
- </Grid>
- </Border>
- <!--/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////-->
- <Grid>
- <Grid.Background>
- <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
- <GradientStop Color="#FF1F5071" Offset="0.954"/>
- <GradientStop Color="#FF3692D0" Offset="0.378"/>
- <GradientStop Color="#FF3692D0" Offset="0.159"/>
- <GradientStop Color="#FF095B91" Offset="0.639"/>
- </LinearGradientBrush>
- </Grid.Background>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <ListBox ScrollViewer.VerticalScrollBarVisibility="Auto">
- <ListBox.Resources>
- <Style TargetType="{x:Type Expander}">
- <Setter Property="IsExpanded"
- Value="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListBoxItem}}}"/>
- </Style>
- </ListBox.Resources>
- <ListBox.Template>
- <ControlTemplate TargetType="{x:Type ListBox}">
- <ItemsPresenter/>
- </ControlTemplate>
- </ListBox.Template>
- <ListBox.ItemContainerStyle>
- <Style TargetType="{x:Type ListBoxItem}">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <ContentPresenter Content="{TemplateBinding Content}"/>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListBox.ItemContainerStyle>
- <Expander x:Name="gh_expHome" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/home.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Accueil" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Label Margin="20,5,5,5" Foreground="white" Content="Planning hôtel"/>
- <Label Margin="20,5,5,5" Foreground="white" Content="Planning salle"/>
- <Label Margin="20,5,5,5" Foreground="white" Content="Planning activité"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- <Label Margin="20,5,5,5" Foreground="white" Content="Guide utilisateur"/>
- <Label Margin="20,5,5,5" Foreground="white" Content="Support technique"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- <Label Margin="20,5,5,5" Foreground="white" Content="Quitter le logiciel"/>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expRes" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/reservation.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Réservation" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="gh_btnChambre" Foreground="white" Content="Réserver une chambre"/>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="gh_btnSalle" Foreground="white" Content="Réserver une salle"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="gh_btnConsulterChambre" Foreground="white" Content="Consulter chambres réservés"/>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="gh_btnConsulterSalles" Foreground="white" BorderThickness="0" Content="Consulter salles réservés"/>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expCli" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/client.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Client" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnAjoutClient" Foreground="white" Content="Ajouter/Modifier un client"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnConsulterClient" Foreground="white" Content="Consulter les clients"/>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expVerif" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/cuisine.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Vérification" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnVerificationChambre" Foreground="white" Content="Verifier une chambre"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expEmploye" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/salle.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Employe" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnAjouterEmploye" Foreground="white" Content="Ajouter/Modifier un employe"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expForfait" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/salle.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Forfait" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnAjouterForfait" Foreground="white" Content="Ajouter/Modifier un forfait"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- </WrapPanel>
- </Expander>
- <Expander x:Name="gh_expGestion" Background="#092040">
- <Expander.Header>
- <BulletDecorator>
- <BulletDecorator.Bullet>
- <Image Source="/Gestion_Hotel_Nouv;component/Images/salle.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" />
- </BulletDecorator.Bullet>
- <TextBlock Margin="10,0,0,0" Text="Gestion" VerticalAlignment="Center" HorizontalAlignment="Stretch" Foreground="White" />
- </BulletDecorator>
- </Expander.Header>
- <WrapPanel>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnAjouterProduit" Foreground="white" Content="Ajouter/Modifier un produit"/>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnEquipementSalle" Foreground="white" Content="Modifier Équipement"/>
- <Button BorderBrush="Transparent" Background="Transparent" Margin="20,5,5,5" x:Name="btnVoirBris" Foreground="white" Content="Consulter les Bris"/>
- <Rectangle Margin="20,5,5,5" Height="2" Width="100" Fill="Black"></Rectangle>
- </WrapPanel>
- </Expander>
- </ListBox>
- </Grid>
- <Border BorderBrush="Black" BorderThickness="1">
- <StackPanel Background="#FF90AFB8">
- <Frame Margin="10" NavigationUIVisibility="Hidden" x:Name="Contenu" />
- </StackPanel>
- </Border>
- </DockPanel>
- </Border>
- </Window>
- <!--<StackPanel Style="{DynamicResource ResourceKey=sp_Header}" Name="sp_Header">
- </StackPanel>
- <StackPanel Style="{DynamicResource ResourceKey=sp_Menu}" Name="sp_Menu">
- <Button Height="40" Width="80" Name="btnReservation" Content="Reservation"/>
- <Button Height="40" Width="80" Name="btnAccueil" Content="Accueil"/>
- </StackPanel>
- <Frame Margin="10" NavigationUIVisibility="Hidden" x:Name="Contenu" />-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement