-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReihenlochbohrungDialog.xaml
More file actions
57 lines (47 loc) · 3.03 KB
/
Copy pathReihenlochbohrungDialog.xaml
File metadata and controls
57 lines (47 loc) · 3.03 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
<Window x:Class="NCHops.ReihenlochbohrungDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Reihenlochbohrung" 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"/>
<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="Startpunkt X:" VerticalAlignment="Center"/>
<TextBox Grid.Row="2" Grid.Column="1" x:Name="TxtStartX" Text="0" VerticalAlignment="Center"/>
<Label Grid.Row="3" Grid.Column="0" Content="Startpunkt Y:" VerticalAlignment="Center"/>
<TextBox Grid.Row="3" Grid.Column="1" x:Name="TxtStartY" Text="0" VerticalAlignment="Center"/>
<Label Grid.Row="4" Grid.Column="0" Content="Anzahl Löcher X:" VerticalAlignment="Center"/>
<TextBox Grid.Row="4" Grid.Column="1" x:Name="TxtCountX" Text="2" VerticalAlignment="Center"/>
<Label Grid.Row="5" Grid.Column="0" Content="Anzahl Löcher Y:" VerticalAlignment="Center"/>
<TextBox Grid.Row="5" Grid.Column="1" x:Name="TxtCountY" Text="2" VerticalAlignment="Center"/>
<Label Grid.Row="6" Grid.Column="0" Content="Abstand X:" VerticalAlignment="Center"/>
<TextBox Grid.Row="6" Grid.Column="1" x:Name="TxtSpacingX" Text="32" VerticalAlignment="Center"/>
<Label Grid.Row="7" Grid.Column="0" Content="Abstand Y:" VerticalAlignment="Center"/>
<TextBox Grid.Row="7" Grid.Column="1" x:Name="TxtSpacingY" Text="32" VerticalAlignment="Center"/>
<Label Grid.Row="8" Grid.Column="0" Content="Bohrtiefe:" VerticalAlignment="Center"/>
<TextBox Grid.Row="8" Grid.Column="1" x:Name="TxtBohrtiefe" Text="22" VerticalAlignment="Center"/>
<StackPanel Grid.Row="9" 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>