コード例 #1
0
        private void BUT_xplane_Click(object sender, EventArgs e)
        {
            if (xp == null)
            {
                xp = new HIL.XPlane();

                xp.SetupSockets(49005, 49000, "127.0.0.1");
            }


            System.Threading.ThreadPool.QueueUserWorkItem(runxplanemove);

            //xp.Shutdown();
        }
コード例 #2
0
ファイル: temp.cs プロジェクト: RealTadango/MissionPlanner
        private void BUT_xplane_Click(object sender, EventArgs e)
        {
            if (xp == null)
            {
                xp = new HIL.XPlane();

                xp.SetupSockets(49005, 49000, "127.0.0.1");
            }

            System.Threading.ThreadPool.QueueUserWorkItem(runxplanemove);

            //xp.Shutdown();
        }