Вы находитесь на странице: 1из 2

Homework 3

CIS-560: Developing Mobile Native Applications.


1. Fill in the missing lines of code. Assume there is a rectangle in the XAML with name = "theRectangle". Fill in the lines of missing code so that when "theRectangle" is pressed the color of theRectangle
namespace PhoneApp1 { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() { InitializeComponent(); // MISSING CODE

} void theRectangle_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { // MISSING CODE } } }

2. Complete the missing XAML in fruit.xaml to recreate the pictured app. Only one radio button should be allowed to be selected at a time.

3. Create a new Panorama application name "homework3". This application should have 4 sections. a. Information b. Picture c. Notes The Information section should contain information about a person such as Name, Phone, Address, email, etc. (this can be fictional information). Please include at least 5 pieces of information. Each piece of info should be label and on its own line. All of the information should be sized so that it files the entire PanoramaItem. The Picture section should contain a picture of the person in the Information Section and the person's name. The Notes section should have a large textbox that allows typing on multiple lines and has a keyboard type of Text.

Вам также может понравиться