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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<flyctrllib:WindowBigClose x:Class="FLY.IntegratedControl.UI.Client.UIModule.Window_K123"
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:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns:local="clr-namespace:FLY.IntegratedControl.UI.Client.UIModule"
mc:Ignorable="d"
Title="Window_K123" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight" >
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.IntegratedControl.UI.Client;component/Themes/Dictionary_MyStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.IntegratedControl.UI.Client;component/UnitTests/UnitTests_ibc.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<StackPanel Orientation="Vertical" Background="#4f4f4f">
<Grid Width="400">
<Grid x:Name="grid_ibc" d:DataContext="{StaticResource unitests_ibc}"/>
<Grid DataContext="{Binding DataContext,ElementName=grid_ibc}">
<Grid.Resources>
<Style x:Key="TextBlockStyle_title" TargetType="TextBlock">
<Setter Property="Margin" Value="3"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="Width" Value="25"/>
</Style>
<Style x:Key="TextBlockStyle_content" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle_FieldContent}">
<Setter Property="Foreground" Value="White"/>
</Style>
<Style x:Key="StackPanelStyle_item" TargetType="StackPanel">
<Setter Property="Background" Value="#80f1f1f1"/>
<Setter Property="Margin" Value="2.5"/>
<Setter Property="Orientation" Value="Horizontal"/>
</Style>
<Style x:Key="StackPanelStyle_items" TargetType="StackPanel">
<Setter Property="Margin" Value="2.5"/>
<Setter Property="MinWidth" Value="120"/>
</Style>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Path Grid.ColumnSpan="2" Grid.RowSpan="3" Stretch="Fill" Stroke="#919191" StrokeThickness="3" Margin="20"
Data="M150,200 L0,300 M150,200 L300,300 M150,200 L150,0 M150,0 0,300 300,300 Z" />
<TextBlock Text="O" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Foreground="#919191" Margin="5" FontSize="24"/>
<TextBlock Text="L" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#919191" Margin="5" FontSize="24"/>
<TextBlock Text="L" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Foreground="#919191" Margin="0,20" FontSize="24"/>
<StackPanel Style="{StaticResource StackPanelStyle_items}" HorizontalAlignment="Left" VerticalAlignment="Top" >
<StackPanel Style="{StaticResource StackPanelStyle_item}">
<TextBlock Text="R" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding BubbleCorrR,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_items}" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" >
<StackPanel Style="{StaticResource StackPanelStyle_item}">
<TextBlock Text="A" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding BubbleCorrA,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_item}">
<TextBlock Text="K1" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding K1,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_items}" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" >
<StackPanel Style="{StaticResource StackPanelStyle_item}" Background="#80008be5">
<TextBlock Text="L" Style="{StaticResource TextBlockStyle_title}"/>
<TextBox Text="{Binding L,StringFormat={}{0:F0}}" Foreground="White" Style="{StaticResource TextBoxStyle_FieldContent}" Background="Transparent"/>
</StackPanel>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_items}" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" >
<StackPanel Style="{StaticResource StackPanelStyle_item}" >
<TextBlock Text="B" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding BubbleCorrB,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_item}" >
<TextBlock Text="K2" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding K2,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_items}" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" >
<StackPanel Style="{StaticResource StackPanelStyle_item}" >
<TextBlock Text="C" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding BubbleCorrC,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
<StackPanel Style="{StaticResource StackPanelStyle_item}" >
<TextBlock Text="K3" Style="{StaticResource TextBlockStyle_title}"/>
<TextBlock Text="{Binding K3,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_content}"/>
</StackPanel>
</StackPanel>
</Grid>
</Grid>
</StackPanel>
</flyctrllib:WindowBigClose>