private void GView_VoiceListPage_ItemClick(object sender, ItemClickEventArgs e) { VoiceListPage_List _item = e.ClickedItem as VoiceListPage_List; VoiceListPage_List pageParameters = new VoiceListPage_List(); pageParameters.Message = _item.Name; m_Frame.Navigate(typeof(PadPage_New), pageParameters); }
private void GView_SpeechPage_ItemClick(object sender, ItemClickEventArgs e) { SpeechPage_List _item = e.ClickedItem as SpeechPage_List; VoiceListPage_List pageParameters = new VoiceListPage_List(); pageParameters.Message = TBox_Title.Text; Frame_Speech.Navigate(typeof(SpeechPage_Sub1), pageParameters); if (Grid_Menu.IsRightTapEnabled == true) { Move_Grid(); } }
/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> protected override void OnNavigatedTo(NavigationEventArgs e) { _pageParameters = e.Parameter as VoiceListPage_List; if (_pageParameters != null) { if (_pageParameters.Message == "") { test = ""; } else { test = _pageParameters.Message; } } Initilize_PadPage_New(); }