Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<Window x:Class="HuffmanEditor.MainWindow"
|
||||
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:HuffmanEditor"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="20"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="25" x:Name="statusStrip"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Menu Grid.Row="0">
|
||||
<MenuItem Header="Файл">
|
||||
<MenuItem Header="Открыть" Click="OpenFileClick"/>
|
||||
<MenuItem Header="Сохранить" Click="SaveFileClick"/>
|
||||
<MenuItem Header="Сохранить как..." Click="SaveAsClick"/>
|
||||
</MenuItem>
|
||||
<MenuItem Header="Вид">
|
||||
<CheckBox Content="Перенос слов" Click="WordWrapClick"/>
|
||||
<CheckBox Content="Строка состояния" IsChecked="True" Click="StatusStripClick"/>
|
||||
</MenuItem>
|
||||
<MenuItem Header="О программе"/>
|
||||
</Menu>
|
||||
<TextBox Grid.Row="1" x:Name="textBox" TextChanged="textBox_TextChanged" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"/>
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal">
|
||||
<Label x:Name="cursorAddress" Margin="0,0,8,0"/>
|
||||
<Label x:Name="characterCount" Margin="0,0,8,0"/>
|
||||
<Label x:Name="textType" Content="Plain text (txt)"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user