view defical-sharp/defical-gui/main.xaml @ 0:ebed2bd0d300

Initial import from svn. History be damned.
author Edho P. Arief <me@myconan.net>
date Fri, 02 Apr 2010 23:11:57 +0700
parents
children
line wrap: on
line source

<Window x:Class="defical_gui.main"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Defical" MinHeight="320" MinWidth="500">
    <Grid>
        <GroupBox Header="Graph" Margin="12,12,0,0" Name="grpGraph" HorizontalAlignment="Left" Width="210" Height="116" VerticalAlignment="Top">
            <Grid>
                <Label Margin="6,6,112,0" Name="lblType" VerticalAlignment="Top" Target="{Binding ElementName=cmbGraphType}">_Type</Label>
                <ComboBox Height="23" Margin="92,6,6,0" Name="cmbGraphType" VerticalAlignment="Top" SelectedIndex="0">
                    <ComboBoxItem>Wheel</ComboBoxItem>
                    <ComboBoxItem>Fan</ComboBoxItem>
                    <ComboBoxItem>Double Fan</ComboBoxItem>
                </ComboBox>
                <Label Margin="6,35,112,0" Name="lblN" VerticalAlignment="Top" Target="{Binding ElementName=txtNumN}">_n</Label>
                <TextBox Height="23" Margin="0,35,6,0" Name="txtNumN" VerticalAlignment="Top" HorizontalAlignment="Right" Width="100" TextChanged="txtNumN_TextChanged" />
                <Label Margin="6,64,112,0" Name="lblDef" VerticalAlignment="Top" Target="{Binding ElementName=txtNumDef}">_Deficiencies</Label>
                <TextBox Margin="0,64,6,0" Name="txtNumDef" HorizontalAlignment="Right" Width="100" Height="23" VerticalAlignment="Top" TextChanged="txtNumDef_TextChanged" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Options" Height="53" Margin="12,134,0,0" Name="grpLabels" VerticalAlignment="Top" HorizontalAlignment="Left" Width="210">
            <Grid>
                
                <CheckBox Margin="6,6,6,0" Name="chkIsFindAll" VerticalAlignment="Top">_Find all possible labelings</CheckBox>
            </Grid>
        </GroupBox>
        <Button Height="23" HorizontalAlignment="Left" Margin="12,193,0,0" Name="btnStart" VerticalAlignment="Top" Width="102" IsDefault="True" IsEnabled="False" Click="btnStart_Click">_Start</Button>
        <Button Height="23" Margin="120,193,0,0" Name="btnStop" VerticalAlignment="Top" HorizontalAlignment="Left" Width="102" IsEnabled="False" Click="btnStop_Click">S_top</Button>
        <ProgressBar Height="13" Margin="12,222,0,0" Name="barProgress" VerticalAlignment="Top" HorizontalAlignment="Left" Width="210" />
        <GroupBox Header="Result" Margin="228,12,12,12" Name="grpResult">
            <Grid>
                <TextBox Margin="6,6,6,35" Name="txtResult" TextChanged="txtResult_TextChanged" AcceptsReturn="True" AcceptsTab="False" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" IsReadOnly="True" HorizontalScrollBarVisibility="Auto" />
                <Button Height="23" HorizontalAlignment="Right" Margin="0,0,114,6" Name="btnClear" VerticalAlignment="Bottom" Width="102" Click="btnClear_Click">_Clear</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,0,6,6" Name="btnSave" VerticalAlignment="Bottom" Width="102" Click="btnSave_Click">Sa_ve</Button>
            </Grid>
        </GroupBox>
        <Button Height="23" HorizontalAlignment="Left" Margin="12,0,0,12" Name="btnExit" VerticalAlignment="Bottom" Width="102" Click="btnExit_Click">E_xit</Button>
    </Grid>
</Window>