Ejemplo n.º 1
0
 /// <summary>
 /// The event handler of the click event.
 /// When a user clicks a create button in order to create contact, this event handler would be invoked.
 /// This handler would create an instance of the InsertPaget.xaml
 /// and push the instance to the navigation stack in an asynchronous manner.
 /// <param name="sender">The object what got the event</param>
 /// <param name="e">Data of the event</param>
 /// </summary>
 async void OnButtonClicked(object sender, EventArgs e)
 {
     RecordItem item     = new RecordItem();
     ItemPage   itemPage = new ItemPage(item, "Save", 0);
     await Navigation.PushAsync(itemPage);
 }