-
Notifications
You must be signed in to change notification settings - Fork 1
/
About.xaml
144 lines (121 loc) · 7.73 KB
/
About.xaml
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<Window
x:Class="Aml.Editor.Plugin.About"
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"
Width="530"
SizeToContent="Height"
WindowStartupLocation="CenterScreen"
WindowStyle="ToolWindow"
mc:Ignorable="d">
<Grid>
<Grid.Resources>
<Style x:Key="Heading1" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="30" />
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
</Style>
<Style x:Key="Heading2" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="16" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
</Style>
<Style x:Key="Title" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI Light" />
<Setter Property="FontSize" Value="23" />
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
</Style>
<Style x:Key="Small" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="{DynamicResource SmallFontSize}" />
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
</Style>
</Grid.Resources>
<Border
BorderBrush="LightBlue"
BorderThickness="1"
CornerRadius="1">
<ScrollViewer>
<StackPanel MinWidth="200">
<TextBlock Margin="10,5" Style="{StaticResource Heading2}">
<Run Text="About the Modelling Wizard for Devices PlugIn!" />
</TextBlock>
<StackPanel Orientation="Horizontal">
<TextBlock
Width="400"
Margin="10,5"
Text="This Modelling Wizard for Devices PlugIn can be used to create or modify Devices and Interfaces. It can also be used to import IODD and GSDML Files which will be converted to an AMLX Package."
TextWrapping="Wrap" />
</StackPanel>
<TextBlock FontWeight="Bold" Name="txtVersion" Margin="10,5,0,8" />
<Border Margin="0,2,0,2" BorderThickness="0,2,0,0">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="Black" />
<GradientStop Offset="1" Color="#FFF6F3F3" />
</LinearGradientBrush>
</Border.BorderBrush>
</Border>
<StackPanel>
<TextBlock
Margin="10,10,0,2"
Text="Design and Software development by"
TextWrapping="Wrap" />
<TextBlock FontWeight="Bold" Margin="15,5,0,0" Text="TINF17C" />
<TextBlock Margin="15,0,0,0">
<Run FontWeight="Bold" Text="DHBW Stuttgart" />
</TextBlock>
<TextBlock Margin="15,5,0,10" Text="This Plugin was created as a group project in the class "Software Engineering"" />
<Border Margin="0,2,0,2" BorderThickness="0,2,0,0">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="Black" />
<GradientStop Offset="1" Color="#FFF6F3F3" />
</LinearGradientBrush>
</Border.BorderBrush>
</Border>
<TextBlock Margin="10,5,0,0">
<Run FontWeight="Bold" Text="TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION" />
</TextBlock>
<TextBlock
Margin="10,5,0,8"
Text="The MIT License (MIT)
Copyright (c) 2019 TINF17C DHBW Stuttgart

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ('the Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 

 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
TextWrapping="Wrap" />
<Border Margin="0,2,0,2" BorderThickness="0,2,0,0">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="Black" />
<GradientStop Offset="1" Color="#FFF6F3F3" />
</LinearGradientBrush>
</Border.BorderBrush>
</Border>
<TextBlock Margin="10,5,0,0" FontWeight="Bold">
© TINF17C DHBW Stuttgart 2019
<!-- Copyright symbol -->
</TextBlock>
<TextBlock Name="TextBlock1WithHyperlink" Margin="10,5,0,0" TextWrapping="Wrap">
This Plugin uses third-party software for the convertions of IODD and GSDML. All Rights are reserved by the corresponding copyright owner.
</TextBlock>
<TextBlock
Name="TextBlock2WithHyperlink"
Margin="10,5,0,0"
TextWrapping="Wrap">
Visit <Hyperlink NavigateUri="https://github.com/tinf17c/ModellingWizard" RequestNavigate="Hyperlink_RequestNavigate">ModellingWizard</Hyperlink>
on GitHub to get more informations about this project.</TextBlock>
</StackPanel>
<Border BorderBrush="Gray" BorderThickness="0,2,0,0">
<Button
x:Name="Close"
Margin="10"
HorizontalAlignment="Right"
Click="Close_Click">
Close
</Button>
</Border>
</StackPanel>
</ScrollViewer>
</Border>
</Grid>
</Window>