Esempio n. 1
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)
 {
     _pageParameters = e.Parameter as MyPage_Another_SubPage1_List;
     if (_pageParameters != null)
     {
         if (_pageParameters.Message == "")
         {
             test = "Plus";
         }
         else
         {
             test = _pageParameters.Message;
         }
     }
     Initialize_MyPage_Another_SubPage1();
 }
Esempio n. 2
0
        private void GView_MyPage_Another_SubPage1_ItemClick(object sender, ItemClickEventArgs e)
        {
            MyPage_Another_SubPage1_List _item = e.ClickedItem as MyPage_Another_SubPage1_List;

            MyPage_Another_SubPage1_List pageParameters = new MyPage_Another_SubPage1_List();

            pageParameters.Message = _item.Name;

            test1 = _item.Name;

            if (test1 == "Pusan Univ Class")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "Seoul Univ Class")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "Favority Voice")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "Interview")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "Total")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "New Folder")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "Pusan Univ Class_Sub")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
            }
            else if (test1 == "")
            {
                FS_MyPage2.Navigate(typeof(MyPage_Another_SubPage1), pageParameters);
                test1 = "b";
            }
        }