update
This commit is contained in:
parent
c8dc4d464d
commit
678c8cca59
|
@ -5,15 +5,15 @@
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:MorseCoder"
|
xmlns:local="clr-namespace:MorseCoder"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="MainWindow" Height="450" Width="633">
|
Title="MainWindow" Height="450" Width="593">
|
||||||
<Grid Margin="0,10,116,0">
|
<Grid Margin="0,10,0,0">
|
||||||
<Button x:Name="mousen" Content="Morsen" HorizontalAlignment="Left" Margin="109,66,0,0" VerticalAlignment="Top" Height="40" Width="115" BorderBrush="#FF707070" MouseDown="mousen_MouseDown" MouseUp="mousen_MouseUp" />
|
<Button x:Name="mousen" Content="Morsen" HorizontalAlignment="Left" Margin="19,46,0,0" VerticalAlignment="Top" Height="40" Width="115" BorderBrush="#FF707070" MouseDown="mousen_MouseDown" MouseUp="mousen_MouseUp" Cursor="Cross" />
|
||||||
<Label x:Name="label_" Content="Morse Code" HorizontalAlignment="Left" Margin="262,24,0,0" VerticalAlignment="Top" Height="43" Width="202" FontSize="24"/>
|
<Label x:Name="label_" Content="Morse Code" HorizontalAlignment="Left" Margin="262,24,0,0" VerticalAlignment="Top" Height="43" Width="202" FontSize="24"/>
|
||||||
<Label x:Name="code_label" Content="" HorizontalAlignment="Left" Margin="286,68,0,0" VerticalAlignment="Top" Width="292" FontWeight="Bold" FontSize="18"/>
|
<Label x:Name="code_label" Content="" Margin="286,68,15,0" VerticalAlignment="Top" FontWeight="Bold" FontSize="18"/>
|
||||||
<Button Content="Next" HorizontalAlignment="Left" Margin="136,117,0,0" VerticalAlignment="Top" Height="25" Width="52" Click="Button_Click"/>
|
<Button Content="Next" HorizontalAlignment="Left" Margin="50,106,0,0" VerticalAlignment="Top" Height="25" Width="52" Click="Button_Click"/>
|
||||||
<Label Content="Decoded" HorizontalAlignment="Left" Margin="262,106,0,0" VerticalAlignment="Top" Height="38" Width="108" FontSize="24"/>
|
<Label Content="Decoded" HorizontalAlignment="Left" Margin="262,106,0,0" VerticalAlignment="Top" Height="38" Width="108" FontSize="24"/>
|
||||||
<Label x:Name="decode_label" Content="" HorizontalAlignment="Left" Margin="286,150,0,0" VerticalAlignment="Top" Width="292" FontSize="18" FontWeight="Bold"/>
|
<Label x:Name="decode_label" Content="" Margin="286,150,15,0" VerticalAlignment="Top" FontSize="18" FontWeight="Bold"/>
|
||||||
<Button x:Name="clear_button" Content="Clear" HorizontalAlignment="Left" Margin="143,152,0,0" VerticalAlignment="Top" Click="Clear_Button_Click" Width="38"/>
|
<Button x:Name="clear_button" Content="Clear" HorizontalAlignment="Left" Margin="58,152,0,0" VerticalAlignment="Top" Click="Clear_Button_Click" Width="38"/>
|
||||||
<Image HorizontalAlignment="Left" Height="198" Margin="46,197,0,0" VerticalAlignment="Top" Width="332" Source="/codec.png" RenderTransformOrigin="0.5,0.5">
|
<Image HorizontalAlignment="Left" Height="198" Margin="46,197,0,0" VerticalAlignment="Top" Width="332" Source="/codec.png" RenderTransformOrigin="0.5,0.5">
|
||||||
<Image.RenderTransform>
|
<Image.RenderTransform>
|
||||||
<TransformGroup>
|
<TransformGroup>
|
||||||
|
@ -24,6 +24,7 @@
|
||||||
</TransformGroup>
|
</TransformGroup>
|
||||||
</Image.RenderTransform>
|
</Image.RenderTransform>
|
||||||
</Image>
|
</Image>
|
||||||
|
<Label Content="(Rechte Maustaste)
" HorizontalAlignment="Left" Margin="32,24,0,0" VerticalAlignment="Top" Height="22" Width="90" FontSize="8" FontWeight="Bold"/>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
@ -1,18 +1,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
|
||||||
using System.Windows.Media.Imaging;
|
|
||||||
using System.Windows.Navigation;
|
|
||||||
using System.Windows.Shapes;
|
|
||||||
|
|
||||||
namespace MorseCoder
|
namespace MorseCoder
|
||||||
{
|
{
|
||||||
|
@ -63,7 +54,6 @@ namespace MorseCoder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Clear_Button_Click(object sender, RoutedEventArgs e)
|
private void Clear_Button_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
code_label.Content = "";
|
code_label.Content = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user