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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
<controls:WindowEx xmlns="https://github.com/avaloniaui"
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:controls="clr-namespace:UVtools.WPF.Controls"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="UVtools.WPF.Windows.AboutWindow"
WindowStartupLocation="CenterOwner"
SizeToContent="WidthAndHeight"
CanResize="False"
Title="About UVtools"
Icon="/Assets/Icons/UVtools.ico">
<StackPanel Orientation="Vertical">
<StackPanel VerticalAlignment="Center" Orientation="Horizontal">
<Border Margin="20,20,0,20">
<StackPanel Spacing="5" MaxWidth="360">
<Image Margin="0,0,0,15"
HorizontalAlignment="Center"
Source="/Assets/Icons/UVtools_alt.ico"
Width="256"/>
<TextBox
Text="{Binding OSDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="Operative System:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding RuntimeDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="Runtime:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding FrameworkDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="Framework:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding AvaloniaUIDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="AvaloniaUI:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding OpenCVDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="OpenCV:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding ProcessorCount}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="Processor Count:"
UseFloatingWatermark="True"/>
<TextBox
Text="{Binding ScreensDescription}"
IsReadOnly="True"
BorderBrush="Transparent"
CaretBrush="Transparent"
Watermark="Screens, resolution, working area, usable area:"
UseFloatingWatermark="True"/>
<Button
Margin="0,20,0,0"
HorizontalAlignment="Stretch"
Content="Copy OpenCV build information to clipboard"
Command="{Binding CopyOpenCVInformationToClipboard}" />
<Button
Margin="0,10,0,0"
HorizontalAlignment="Stretch"
Content="Copy loaded assemblies to clipboard"
Command="{Binding CopyLoadedAssembliesToClipboard}" />
</StackPanel>
</Border>
<Grid
RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,*"
Margin="20"
>
<TextBlock Grid.Row="0" Text="{Binding Software}" FontWeight="Bold"/>
<TextBlock Grid.Row="2" Text="{Binding Version}"/>
<TextBlock Grid.Row="4" Text="{Binding Copyright}"/>
<TextBlock Grid.Row="6" Text="{Binding Company}"/>
<Button Grid.Row="8" VerticalAlignment="Center"
Command="{Binding OpenLicense}">
<StackPanel Orientation="Horizontal" Spacing="10">
<Image Source="/Assets/Icons/balance-scale-16x16.png"></Image>
<TextBlock VerticalAlignment="Center" Text="{Binding License}"/>
</StackPanel>
</Button>
<TextBox Grid.Row="10"
IsReadOnly="True"
MaxHeight="560"
Text="{Binding Description}"/>
</Grid>
</StackPanel>
<Border Background="WhiteSmoke">
<Button
Command="{Binding Close}"
IsCancel="True"
Padding="10"
Margin="20"
HorizontalAlignment="Right">
<StackPanel Spacing="10" VerticalAlignment="Center" Orientation="Horizontal">
<Image Source="/Assets/Icons/exit-16x16.png"/>
<TextBlock Grid.Row="6" Text="Close"/>
</StackPanel>
</Button>
</Border>
</StackPanel>
</controls:WindowEx>
|