コード例 #1
0
 /// <summary>
 /// Opens the Joystick Settings Window
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void joystickEinstellungenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GroundControlUI.Forms.JoystickSettings frm = new GroundControlUI.Forms.JoystickSettings((FlightControlCommons.UAVJoystick)((GroundControlCore.GroundControlCore)core).stick, ((GroundControlCore.GroundControlCore)core).mapping);
     if (frm.ShowDialog() == DialogResult.OK)
     {
     }
 }
コード例 #2
0
ファイル: Mainform.cs プロジェクト: siegelpeter/UAV-NET
        /// <summary>
        /// Opens the Joystick Settings Window
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void joystickEinstellungenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GroundControlUI.Forms.JoystickSettings frm = new GroundControlUI.Forms.JoystickSettings((FlightControlCommons.UAVJoystick)((GroundControlCore.GroundControlCore)core).stick, ((GroundControlCore.GroundControlCore)core).mapping);
            if (frm.ShowDialog() == DialogResult.OK)
            {

            }
        }