EditNodeWindow.xaml
3.33 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Window x:Class="RoboforkApp.EditNodeWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="EditNode" Height="300" Width="300"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0">
<Label Content="Edit Node" Name="Label"
Width="300" HorizontalContentAlignment="Center"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="15,2,15,2">
<Label Content="Mode" />
<ComboBox Name="cbMode" Width="200" Margin="12, 0, 0,0">
<ComboBoxItem>移動</ComboBoxItem>
<ComboBoxItem>回転</ComboBoxItem>
<ComboBoxItem>パレットの高さ</ComboBoxItem>
</ComboBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="15,2,0,2">
<Label Content="Speed" />
<TextBox Name="txtSpeed"
MaxLength="16"
TextWrapping="NoWrap"
Width="180"
TabIndex="0"
Margin="10,0,0,0"
PreviewTextInput="IsDigit"/>
<Label Content="Km/h" Width="50" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="3" Margin="15,2,15,2">
<Label Content="Angle" />
<TextBox Name="txtAngle"
MaxLength="16"
TextWrapping="NoWrap"
Width="180"
TabIndex="0"
Margin="14,0,0,0"
PreviewTextInput="IsDigit"/>
<Label Content="°" FontSize="20" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="4" Margin="15,2,0,2">
<Label Content="Hight" />
<TextBox Name="txtHight"
MaxLength="16"
TextWrapping="NoWrap"
Width="180"
TabIndex="0"
Margin="14,0,0,0"
PreviewTextInput="IsDigit"/>
<Label Content="mm" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="5" Margin="15,2,15,2">
<Button Name="btnAddMode" Tag="ADDMODE" Width="230" Margin="10,0,0,0" Click="btnEditNode_Click">
<TextBlock Text="ADD MODE" />
</Button>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="6" Margin="15,2,15,2">
<Button Name="btnNo" Tag="No" Grid.Column="1" Width="100" Margin="10,0,0,0" Click="btnEditNode_Click">
<TextBlock Text="NO" />
</Button>
<Button Name="btnSave" Tag="Save" Grid.Column="2" Width="100" Margin="30,0,0,0" Click="btnEditNode_Click">
<TextBlock Text="SAVE" />
</Button>
</StackPanel>
</Grid>
</Window>