コード例 #1
0
       /*private void Bt_exit_Click(object sender, RoutedEventArgs e)
        {
            if (MessageBox.Show("确定退出吗?", "系统提示", MessageBoxButton.OKCancel, MessageBoxImage.Question) == MessageBoxResult.OK)
            {
                MessageBox.Show("开机界面退出!");//在全站仪界面中加载
                Application.Current.Shutdown();
            }

        }
        */
        private void PointDistance_Click(object sender, RoutedEventArgs e)
        {
            collect1_PointSurvey1 window_collect1 = new collect1_PointSurvey1();
            window_collect1.Show();
            this.Close();//关闭当前窗口
        }
コード例 #2
0
        private void OpenCollect(object sender, RoutedEventArgs e)
        {
           /* collect window_collect = new collect();
            window_collect.Show();
            this.Close();//关闭当前窗口*/
            collect1_PointSurvey1 window_collect = new collect1_PointSurvey1();
           window_collect.Show();
           this.Close();

        }