aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Scripting/TestApp/MainWindow.xaml
blob: e9cc002badc22b1550deae08306138ecb712b275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Window x:Class="TestApp.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:editors="clr-namespace:Tango.Scripting.Editors;assembly=Tango.Scripting.Editors"
        xmlns:local="clr-namespace:TestApp"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="42"/>
            <RowDefinition Height="377*"/>
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal">
            <Button Padding="20 10" Click="Button_Click">START</Button>
            <Button Padding="20 10" Click="Button_Click_1">STOP</Button>
            <CheckBox Margin="10 0 0 0" VerticalAlignment="Center" IsChecked="{Binding ElementName=editor,Path=EnableFolding}">Enable Folding</CheckBox>
        </StackPanel>

        <editors:ScriptEditor Grid.Row="1" x:Name="editor" Margin="0 5 0 0">

        </editors:ScriptEditor>
    </Grid>
</Window>