1 | <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
---|
2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
---|
3 | x:Class="HeuristicLab.OKB.Cockpit.Admin.TableOverview">
|
---|
4 |
|
---|
5 | <UserControl.Resources>
|
---|
6 | <Style TargetType="{x:Type Polyline}">
|
---|
7 | <Setter Property="Stretch" Value="Fill"/>
|
---|
8 | <Setter Property="Stroke" Value="DarkGray"/>
|
---|
9 | <Setter Property="StrokeThickness" Value="3"/>
|
---|
10 | <Setter Property="StrokeDashArray" Value="2.3 1"/>
|
---|
11 | <Setter Property="StrokeEndLineCap" Value="Round"/>
|
---|
12 | <Setter Property="HorizontalAlignment" Value="Stretch"/>
|
---|
13 | <Setter Property="VerticalAlignment" Value="Stretch"/>
|
---|
14 | </Style>
|
---|
15 | <Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
|
---|
16 | <Setter Property="HorizontalAlignment" Value="Stretch"/>
|
---|
17 | <Setter Property="VerticalAlignment" Value="Stretch"/>
|
---|
18 | <EventSetter Event="Click" Handler="OnClick"/>
|
---|
19 | </Style>
|
---|
20 | </UserControl.Resources>
|
---|
21 |
|
---|
22 | <Grid TextBlock.TextAlignment="Center">
|
---|
23 | <Grid.RowDefinitions>
|
---|
24 | <RowDefinition Height="3*" MinHeight="0" />
|
---|
25 | <RowDefinition Height="Auto"/>
|
---|
26 | <RowDefinition/>
|
---|
27 | <RowDefinition Height="Auto" />
|
---|
28 | <RowDefinition/>
|
---|
29 | <RowDefinition Height="Auto"/>
|
---|
30 | <RowDefinition Height="3*" MinHeight="0"/>
|
---|
31 | </Grid.RowDefinitions>
|
---|
32 | <Grid.ColumnDefinitions>
|
---|
33 | <ColumnDefinition Width="3*" MinWidth="0"/>
|
---|
34 | <ColumnDefinition Width="Auto"/>
|
---|
35 | <ColumnDefinition/>
|
---|
36 | <ColumnDefinition Width="Auto"/>
|
---|
37 | <ColumnDefinition/>
|
---|
38 | <ColumnDefinition Width="Auto"/>
|
---|
39 | <ColumnDefinition/>
|
---|
40 | <ColumnDefinition Width="Auto"/>
|
---|
41 | <ColumnDefinition Width="3*" MinWidth="0"/>
|
---|
42 | </Grid.ColumnDefinitions>
|
---|
43 |
|
---|
44 | <Button Grid.Row="1" Grid.Column="1" Name="AlgorithmClass">
|
---|
45 | <StackPanel>
|
---|
46 | <TextBlock>Algorithm</TextBlock>
|
---|
47 | <TextBlock>Class</TextBlock>
|
---|
48 | </StackPanel>
|
---|
49 | </Button>
|
---|
50 | <Button Grid.Row="1" Grid.Column="3" Name="Project">Project</Button>
|
---|
51 | <Button Grid.Row="1" Grid.Column="5" Name="ProblemClass">
|
---|
52 | <StackPanel>
|
---|
53 | <TextBlock>Problem</TextBlock>
|
---|
54 | <TextBlock>Class</TextBlock>
|
---|
55 | </StackPanel>
|
---|
56 | </Button>
|
---|
57 |
|
---|
58 | <Button Grid.Row="3" Grid.Column="1" Name="Algorithm">Algorithm</Button>
|
---|
59 | <Button Grid.Row="3" Grid.Column="3" Name="Platform">Platform</Button>
|
---|
60 | <Button Grid.Row="3" Grid.Column="5" Name="Problem">Problem</Button>
|
---|
61 | <Button Grid.Row="3" Grid.Column="7" Name="SolutionRepresentation">
|
---|
62 | <StackPanel>
|
---|
63 | <TextBlock>Solution</TextBlock>
|
---|
64 | <TextBlock>Representation</TextBlock>
|
---|
65 | </StackPanel>
|
---|
66 | </Button>
|
---|
67 |
|
---|
68 | <Button Grid.Row="5" Grid.Column="1" Name="Result">Result</Button>
|
---|
69 | <Button Grid.Row="5" Grid.Column="3" Name="Parameter">Parameter</Button>
|
---|
70 | <Button Grid.Row="5" Grid.Column="5" Name="ProblemCharacteristic">
|
---|
71 | <StackPanel>
|
---|
72 | <TextBlock>Problem</TextBlock>
|
---|
73 | <TextBlock>Characteristic</TextBlock>
|
---|
74 | </StackPanel>
|
---|
75 | </Button>
|
---|
76 |
|
---|
77 | <Polyline Grid.Row="2" Grid.Column="1" Points="1,0 1,1" MinHeight="20"/>
|
---|
78 | <Polyline Grid.Row="2" Grid.Column="5" Points="1,0 1,1" MinHeight="20"/>
|
---|
79 |
|
---|
80 | <Button Name="Algorithm_Result" Grid.Row="4" Grid.Column="1"><Polyline Points="1,0 1,1" MinHeight="20"/></Button>
|
---|
81 | <Polyline Grid.Row="4" Grid.Column="5" Points="1,0 1,1" MinHeight="20"/>
|
---|
82 | <StackPanel Grid.Row="4" Grid.Column="5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
---|
83 | <Button Name="IntProblemCharacteristicValue" Grid.Row="4" Grid.Column="5" Content="I"/>
|
---|
84 | <Button Name="FloatProblemCharacteristicValue" Grid.Row="4" Grid.Column="5" Content="F"/>
|
---|
85 | <Button Name="CharProblemCharacteristicValue" Grid.Row="4" Grid.Column="5" Content="C"/>
|
---|
86 | </StackPanel>
|
---|
87 | <Polyline Grid.Row="3" Grid.Column="2" Points="0,1 1,1" MinWidth="40"/>
|
---|
88 | <Polyline Grid.Row="3" Grid.Column="4" Points="0,1 1,1" MinWidth="40"/>
|
---|
89 | <Polyline Grid.Row="3" Grid.Column="6" Points="0,1 1,1" MinWidth="40"/>
|
---|
90 | <Button Name="Algorithm_Parameter" Grid.Row="4" Grid.Column="2"><Polyline Points="0,0 1,1"/></Button>
|
---|
91 | <Button Name="Problem_Parameter" Grid.Row="4" Grid.Column="4"><Polyline Points="0,1 1,0"/></Button>
|
---|
92 | </Grid>
|
---|
93 | </UserControl> |
---|