-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdfWindow.xaml
52 lines (42 loc) · 3.38 KB
/
pdfWindow.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
<Window x:Class="cseNoticeBoard.pdfWindow"
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:local="clr-namespace:cseNoticeBoard"
mc:Ignorable="d"
Title="pdfWindow" Height="960" Width="1280" Background="White" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowState="Maximized">
<Grid>
<WindowsFormsHost x:Name="windowsFormHostPdf" HorizontalAlignment="Left" Height="989" Margin="1,69,-56,-98" VerticalAlignment="Top" Width="1335"/>
<!--Back Button-->
<Canvas Margin="0,-850,0,850">
<!--The background of enlarge button-->
<Canvas >
<Path Fill="#8027AAE1" StrokeThickness="1" Opacity="0.5" Data="F1M1170.9,915.6L1026.4,915.6C1022.4,915.6,1019.2,912.4,1019.2,908.4L1019.2,874.5C1019.2,870.5,1022.4,867.3,1026.4,867.3L1170.9,867.3C1174.9,867.3,1178.1,870.5,1178.1,874.5L1178.1,908.4C1178.1,912.4,1174.9,915.6,1170.9,915.6z"/>
<Path Fill="#FF27AAE1" StrokeThickness="1" Data="F1M1165.5,909.4L1021,909.4C1017,909.4,1013.8,906.2,1013.8,902.2L1013.8,868.3C1013.8,864.3,1017,861.1,1021,861.1L1165.5,861.1C1169.5,861.1,1172.7,864.3,1172.7,868.3L1172.7,902.2C1172.7,906.2,1169.4,909.4,1165.5,909.4z"/>
</Canvas>
<!--The content of the enlarge button-->
<TextBlock Text="Go Back" FontFamily="Aspergit-Bold" FontSize="30" Foreground="White" Canvas.Top="-24" Canvas.Left="8">
<TextBlock.RenderTransform>
<MatrixTransform Matrix="1 0 0 1 1033.759765625 891.890625"/>
</TextBlock.RenderTransform>
</TextBlock>
<Button x:Name="buttonGoBack" Content="Enlarge" Opacity="0" Canvas.Left="995" Canvas.Top="849" Width="195" Height="75" Click="buttonGoBack_Click"/>
</Canvas>
<!--Go to Maps Button-->
<Canvas Margin="-880,-850,0,850">
<!--The background of enlarge button-->
<Canvas x:Name="canvasGoToMaps">
<Path Fill="#8027AAE1" StrokeThickness="1" Opacity="0.5" Data="F1M1170.9,915.6L1026.4,915.6C1022.4,915.6,1019.2,912.4,1019.2,908.4L1019.2,874.5C1019.2,870.5,1022.4,867.3,1026.4,867.3L1170.9,867.3C1174.9,867.3,1178.1,870.5,1178.1,874.5L1178.1,908.4C1178.1,912.4,1174.9,915.6,1170.9,915.6z"/>
<Path Fill="#FF27AAE1" StrokeThickness="1" Data="F1M1165.5,909.4L1021,909.4C1017,909.4,1013.8,906.2,1013.8,902.2L1013.8,868.3C1013.8,864.3,1017,861.1,1021,861.1L1165.5,861.1C1169.5,861.1,1172.7,864.3,1172.7,868.3L1172.7,902.2C1172.7,906.2,1169.4,909.4,1165.5,909.4z"/>
</Canvas>
<!--The content of the enlarge button-->
<TextBlock x:Name="textGoToMaps" Text="Go to Maps" FontFamily="Aspergit-Bold" FontSize="30" Foreground="White" Canvas.Top="-24" Canvas.Left="-18">
<TextBlock.RenderTransform>
<MatrixTransform Matrix="1 0 0 1 1033.759765625 891.890625"/>
</TextBlock.RenderTransform>
</TextBlock>
<Button x:Name="buttonMap" Content="Go Back" Opacity="0" Canvas.Left="995" Canvas.Top="849" Width="195" Height="75" Click="buttonMap_Click"/>
</Canvas>
</Grid>
</Window>