-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
16 lines (16 loc) · 1.46 KB
/
Copy pathMainWindow.xaml
File metadata and controls
16 lines (16 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Window x:Class="Text_Editor.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:Text_Editor"
mc:Ignorable="d"
Title="Super Simple Text Editor" Height="700" Width="1150">
<Grid>
<Button Name="openFileBtn" Click="openFileBtn_Click" Content="Open a Text File" Margin="46,78,987,0" VerticalAlignment="Top" Width="117" Height="38"/>
<Button Name="saveFileBtn" Click="saveFileBtn_Click" Content="save a Text File" Margin="46,153,987,0" VerticalAlignment="Top" Width="117" Height="38"/>
<TextBox Name="fileSpaceBox" BorderBrush="Black" BorderThickness="1" VerticalScrollBarVisibility="Auto" FontSize="14" KeyDown="fileSpaceBox_KeyDown" HorizontalAlignment="Left" Height="321" Margin="292,51,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="785"/>
<TextBlock Name="fileNameBlock" Background="LightGray" FontSize="14" ScrollViewer.HorizontalScrollBarVisibility="Auto" HorizontalAlignment="Left" Margin="292,21,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="785" Height="25"/>
<TextBlock HorizontalAlignment="Left" Margin="617,8,0,0" TextWrapping="Wrap" Text="File Name:" VerticalAlignment="Top"/>
</Grid>
</Window>