-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRemoveControllerDialog.xaml
More file actions
59 lines (59 loc) · 3.29 KB
/
RemoveControllerDialog.xaml
File metadata and controls
59 lines (59 loc) · 3.29 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
<UserControl x:Class="ControllerManagementSystem.RemoveControllerDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ControllerManagementSystem"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{materialDesign:MaterialDesignFont}"
FontSize="14"
mc:Ignorable="d"
d:DesignHeight="220" d:DesignWidth="210"
BorderThickness="0">
<Border BorderThickness="0">
<Grid>
<StackPanel>
<Border>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Remove Controller"
HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,5,0,0"/>
<Button x:Name="CloseBtn"
Style="{DynamicResource WindowButtonStyle}"
Click="CloseBtn_Click"
Padding="0"
Margin="30,5,4,0" HorizontalAlignment="Right" VerticalAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
Height="20" Width="20">
<materialDesign:PackIcon Kind="Close"/>
</Button>
</StackPanel>
</Border>
<StackPanel HorizontalAlignment="Center">
<Label Content="Type" HorizontalAlignment="Left" Margin="10,5,0,0" />
<ComboBox x:Name="ControllerTypeBox"
SelectionChanged="ControllerTypeBox_SelectionChanged"
HorizontalContentAlignment="Left" VerticalContentAlignment="Bottom"
Margin="0" HorizontalAlignment="Center"
Width="120"/>
<Label Content="Name" HorizontalAlignment="Left" Margin="10,10,0,0" />
<ComboBox x:Name="ControllerNumberBox"
SelectionChanged="ControllerNumberBox_SelectionChanged"
HorizontalContentAlignment="Left" VerticalContentAlignment="Bottom"
Margin="0" HorizontalAlignment="Center"
Width="120"/>
<Button x:Name="RemoveControllerBtn"
Content="Delete Controller"
Click="RemoveControllerBtn_Click"
Margin="0,10,0,0" HorizontalAlignment="Center"/>
<TextBlock x:Name="ValidityBox"
Text=""
FontSize="10" TextWrapping="Wrap" TextAlignment="Center"
HorizontalAlignment="Center" Margin="0,3,0,5"
Width="150"/>
</StackPanel>
</StackPanel>
</Grid>
</Border>
</UserControl>