source: trunk/CrypPlugins/Enigma/EnigmaPresentation.xaml @ 2801

Last change on this file since 2801 was 2801, checked in by weyers, 11 years ago

EnigmaPresentation - EnigmaSettings synchronisation, EnigmaPresentation input management updated

File size: 6.0 KB
Line 
1<UserControl x:Class="Cryptool.Enigma.EnigmaPresentation"
2             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6             mc:Ignorable="d"
7             d:DesignHeight="1250" d:DesignWidth="2200" KeyDown="tastedruecken">
8    <Canvas Name="mainCanvas">
9
10
11        <Canvas Name="mainmainmain" Height="1250" Width="2200" HorizontalAlignment="Left">
12
13            <Image Name ="background2" Source= "Images/background2.png" Height="1250" Width="2200" Canvas.Top="0" Canvas.Left="0" AllowDrop="True" Opacity="8.0"></Image>
14            <Image Name ="rotor1img" Source= "Images/rotor.png" Height="899" Width="260" Canvas.Top="0" Canvas.Left="458"></Image>
15            <Image Name ="rotor2img" Source= "Images/rotor.png" Height="899" Width="260" Canvas.Top="0" Canvas.Left="228"></Image>
16            <Image Name ="rotor3img" Source= "Images/rotor.png" Height="899" Width="260" Canvas.Top="0" Canvas.Left="688"></Image>
17            <Image Name ="walzeimg" Source= "Images/walze.png" Height="800" Width="260" Canvas.Top="42" Canvas.Left="0"></Image>
18            <Image Name ="paperimg" Source= "Images/paper.png" Height="310" Width="1100" Canvas.Bottom="0" Canvas.Left="1100"></Image>
19            <Image Name ="kisteimg" Source= "Images/kiste.png" Height="130" Width="360" Canvas.Top="838" Canvas.Left="1280"></Image>
20            <Image Name ="kiste2img" Source= "Images/kiste.png" Height="130" Width="360" Canvas.Top="838" Canvas.Left="1695"></Image>
21            <Image Name ="oldpaperimg" Source= "Images/oldpaper.png" Height="300" Width="1050" Canvas.Bottom="0" Canvas.Left="0"></Image>
22
23            <Rectangle Name="dummy" Opacity="0.0" Width="2200" Height="1250" Stroke="White" StrokeThickness="1" Fill="White" AllowDrop="True">
24
25            </Rectangle>
26
27            <TextBlock Text="Rotorlage:" FontSize="35" Canvas.Left="30" ></TextBlock>
28            <TextBlock Text="Ringstellung:" FontSize="35" Canvas.Left="30" Canvas.Bottom="370" ></TextBlock>
29            <Canvas Name ="walzenarea" Height="1000" Width="260"></Canvas>
30            <Canvas Name ="rotorarea" Height="1000" Width="1000" Canvas.Left="260">
31
32                <TextBox Name="Debug" Height="50" Width="400" FontSize="30" Canvas.Left="-260" Opacity="1.0"></TextBox>
33                <Slider Canvas.Left="0" Canvas.Top="950" Height="23" Name="slider1" Width="500" />
34                <Button Canvas.Left="0" Canvas.Top="900" Content="Stop" Height="23" Name="Stop" Width="75" />
35                <Button Canvas.Left="100" Canvas.Top="900" Content="deStop" Height="23" Name="destop" Width="75" />
36                <Button Canvas.Left="200" Canvas.Top="900" Content="M4on" Height="23" Name="m4on" Width="75" />
37                <Button Canvas.Left="300" Canvas.Top="900" Content="Play" Height="23" Name="play" Width="75" />
38            </Canvas>
39            <StackPanel Name="mainmain"  Height="1000" Width="800" Canvas.Left="1300">
40
41                <Canvas Name="leuchten"  HorizontalAlignment="Left" Height="200" >
42
43                </Canvas>
44
45
46                <Canvas Name="tastaturrow0"  HorizontalAlignment="Left" Height="39">
47
48                </Canvas>
49                <Canvas Name="schalterrow0" HorizontalAlignment="Left" Height="50">
50
51                </Canvas>
52
53                <Canvas Name="tastaturrow1"  HorizontalAlignment="Left" Height="39">
54
55                </Canvas>
56                <Canvas Name="schalterrow1" HorizontalAlignment="Left" Height="50">
57
58                </Canvas>
59                <Canvas Name="tastaturrow2"  HorizontalAlignment="Left" Height="39">
60
61                </Canvas>
62                <Canvas Name="schalterrow2" HorizontalAlignment="Left" Height="50">
63
64                </Canvas>
65
66                <StackPanel Name="alpha" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top"  ></StackPanel>
67                <Canvas Name="maingrid" Height="284" MaxHeight="284">
68                    <StackPanel Name="steckerbrett"  Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Top="200">
69                    </StackPanel>
70                    <StackPanel Name="alpha2" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Top="250"></StackPanel>
71                </Canvas>
72
73                <Grid Name="maingrid2">
74                </Grid>
75
76
77            </StackPanel>
78            <Canvas Name="batterie" Height="1000" Width="50" HorizontalAlignment="Right" Canvas.Right="100">
79
80            </Canvas>
81            <Canvas Name="dropBoxCanvas" Canvas.Right="500" Canvas.Bottom="400">
82                <Rectangle Name="dropBox" Width="300" Height="100" Stroke="Green" StrokeThickness="5" Fill="LawnGreen" Opacity="0.0">
83
84                </Rectangle>
85
86            </Canvas>
87            <Canvas Name="dropBoxCanvasWalze" Canvas.Right="900" Canvas.Bottom="400" >
88                <Rectangle Name="dropBoxWalze" Width="300"  Height="100" Stroke="Green" StrokeThickness="5" Fill="LawnGreen" Opacity="0.0">
89                </Rectangle>
90            </Canvas>
91            <WrapPanel  Canvas.Bottom="40" Name="inputPanel" Canvas.Left="50" Width="950" Height="200">
92                <WrapPanel.RenderTransform>
93                    <RotateTransform x:Name="TransRotate"
94                           CenterX="25" CenterY="25" Angle="1.9" />
95                </WrapPanel.RenderTransform>
96
97            </WrapPanel>
98            <WrapPanel Canvas.Bottom="10" Name="outputPanel" Canvas.Right="67" Width="983" Height="200">
99                <WrapPanel.RenderTransform>
100                    <RotateTransform x:Name="TransRotate2"
101                           CenterX="25" CenterY="25" Angle="-2.5" />
102                </WrapPanel.RenderTransform>
103
104
105            </WrapPanel>
106        </Canvas>
107
108    </Canvas>
109</UserControl>
Note: See TracBrowser for help on using the repository browser.