chr
2024-03-04 63f80f007b6b217e124a72bee63063c1868399ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<UserControl x:Class="WPFProject.UI.WorkControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:WPFProject.UI"
             xmlns:vm="clr-namespace:WPFProject.ViewModels"
             xmlns:view="clr-namespace:WPFProject.UI"
             xmlns:utils="clr-namespace:WPFProject.Utils"
             xmlns:vt="clr-namespace:WPFProject.UI.Test"
             mc:Ignorable="d"
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/WPFProject;component/Style/colors.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
 
    <Grid>
        <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
            <Canvas x:Name="WorkArea" Background="{StaticResource MainMenu}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <!--<vt:ProgramList BorderThickness="1" BorderBrush="#000" Canvas.Left="335" Canvas.Top="121" utils:Resize.IsResizeable="True"></vt:ProgramList>
                <vt:ProgramList BorderThickness="1" BorderBrush="#000" Canvas.Left="600" Canvas.Top="121" FocusableChanged="ProgramList_FocusableChanged"></vt:ProgramList>-->
 
                <local:BottomBar x:Name="BottomBar" Canvas.Bottom="0" Panel.ZIndex="9999999"/>
            </Canvas>
        </ScrollViewer>
 
        <!-- <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="5" />
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="5" />
            <ColumnDefinition Width="4*"/>
        </Grid.ColumnDefinitions>
 
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="5"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <vt:ProgramList Grid.Row="0" BorderThickness="1" BorderBrush="#000"></vt:ProgramList>
            <GridSplitter Grid.Row="1" Background="Red" HorizontalAlignment="Stretch" Height="5" ResizeDirection="Rows"/>
            <vt:ProgramList Grid.Row="2" BorderThickness="1" BorderBrush="#000"></vt:ProgramList>
        </Grid>
 
        <GridSplitter Grid.Column="1" Background="Red" HorizontalAlignment="Center" Width="5" ResizeDirection="Columns"/>
 
        <Grid Grid.Column="2">
            <vt:ProgramList  BorderThickness="1" BorderBrush="#000"></vt:ProgramList>
        </Grid>
 
        <GridSplitter Grid.Column="3" Background="Red" HorizontalAlignment="Center" Width="5" ResizeDirection="Columns"/>
 
        <Grid Grid.Column="4">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="5"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <vt:ProgramList Grid.Row="0" BorderThickness="1" BorderBrush="#000"></vt:ProgramList>
            <GridSplitter Grid.Row="1" Background="Red" HorizontalAlignment="Stretch" Height="5" ResizeDirection="Rows"/>
            <vt:ProgramList Grid.Row="2" BorderThickness="1" BorderBrush="#000"></vt:ProgramList>
        </Grid>-->
    </Grid>
</UserControl>