forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
20 lines (20 loc) · 1.19 KB
/
MainWindow.xaml
File metadata and controls
20 lines (20 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Window x:Class="Waher.Script.Lab.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:Waher.Script.Lab"
mc:Ignorable="d"
Title="Waher Script Lab" Height="400" Width="600" Loaded="Window_Loaded" Closing="Window_Closing">
<DockPanel>
<StackPanel DockPanel.Dock="Bottom" Margin="5,5,5,5">
<TextBox Name="Input" TextWrapping="Wrap" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto"
ToolTip="Enter script to execute here." AcceptsTab="True" Margin="0,0,0,0" Height="60"
AcceptsReturn="True" PreviewKeyDown="Input_PreviewKeyDown" />
</StackPanel>
<ScrollViewer VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" Name="HistoryScrollViewer">
<StackPanel Name="HistoryPanel">
</StackPanel>
</ScrollViewer>
</DockPanel>
</Window>