/
Kam301
/
SessionApp
Обзор
Документация
Войти
/
Kam301
/
SessionApp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SessionApp1/Views/ManagerScreen.xaml
43 строки
2 KB
Kam300
fix
18 июн 2025, 09:55
18 июн 2025, 09:55
2a36e98
Код
Авторство
О чём код?
<Page x:Class="SessionApp1.Views.ManagerScreen" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Экран менеджера" Background="{StaticResource BackgroundColor}"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="60"/> <RowDefinition Height="60"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!-- Панель управления --> <Border Grid.Row="0" Background="{StaticResource PrimaryColor}" Padding="20,10"> <Grid> <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left"> <Image Source="/Logo/logo-04.jpg" Width="60" Height="40" Margin="0,0,20,0"/> <TextBlock x:Name="WelcomeText" FontSize="18" FontWeight="Bold" Foreground="{StaticResource TextDarkColor}" VerticalAlignment="Center"/> </StackPanel> <Button x:Name="LogoutButton" Content="Выход" Style="{StaticResource AccentButton}" Click="LogoutButton_Click" HorizontalAlignment="Right"/> </Grid> </Border> <!-- Навигационная панель --> <Border Grid.Row="1" Background="{StaticResource SecondaryLightColor}" Padding="20,10"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <Button x:Name="ProductsButton" Content="Изделия" Style="{StaticResource StandardButton}" Click="ProductsButton_Click"/> <Button x:Name="DesignerButton" Content="Конструктор изделий" Style="{StaticResource StandardButton}" Margin="10,0,0,0" Click="DesignerButton_Click"/> </StackPanel> </Border> <!-- Основной контент --> <Frame x:Name="ContentFrame" Grid.Row="2" NavigationUIVisibility="Hidden"/> </Grid> </Page>