Beispiel #1
0
 private void Image_btn1_PointerReleased(object sender, PointerRoutedEventArgs e)
 {
     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"));
     Frame_Main3.Navigate(typeof(PadPage_New));
 }
Beispiel #2
0
 private void Image_btn3_PointerReleased(object sender, PointerRoutedEventArgs e)
 {
     Image_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/able_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/able_history_green.png"));
     Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_w.png"));
     Frame_Main2.Navigate(typeof(ActivityPage));
 }
Beispiel #3
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"));
 }
Beispiel #4
0
 private void Image_btn4_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_gray.png"));
 }