-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeleteItemWindow.xaml
53 lines (47 loc) · 1.8 KB
/
DeleteItemWindow.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
<Window x:Class="PhoneBookAlpha.DeleteItemWindow"
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:PhoneBookAlpha"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="DeleteItemWindow" Height="200" Width="320">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0">
<Label HorizontalAlignment="Center"
Padding="8"
FontWeight="DemiBold"
Content="Delete Contact Number" />
</StackPanel>
<StackPanel Grid.Row="1"
Margin="0 20 0 0"
Orientation="Horizontal">
<TextBlock
Padding="5"
Text="Enter Name to remove : "/>
<TextBox Width="130"
Height="30"
Margin="10 0 0 0"
BorderBrush="Black"
Padding="3"
Name="nameToDelete"
BorderThickness="2"/>
</StackPanel>
<StackPanel Grid.Row="2">
<Button
Margin="0 20 0 0"
Content="Delete Contact"
HorizontalAlignment="Center"
BorderBrush="Black"
BorderThickness="2"
Padding="5"
Click="Button_Click" />
</StackPanel>
</Grid>
</Window>