<Window x:Class="mateo.Profile"
        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:mateo"
        mc:Ignorable="d"
        Title="Mateo" Height="540" Width="960" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
    <Grid>
        <Grid Margin="0,0,824,0" Background="#E74C32">
            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Margin="48,371,48,129" Click="btn_insta">
                <Image Source="image\insta.png" Height="40" Width="40"/>
            </Button>

            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Margin="48,331,48,169" Click="btn_vk">
                <Image Source="image\vk.png" Height="40" Width="40"/>
            </Button>

            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Margin="48,413,48,87" Click="btn_whatsapp">
                <Image Source="image\whatsapp.png" Height="40" Width="40"/>
            </Button>

            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Margin="48,454,48,46" Click="btn_gmail">
                <Image Source="image\gmail.png" Height="40" Width="40"/>
            </Button>
        </Grid>

        <Grid Background="#E74C32" Margin="0,0,0,470">
            <Image Source="image/logo.png" Margin="0,0,820,-20"/>
            <Button Content="Профиль" FontSize="16" BorderThickness="0" Background="Transparent" Margin="627,10,223,10" MaxWidth="80" Click="btnProfileClick"/>
            <Button Content="Услуги" FontSize="16" BorderThickness="0" Background="Transparent" Margin="146,10,674,10" MaxWidth="80" Click="btnUslugiClick"/>
            <TextBlock Text="Парк развлечений" HorizontalAlignment="Center" FontSize="28" Foreground="#ffff" Margin="282,5,327,0"/>
            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Click="btnLogout" Margin="860,14,60,16">
                <Image Source="image\logout.png" Height="40" Width="40"/>
            </Button>
            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Click="btnExit" Margin="910,14,10,16">
                <Image Source="image\exit.png" Height="40" Width="40"/>
            </Button>
            <Button Height="40" Width="40" Background="Transparent" BorderThickness="0" Click="btnTickets" Margin="810,14,105,16">
                <Image Source="image\tickets.png" Height="40" Width="40"/>
            </Button>
        </Grid>

        <Grid>
            <Image x:Name="photo_profile" Margin="329,141,535,318"/>
            <Button x:Name="btn_photo" Content="добавить фото" Background="Transparent" Click="btn_photo_click" Margin="329,227,535,287"/>
            <Button x:Name="btn_dltphoto" Content="удалить фото" Background="Transparent" Click="btn_deletephoto_click" Margin="329,258,535,256"/>
            <TextBlock x:Name="name_profile" FontSize="24" Margin="463,141,178,355" />
            <TextBlock x:Name="balance_profile" Text="Баланс карты: " FontSize="16" Margin="463,190,178,287"/>
            <Button x:Name="btn_balance" Content="Пополнить баланс" Foreground="White" FontSize="18" BorderThickness="0" Background="Black" Margin="463,410,275,83" Click="btn_balance_Click"/>
        </Grid>



        <Grid x:Name="grid_balance" Visibility="Hidden" Background="White" Margin="136,70,0,0">
            <Image Source="image\card.png" Width="480" Height="320" VerticalAlignment="Top"/>
            <TextBox FontSize ="24" Background="Transparent" Margin="292,182,209,257" />

            <StackPanel Orientation="Horizontal" Height="80" VerticalAlignment="Bottom" HorizontalAlignment="Right">
                <TextBlock Text="Сумма пополнения: " FontSize="20" VerticalAlignment="Center"/>
                <TextBox x:Name="txt_balanceplus" FontSize="20" VerticalAlignment="Center" Width="120" />
                <Button x:Name="btn_balanceplus" Content="Пополнить" Foreground="White" FontSize="18" BorderThickness="0" Background="Black" Click="btn_balanceplus_Click" Width="120" Height="50" Margin="15"/>
                <Button x:Name="btn_cancelblnc" Content="Отмена" Foreground="White" FontSize="18" BorderThickness="0" Background="Black" Click="btn_cancelblnc_Click" Width="120" Height="50" Margin="15"/>
            </StackPanel>
        </Grid>

    </Grid>
</Window>
