Ex 4) Sebastian designed a Window store app for recording the details of people who visit a gift store.The following figure shows the interface of the app.
Sebistian used three equally-sized text boxes for the Name,Address,and Phone fields to maintain consistency in design.However,the addresses of users often overflow the address textbox.As a result,users are not able to see and fill the addresses appropriately.
Suggest an improvement that sebistian can apply to the design to overcome the preceding problem.In addition,create a design that will be more appropriate for the app.
Prerequisite:to perform the exercise,you need an input file,Customer Details.zip.Ask your faculty to provide the same.
Sebistian used three equally-sized text boxes for the Name,Address,and Phone fields to maintain consistency in design.However,the addresses of users often overflow the address textbox.As a result,users are not able to see and fill the addresses appropriately.
Suggest an improvement that sebistian can apply to the design to overcome the preceding problem.In addition,create a design that will be more appropriate for the app.
Prerequisite:to perform the exercise,you need an input file,Customer Details.zip.Ask your faculty to provide the same.
Ans 4) Paste in mainpage.xaml
<Page
x:Class="Recrangle.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Recrangle"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="#ffeccc3d" Width=" 1375" Margin="0,6,-9,-55">
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Margin="40,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="100"/>
<Rectangle Fill="Black" HorizontalAlignment="Left" Height="53" Margin="71,88,0,0" Stroke="Black" VerticalAlignment="Top" Width="69"/>
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Stroke="Black" VerticalAlignment="Top" Width="100" Margin="40,142,0,0"/>
<Rectangle Fill="Black" HorizontalAlignment="Left" Height="69" Margin="40,216,0,0" Stroke="Black" VerticalAlignment="Top" Width="70"/>
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Stroke="Black" VerticalAlignment="Top" Width="100" Margin="40,285,0,0"/>
<Rectangle Fill="Black" HorizontalAlignment="Left" Height="63" Stroke="Black" VerticalAlignment="Top" Width="63" Margin="78,359,0,0"/>
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Stroke="Black" VerticalAlignment="Top" Width="100" Margin="40,422,0,0"/>
<Rectangle Fill="Black" HorizontalAlignment="Left" Height="78" Stroke="Black" VerticalAlignment="Top" Width="69" Margin="41,485,0,0"/>
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Stroke="Black" VerticalAlignment="Top" Width="100" Margin="41,563,0,0"/>
<Rectangle Fill="Black" HorizontalAlignment="Left" Height="75" Margin="71,629,0,0" Stroke="Black" VerticalAlignment="Top" Width="69"/>
<Rectangle Fill="#FFE83710" HorizontalAlignment="Left" Height="100" Stroke="Black" VerticalAlignment="Top" Width="100" Margin="41,703,0,0"/>
<TextBlock HorizontalAlignment="Left" Margin="207,148,0,0" FontSize="30" TextWrapping="Wrap" Text="Name" VerticalAlignment="Top" Height="53" Width="84" Foreground="Black" FontWeight="Bold"/>
<TextBlock HorizontalAlignment="Left" Margin="207,367,0,0" FontSize="30" FontWeight="Bold" TextWrapping="Wrap" Text="Address" VerticalAlignment="Top" Height="49" Width="160" Foreground="#FF0E0D0D"/>
<TextBlock HorizontalAlignment="Left" Margin="207,582,0,0" FontSize="30" FontWeight="Bold" TextWrapping="Wrap" Text="Phone" VerticalAlignment="Top" Height="35" Width="144" Foreground="#FF0E0D0D"/>
<TextBox HorizontalAlignment="Left" Margin="663,148,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="315" Height="81"/>
<TextBox HorizontalAlignment="Left" Margin="663,360,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="315" Height="81"/>
<TextBox HorizontalAlignment="Left" Margin="663,565,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="315" Height="81"/>
</Grid>
</Page>
No comments:
Post a Comment