-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRepDesignerWin.xaml
55 lines (46 loc) · 2.05 KB
/
RepDesignerWin.xaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<Window x:Class="Nurielite.RepDesignerWin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Block Creator"
Height="220" Width="230"
MinHeight="220" MinWidth="230"
WindowStartupLocation="CenterScreen">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- labels -->
<StackPanel Grid.Column="0">
<Label Content="Name:" Margin="10" Padding="0"/>
<Label Content="Type:" Margin="10" Padding="0"/>
<Label Name="lblType" Content="Algorithm:" Margin="10" Padding="0"/>
<Label Content="Inputs:" Margin="10" Padding="0"/>
</StackPanel>
<!-- fields -->
<StackPanel Grid.Column="1">
<TextBox Name="txtNameInput" Text="unnamed" Width="120" Margin="10" Padding="0" />
<ComboBox Name="cmbAlgorithmType" Margin="8" Padding="2" Loaded="cmbAlgorithmType_Loaded" SelectionChanged="cmbAlgorithmType_SelectionChanged"/>
<ComboBox Name="cmbAlgorithmSpecific" Margin="8" Padding="2"/>
<TextBox Name="numInputs" TextWrapping="Wrap" Text="1" Margin="10" Width="120"/>
</StackPanel>
<Button Grid.ColumnSpan="2" Content="Create Block" Margin="10" VerticalAlignment="Bottom" Click="Button_Click_ConfirmNew" />
</Grid>
<Grid Grid.Column="1">
<StackPanel Orientation="Horizontal" Margin="0,0,320.6,0.2">
<!-- inputs list -->
<!--<StackPanel>
<Label Content="Inputs" HorizontalAlignment="Center" Margin="10" Padding="0"/>
<TextBox Name="numInputs" Height="18" TextWrapping="Wrap" Text="1" Width="32"/>
</StackPanel>-->
<!-- <DataGrid Name="MultiplicityGrid" VerticalAlignment="Top" Margin="5,35,5,0" Height="100" Width="58"/> -->
<!-- outputs list -->
</StackPanel>
</Grid>
</Grid>
</Window>