-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUmfahrenDialog.xaml
More file actions
62 lines (53 loc) · 3.06 KB
/
UmfahrenDialog.xaml
File metadata and controls
62 lines (53 loc) · 3.06 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
<Window x:Class="NCHops.UmfahrenDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Umfahren" Width="360" SizeToContent="Height" MinWidth="360"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize">
<Grid Margin="16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="140"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- Werkzeugauswahl -->
<Label Grid.Row="0" Grid.Column="0" Content="Werkzeug:" VerticalAlignment="Center"/>
<ComboBox Grid.Row="0" Grid.Column="1" x:Name="CbWerkzeug"
DisplayMemberPath="DisplayName" VerticalAlignment="Center"/>
<Separator Grid.Row="1" Grid.ColumnSpan="2" Margin="0,6,0,6"/>
<Label Grid.Row="2" Grid.Column="0" Content="A +/-:" VerticalAlignment="Center"/>
<TextBox Grid.Row="2" Grid.Column="1" x:Name="TxtA" Text="0" VerticalAlignment="Center"/>
<Label Grid.Row="3" Grid.Column="0" Content="Startpunkt:" VerticalAlignment="Center"/>
<ComboBox Grid.Row="3" Grid.Column="1" x:Name="CbStartSide" SelectedIndex="0" VerticalAlignment="Center">
<ComboBoxItem Content="oben"/>
<ComboBoxItem Content="rechts"/>
<ComboBoxItem Content="unten"/>
<ComboBoxItem Content="links"/>
</ComboBox>
<Label Grid.Row="4" Grid.Column="0" Content="Fräsrichtung:" VerticalAlignment="Center"/>
<ComboBox Grid.Row="4" Grid.Column="1" x:Name="CbDirection" SelectedIndex="0" VerticalAlignment="Center">
<ComboBoxItem Content="gegenlauf"/>
<ComboBoxItem Content="gleichlauf"/>
</ComboBox>
<Label Grid.Row="5" Grid.Column="0" Content="Fertigradius r:" VerticalAlignment="Center"/>
<TextBox Grid.Row="5" Grid.Column="1" x:Name="TxtRadius" Text="0" VerticalAlignment="Center"/>
<Label Grid.Row="6" Grid.Column="0" Content="Z:" VerticalAlignment="Center"/>
<TextBox Grid.Row="6" Grid.Column="1" x:Name="TxtZ" VerticalAlignment="Center"/>
<CheckBox Grid.Row="7" Grid.ColumnSpan="2" x:Name="ChkMehrfach"
Content="Mehrfachzustellung (Z-Schritte des Fräsers)"
Margin="0,6,0,0" VerticalAlignment="Center"/>
<StackPanel Grid.Row="8" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,16,0,0">
<Button Content="OK" Width="75" Margin="0,0,8,0" Click="OnOk" IsDefault="True"/>
<Button Content="Abbrechen" Width="85" Click="OnCancel"/>
</StackPanel>
</Grid>
</Window>