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
| <Grid>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Button x:Name="btnNewCustomer" Content="New Customer" HorizontalAlignment="Left" Margin="572,646,0,0" Width="125" Height="30" Click="btnNewCustomer_Click" VerticalAlignment="Top"/>
<Button x:Name="btnSaveCustomer" Content="Save Customer" HorizontalAlignment="Left" Margin="727,646,0,0" Width="125" Height="30" Click="btnSaveCustomer_Click" VerticalAlignment="Top"/>
<Button x:Name="btnDeleteCustomer" Content="Delete Customer" HorizontalAlignment="Left" Margin="891,646,0,0" Width="125" Height="30" Click="btnDeleteCustomer_Click" VerticalAlignment="Top"/>
<Button x:Name="btnClose" Content="Close" HorizontalAlignment="Left" Margin="1057,646,0,0" Width="125" Height="30" Click="btnClose_Click" VerticalAlignment="Top"/>
<Label Content="Customer Information Form" HorizontalAlignment="Left" Margin="447,9,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="#FF41B1E1" FontFamily="Lucida Calligraphy" FontSize="34" FontWeight="Bold" FontStyle="Italic" Width="642" Height="55"/>
<GroupBox Header="Customer List" HorizontalAlignment="Left" Margin="378,70,0,0" VerticalAlignment="Top" Height="557" Width="957"/>
<ListView
HorizontalAlignment="Left"
Height="473"
Margin="399,139,0,0"
VerticalAlignment="Top"
Width="921"
x:Name="CustomerInfoListView" MouseDoubleClick="CustomerInfoListView_MouseDoubleClick">
<ListView.ContextMenu>
<ContextMenu x:Name="lstCustomerInfo" StaysOpen="True" Background="WhiteSmoke">
<ContextMenu.BitmapEffect>
<BitmapEffectGroup/>
</ContextMenu.BitmapEffect>
<MenuItem Header="Edit" x:Name="EditProgramContexMenu" Click="EditProgramContexMenu_Click"/>
<MenuItem Header="Rmove" x:Name="RemoveProgramContexMenu" Click="RemoveProgramContexMenu_Click"/>
</ContextMenu>
</ListView.ContextMenu>
<ListView.View>
<GridView AllowsColumnReorder="True">
<GridViewColumn DisplayMemberBinding="{Binding Id}" Header="" Width="0"/>
<GridViewColumn DisplayMemberBinding="{Binding CustomerName}" Header="Customer Name" Width="220"/>
<GridViewColumn DisplayMemberBinding="{Binding CustomerAddress}" Header="Customer Address" Width="280"/>
<GridViewColumn DisplayMemberBinding="{Binding CustomerMobile}" Header="Customer Mobile Number" Width="160"/>
<GridViewColumn DisplayMemberBinding="{Binding CustomerEmail}" Header="Customer Email Address" Width="220"/>
</GridView>
</ListView.View>
</ListView>
<Label Content="Search Customer :" HorizontalAlignment="Left" Margin="396,101,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="txtCustomerSearch" Controls:TextboxHelper.Watermark="Search by Name" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" Margin="514,105,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="160"/>
<GroupBox Header="Customer Information" HorizontalAlignment="Left" Height="557" Margin="10,70,0,0" VerticalAlignment="Top" Width="363">
<Grid HorizontalAlignment="Left" Height="514" Margin="0,0,-2,0" VerticalAlignment="Top" Width="353">
<Label Content="Customer Name :" HorizontalAlignment="Left" Margin="6,3,0,0" VerticalAlignment="Top" Height="26" Width="102" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS"/>
<TextBox x:Name="txtCustomerName" Controls:TextboxHelper.Watermark="Kazi Obaydollah" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" Margin="147,6,0,0" TextChanged="txtCustomerName_TextChanged"/>
<Label Content="Customer Address :" HorizontalAlignment="Left" Margin="6,34,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="116"/>
<TextBox x:Name="txtCustomerAddress" Controls:TextboxHelper.Watermark="Dhaka" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="75" Margin="147,37,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" AcceptsReturn="True"/>
<Label Content="Phone Number :" HorizontalAlignment="Left" Margin="6,116,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="97"/>
<TextBox x:Name="txtCustomerPhone" Controls:TextboxHelper.Watermark="12345678912" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" Margin="147,119,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
<Label Content="Mobile Number :" HorizontalAlignment="Left" Margin="6,147,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="98"/>
<TextBox x:Name="txtCustomerMobile" Controls:TextboxHelper.Watermark="12345678912" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" Margin="147,150,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
<Label Content="FAX Number :" HorizontalAlignment="Left" Margin="6,178,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="86"/>
<TextBox x:Name="txtCustomerFax" Controls:TextboxHelper.Watermark="12345678912" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" Margin="147,181,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
<Label Content="Email Address :" HorizontalAlignment="Left" Margin="6,209,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="94"/>
<TextBox x:Name="txtCustomerEmail" Controls:TextboxHelper.Watermark="info@4ditsolution.com" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="23" Margin="147,212,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
<Label Content="Note :" HorizontalAlignment="Left" Margin="6,240,0,0" VerticalAlignment="Top" Foreground="Black" Background="{x:Null}" FontFamily="Arial Unicode MS" Height="26" Width="42"/>
<TextBox x:Name="txtCustomerNote" Controls:TextboxHelper.Watermark="Type Your Note Here" Controls:TextboxHelper.ClearTextButton="True" HorizontalAlignment="Left" Height="77" Margin="147,244,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" AcceptsReturn="True"/>
</Grid>
</GroupBox>
</Grid>
|