Пример #1
0
 private void timeoutFly()
 {
     try
     {
         double j     = 10;
         double range = 49000000;
         googleEarth.flyEarth(j, 11.86, range, 0.2);
         DispatcherTimer dt = new DispatcherTimer();
         dt.Interval = TimeSpan.FromMilliseconds(100);
         dt.Tick    += new EventHandler(delegate(object sender, EventArgs e)
         {
             j     += 10;
             range -= 2000000;
             googleEarth.flyEarth(j, 31.86, range, 0.2);
             if (j > 117)
             {
                 dt.Stop();
                 flashAllOverlay();
                 LogUtil.debug("开始轮播");
                 turnPlay();
                 //显示的窗体
                 googleEarth.Show();
                 //隐藏首页页面显示
                 mainWindow.Hide();
             }
         });//调用函数
         dt.Start();
     }
     catch (Exception ee) {
         LogUtil.error("timeoutFly error:" + ee.StackTrace);
     }
 }
Пример #2
0
        private void lblNext_MouseDown(object sender, MouseButtonEventArgs e)
        {
            this.WelcomeWindow.Hide();
            GoogleEarth ge = new GoogleEarth();

            ge.Show();
        }
Пример #3
0
 private void lblNext_MouseDown(object sender, MouseButtonEventArgs e)
 {
     this.WelcomeWindow.Hide();
     GoogleEarth ge = new GoogleEarth();
     ge.Show();
 }