예제 #1
0
        void bmodo(object sender, EventArgs e)
        {
            wiimote.Disconnect();
            var nextPage = new t_top();

            NavigationService.Navigate(nextPage);
        }
 void bmodo(object sender, EventArgs e)  //////トップ画面
 {
     if (t_id == -1)
     {
         t_id = -1;
         Application.Current.Properties["t_id"] = null;
         if (bac_b != null)
         {
             grid3.Children.Remove(bac_b);
         }
         var nextPage = new k_Top();
         NavigationService.Navigate(nextPage);
     }
     else
     {
         t_id = -1;
         Application.Current.Properties["t_id"] = null;
         if (bac_b != null)
         {
             grid3.Children.Remove(bac_b);
         }
         var nextPage = new t_top();
         NavigationService.Navigate(nextPage);
     }
 }
예제 #3
0
        /// <summary>
        /// 担当者がログインに成功した際に画面を担当者用のトップ画面に遷移する
        /// </summary>
        void t_Click()
        {
            Application.Current.Properties["kname"] = Application.Current.Properties["t_na"].ToString();
            Application.Current.Properties["k_id"]  = Application.Current.Properties["t_id"].ToString();
            var nextPage = new t_top();

            NavigationService.Navigate(nextPage);
        }
예제 #4
0
        void bmodo(object sender, EventArgs e)
        {
            var nextPage = new t_top();

            NavigationService.Navigate(nextPage);
        }