Esempio n. 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            TestFy3AMersiProjection frm = new TestFy3AMersiProjection();

            frm.ProgressCallback = new Action <int, string>(OutProgress);
            WriteLine(frm.TestDstExtendPole());
        }
Esempio n. 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            TestFy3AMersiProjection fyp = new TestFy3AMersiProjection();
            Action <int, string>    progressCallback = new Action <int, string>(OutProgress);

            fyp.DataReady(progressCallback);
            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();
            fyp.TestProjection();
            stopwatch.Stop();
            WriteLine("数据投影{0}ms", stopwatch.ElapsedMilliseconds);
            stopwatch.Restart();
        }