Example #1
0
 private void Image_btn3_PointerReleased(object sender, PointerRoutedEventArgs e)
 {
     Image_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_main_w.png"));
     Image_btn2.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_my_w.png"));
     Image_btn3.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_voicelist_green.png"));
     Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_w.png"));
     Frame_Main3.Navigate(typeof(AskingListPage));
 }
Example #2
0
 /// <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)
 {
     if (!Frame_Main3.Navigate(typeof(PadPage_New)))
     {
         throw new Exception("Failed to create scenario list");
     }
     Image_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_main_green.png"));
     Image_btn2.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_my_w.png"));
     Image_btn3.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_voicelist_w.png"));
     Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_w.png"));
 }