|
@@ -0,0 +1,310 @@
|
|
|
+<Window x:Class="KFC.windows.WinMenu"
|
|
|
+ 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:local="clr-namespace:KFC.windows"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ Title="Window2" Height="750" Width="500" ResizeMode="NoResize" WindowStyle="None" WindowStartupLocation="CenterScreen">
|
|
|
+ <Window.Resources>
|
|
|
+ <LinearGradientBrush x:Key="TabItem.Static.Background" EndPoint="0,1" StartPoint="0,0">
|
|
|
+ <GradientStop Color="#F0F0F0" Offset="0.0"/>
|
|
|
+ <GradientStop Color="#E5E5E5" Offset="1.0"/>
|
|
|
+ </LinearGradientBrush>
|
|
|
+ <SolidColorBrush x:Key="TabItem.Static.Border" Color="#ACACAC"/>
|
|
|
+ <LinearGradientBrush x:Key="TabItem.MouseOver.Background" EndPoint="0,1" StartPoint="0,0">
|
|
|
+ <GradientStop Color="#ECF4FC" Offset="0.0"/>
|
|
|
+ <GradientStop Color="#DCECFC" Offset="1.0"/>
|
|
|
+ </LinearGradientBrush>
|
|
|
+ <SolidColorBrush x:Key="TabItem.MouseOver.Border" Color="#7EB4EA"/>
|
|
|
+ <SolidColorBrush x:Key="TabItem.Disabled.Background" Color="#F0F0F0"/>
|
|
|
+ <SolidColorBrush x:Key="TabItem.Disabled.Border" Color="#D9D9D9"/>
|
|
|
+ <SolidColorBrush x:Key="TabItem.Selected.Border" Color="#ACACAC"/>
|
|
|
+ <SolidColorBrush x:Key="TabItem.Selected.Background" Color="#FFFFFF"/>
|
|
|
+ <Style x:Key="TabItemKFC" TargetType="{x:Type TabItem}">
|
|
|
+ <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
|
+ <Setter Property="Foreground" Value="Black"/>
|
|
|
+ <Setter Property="Background" Value="{StaticResource TabItem.Static.Background}"/>
|
|
|
+ <Setter Property="BorderBrush" Value="{StaticResource TabItem.Static.Border}"/>
|
|
|
+ <Setter Property="Margin" Value="0"/>
|
|
|
+ <Setter Property="Padding" Value="6,2,6,2"/>
|
|
|
+ <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
+ <Setter Property="VerticalContentAlignment" Value="Stretch"/>
|
|
|
+ <Setter Property="Template">
|
|
|
+ <Setter.Value>
|
|
|
+ <ControlTemplate TargetType="{x:Type TabItem}">
|
|
|
+ <Grid x:Name="templateRoot" SnapsToDevicePixels="true">
|
|
|
+ <Border x:Name="mainBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,0" Background="{TemplateBinding Background}" Margin="0">
|
|
|
+ <Border x:Name="innerBorder" BorderThickness="1,1,1,0" Margin="-1" Opacity="0"/>
|
|
|
+ </Border>
|
|
|
+ <ContentPresenter x:Name="contentPresenter" ContentSource="Header" Focusable="False" HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
|
|
|
+ </Grid>
|
|
|
+ <ControlTemplate.Triggers>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Panel.ZIndex" Value="1"/>
|
|
|
+ <Setter Property="Margin" Value="-2,-2,0,-2"/>
|
|
|
+ <Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Panel.ZIndex" Value="1"/>
|
|
|
+ <Setter Property="Margin" Value="-2,0,-2,-2"/>
|
|
|
+ <Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Panel.ZIndex" Value="1"/>
|
|
|
+ <Setter Property="Margin" Value="0,-2,-2,-2"/>
|
|
|
+ <Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ <MultiDataTrigger>
|
|
|
+ <MultiDataTrigger.Conditions>
|
|
|
+ <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true"/>
|
|
|
+ <Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
|
+ </MultiDataTrigger.Conditions>
|
|
|
+ <Setter Property="Panel.ZIndex" Value="1"/>
|
|
|
+ <Setter Property="Margin" Value="-2,-2,-2,0"/>
|
|
|
+ <Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
|
+ <Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
|
+ </MultiDataTrigger>
|
|
|
+ </ControlTemplate.Triggers>
|
|
|
+ </ControlTemplate>
|
|
|
+ </Setter.Value>
|
|
|
+ </Setter>
|
|
|
+ </Style>
|
|
|
+ </Window.Resources>
|
|
|
+ <Grid>
|
|
|
+ <TabControl x:Name="Menu" Margin="0,97,0,49" TabStripPlacement="Left" BorderBrush="Red" x:FieldModifier="public">
|
|
|
+ <TabItem Header="" Margin="0" BorderBrush="Red" Style="{DynamicResource TabItemKFC}" Width="70" Height="70" FontWeight="Bold" Foreground="Red" OpacityMask="Red">
|
|
|
+ <TabItem.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/burgers/B (1).jpg"/>
|
|
|
+ </TabItem.Background>
|
|
|
+ <Grid Background="#FFE5E5E5" Height="600">
|
|
|
+ <Button x:Name="b1" Content="" HorizontalAlignment="Left" Height="130" Margin="50,50,0,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="b1_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/burgers/B (1).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="b2" Content="" HorizontalAlignment="Right" Height="130" Margin="0,50,50,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="b2_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/burgers/B (2).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="b3" Content="" HorizontalAlignment="Left" Height="130" Margin="50,265,0,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="b3_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/burgers/B (3).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="b4" Content="" HorizontalAlignment="Right" Height="130" Margin="0,265,50,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="b4_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/burgers/B (4).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <TextBlock x:Name="BN1" HorizontalAlignment="Center" Margin="50,180,242,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="BP1" HorizontalAlignment="Left" Margin="50,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="BN2" HorizontalAlignment="Center" Margin="242,180,50,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="BP2" HorizontalAlignment="Left" Margin="242,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="BN3" HorizontalAlignment="Center" Margin="50,395,242,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="BP3" HorizontalAlignment="Left" Margin="50,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="BN4" HorizontalAlignment="Center" Margin="242,395,50,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="BP4" HorizontalAlignment="Left" Margin="242,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ </Grid>
|
|
|
+ </TabItem>
|
|
|
+ <TabItem Header="" Style="{DynamicResource TabItemKFC}" Width="70" Margin="0,5,0,-5" Foreground="#FFAE00FF" FontWeight="Bold" FontSize="9" Height="70" BorderBrush="Red">
|
|
|
+ <TabItem.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/ice creams/i (1).jpg"/>
|
|
|
+ </TabItem.Background>
|
|
|
+ <Grid Background="#FFE5E5E5" Height="600">
|
|
|
+ <Button x:Name="i1" Content="" HorizontalAlignment="Left" Height="130" Margin="50,50,0,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="i1_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/ice creams/i (1).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="i2" Content="" HorizontalAlignment="Right" Height="130" Margin="0,50,50,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="i2_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/ice creams/i (2).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="i3" Content="" HorizontalAlignment="Left" Height="130" Margin="50,265,0,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="i3_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/ice creams/i (3).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="i4" Content="" HorizontalAlignment="Right" Height="130" Margin="0,265,50,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="i4_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/ice creams/i (4).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <TextBlock x:Name="IN1" HorizontalAlignment="Center" Margin="50,180,242,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161" FontSize="12"/>
|
|
|
+ <TextBlock x:Name="IP1" HorizontalAlignment="Left" Margin="50,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="IN2" HorizontalAlignment="Center" Margin="242,180,50,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161" FontSize="12"/>
|
|
|
+ <TextBlock x:Name="IP2" HorizontalAlignment="Left" Margin="242,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="IN3" HorizontalAlignment="Center" Margin="50,395,242,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161" FontSize="12"/>
|
|
|
+ <TextBlock x:Name="IP3" HorizontalAlignment="Left" Margin="50,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="IN4" HorizontalAlignment="Center" Margin="242,395,50,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161" FontSize="12"/>
|
|
|
+ <TextBlock x:Name="IP4" HorizontalAlignment="Left" Margin="242,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ </Grid>
|
|
|
+ </TabItem>
|
|
|
+ <TabItem Header="" Style="{DynamicResource TabItemKFC}" Width="70" Height="70" Margin="0,0,0,-10" Foreground="Red" FontWeight="Bold" BorderBrush="Red" VerticalAlignment="Bottom">
|
|
|
+ <TabItem.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/twisters/t (1).jpg"/>
|
|
|
+ </TabItem.Background>
|
|
|
+ <Grid Background="#FFE5E5E5" Height="600">
|
|
|
+ <Button x:Name="t1" Content="" HorizontalAlignment="Left" Height="130" Margin="50,50,0,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="t1_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/twisters/t (1).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="t2" Content="" HorizontalAlignment="Right" Height="130" Margin="0,50,50,0" VerticalAlignment="Top" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="t2_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/twisters/t (2).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="t3" Content="" HorizontalAlignment="Left" Height="130" Margin="50,265,0,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="t3_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/twisters/t (3).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <Button x:Name="t4" Content="" HorizontalAlignment="Right" Height="130" Margin="0,265,50,205" VerticalAlignment="Center" Width="130" Style="{DynamicResource ButtonKFC}" Foreground="Black" BorderBrush="{x:Null}" FontSize="18" Click="t4_Click">
|
|
|
+ <Button.Background>
|
|
|
+ <ImageBrush ImageSource="/KFC;component/Images/menu/twisters/t (4).jpg"/>
|
|
|
+ </Button.Background>
|
|
|
+ </Button>
|
|
|
+ <TextBlock x:Name="TN1" HorizontalAlignment="Center" Margin="50,180,242,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="TP1" HorizontalAlignment="Left" Margin="50,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="TN2" HorizontalAlignment="Center" Margin="242,180,50,370" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="TP2" HorizontalAlignment="Left" Margin="242,31,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="TN3" HorizontalAlignment="Center" Margin="50,395,242,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="TP3" HorizontalAlignment="Left" Margin="50,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ <TextBlock x:Name="TN4" HorizontalAlignment="Center" Margin="242,395,50,155" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Height="50" Width="130" TextAlignment="Center" LineHeight="3" TextDecorations="{x:Null}" FontWeight="Bold" Foreground="#FF616161"/>
|
|
|
+ <TextBlock x:Name="TP4" HorizontalAlignment="Left" Margin="242,246,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="130" TextAlignment="Center" Foreground="Red" FontSize="14"/>
|
|
|
+ </Grid>
|
|
|
+ </TabItem>
|
|
|
+ </TabControl>
|
|
|
+ <TextBlock x:Name="TS" HorizontalAlignment="Left" Margin="175,709,0,0" TextWrapping="Wrap" Text="Итог" VerticalAlignment="Top" FontSize="22" Height="31" Width="55" Visibility="Hidden" x:FieldModifier="public"/>
|
|
|
+ <Border x:Name="BS" BorderBrush="Red" BorderThickness="1" HorizontalAlignment="Left" Height="31" Margin="235,709,0,0" VerticalAlignment="Top" Width="112" Visibility="Hidden" x:FieldModifier="public">
|
|
|
+ <Label x:Name="S" Content="0р." HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" x:FieldModifier="public"/>
|
|
|
+ </Border>
|
|
|
+ <Button x:Name="END" Content="ОПЛАТИТЬ" HorizontalAlignment="Left" Height="31" Margin="408,709,0,0" VerticalAlignment="Top" Width="82" BorderBrush="Red" Background="#FFFDC47F" Foreground="Red" FontWeight="Bold" Visibility="Hidden" Click="END_Click" x:FieldModifier="public"/>
|
|
|
+ <Image HorizontalAlignment="Center" Margin="0,5,0,0" VerticalAlignment="Top" Source="/KFC;component/Images/menu/logo2.jpg" Stretch="UniformToFill" Width="216" Height="86"/>
|
|
|
+ <TextBox x:Name="tbfin" Height="604" Margin="0,97,0,49" TextWrapping="Wrap" Text="Ваш заказ:" Width="500" FontSize="18" Background="White" Visibility="Hidden" FontFamily="Times New Roman" x:FieldModifier="public"/>
|
|
|
+ <Button x:Name="O_M" Content="ЗАКАЗ" HorizontalAlignment="Left" Height="31" Margin="10,709,0,0" VerticalAlignment="Top" Width="85" Click="O_M_Click" FontWeight="Bold" FontSize="20" Foreground="Red" BorderBrush="Red" Background="White" x:FieldModifier="public"/>
|
|
|
+ </Grid>
|
|
|
+</Window>
|