comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:ebed2bd0d300
1 <Window x:Class="defical_gui.main"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 Title="Defical" MinHeight="320" MinWidth="500">
5 <Grid>
6 <GroupBox Header="Graph" Margin="12,12,0,0" Name="grpGraph" HorizontalAlignment="Left" Width="210" Height="116" VerticalAlignment="Top">
7 <Grid>
8 <Label Margin="6,6,112,0" Name="lblType" VerticalAlignment="Top" Target="{Binding ElementName=cmbGraphType}">_Type</Label>
9 <ComboBox Height="23" Margin="92,6,6,0" Name="cmbGraphType" VerticalAlignment="Top" SelectedIndex="0">
10 <ComboBoxItem>Wheel</ComboBoxItem>
11 <ComboBoxItem>Fan</ComboBoxItem>
12 <ComboBoxItem>Double Fan</ComboBoxItem>
13 </ComboBox>
14 <Label Margin="6,35,112,0" Name="lblN" VerticalAlignment="Top" Target="{Binding ElementName=txtNumN}">_n</Label>
15 <TextBox Height="23" Margin="0,35,6,0" Name="txtNumN" VerticalAlignment="Top" HorizontalAlignment="Right" Width="100" TextChanged="txtNumN_TextChanged" />
16 <Label Margin="6,64,112,0" Name="lblDef" VerticalAlignment="Top" Target="{Binding ElementName=txtNumDef}">_Deficiencies</Label>
17 <TextBox Margin="0,64,6,0" Name="txtNumDef" HorizontalAlignment="Right" Width="100" Height="23" VerticalAlignment="Top" TextChanged="txtNumDef_TextChanged" />
18 </Grid>
19 </GroupBox>
20 <GroupBox Header="Options" Height="53" Margin="12,134,0,0" Name="grpLabels" VerticalAlignment="Top" HorizontalAlignment="Left" Width="210">
21 <Grid>
22
23 <CheckBox Margin="6,6,6,0" Name="chkIsFindAll" VerticalAlignment="Top">_Find all possible labelings</CheckBox>
24 </Grid>
25 </GroupBox>
26 <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>
27 <Button Height="23" Margin="120,193,0,0" Name="btnStop" VerticalAlignment="Top" HorizontalAlignment="Left" Width="102" IsEnabled="False" Click="btnStop_Click">S_top</Button>
28 <ProgressBar Height="13" Margin="12,222,0,0" Name="barProgress" VerticalAlignment="Top" HorizontalAlignment="Left" Width="210" />
29 <GroupBox Header="Result" Margin="228,12,12,12" Name="grpResult">
30 <Grid>
31 <TextBox Margin="6,6,6,35" Name="txtResult" TextChanged="txtResult_TextChanged" AcceptsReturn="True" AcceptsTab="False" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" IsReadOnly="True" HorizontalScrollBarVisibility="Auto" />
32 <Button Height="23" HorizontalAlignment="Right" Margin="0,0,114,6" Name="btnClear" VerticalAlignment="Bottom" Width="102" Click="btnClear_Click">_Clear</Button>
33 <Button Height="23" HorizontalAlignment="Right" Margin="0,0,6,6" Name="btnSave" VerticalAlignment="Bottom" Width="102" Click="btnSave_Click">Sa_ve</Button>
34 </Grid>
35 </GroupBox>
36 <Button Height="23" HorizontalAlignment="Left" Margin="12,0,0,12" Name="btnExit" VerticalAlignment="Bottom" Width="102" Click="btnExit_Click">E_xit</Button>
37 </Grid>
38 </Window>