-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
24 lines (23 loc) · 1.72 KB
/
MainWindow.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
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="SolresolConverterApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:SolresolConverterApp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBox x:Name="sorsoIn" IsSpellCheckEnabled="False" MaxWidth="250" TextWrapping="Wrap" AcceptsReturn="True" PlaceholderText="Enter Solresol text..."></TextBox>
<ComboBox x:Name="sorsoInFormat"></ComboBox>
<TextBox x:Name="sorsoOut" MaxWidth="250" TextWrapping="Wrap" IsReadOnly="True" PlaceholderText="Text output appears here."></TextBox>
<ComboBox x:Name="sorsoOutFormat" SelectionChanged="sorsoOutFormat_SelectionChanged"></ComboBox>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
<Button x:Name="convertButton" Content="Convert" Click="convertButton_Click"></Button>
<Button x:Name="clearButton" Content="Clear" Click="clearButton_Click"></Button>
</StackPanel>
<TextBox HorizontalAlignment="Right" x:Name="compoundWordsBox" IsSpellCheckEnabled="False" MaxWidth="250" TextWrapping="Wrap" AcceptsReturn="False" PlaceholderText="OPTIONAL: Compound words separated by ';' (e.g., doremi fasollasi;midore silafa;silafa mire doremi)"></TextBox>
</StackPanel>
</Window>