public void SchickeHexString(String hexString)
 {
     if (!Dispatcher.CheckAccess())
     {
         Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, DelStringObject, hexString);
     }
     else
     {
         //vmyQC.v_SchickeHexString(hexString);
         QuadroControl.SchickeHexString(hexString);
     }
 }
        public MainWindow()
        {
            InitializeComponent();
            //vmyQC = new vQuadroControl();
            WPF_Initia();
            XBox            = new Controller(UserIndex.One);
            myQC            = new QuadroControl();
            DelStringObject = new DelString(SchickeHexString);
            MainwindowUp    = new Thread(XboxState);

            MainwindowUp.Start();
            // UAVTaklSender.Start();
        }
 private void m_Sender()
 {
     Syn_Val    = "3C";
     MessageTyp = "20";
     Length     = "38 00";
     ObjectID   = "80 74 10 C4";
     InstanceID = "00 00";
     Throttle   = QuadroControl.KonvertiereFloatZuHexString(Throttle_Val);
     Roll       = QuadroControl.KonvertiereFloatZuHexString(Row_X);
     Pitch      = QuadroControl.KonvertiereFloatZuHexString(Pitch_Y);
     Yaw        = QuadroControl.KonvertiereFloatZuHexString(Yaw_X);
     Collective = "00 00 00 00";
     Thrust     = Throttle;
     Channel    = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00";
     Connected  = "01";
     FlightModeSwitchPosition = "00";
     DelStringObject(Syn_Val + " " + MessageTyp + " " + Length + " " + ObjectID + " " + InstanceID + " " + Throttle + " " + Roll + " " + Pitch + " " + Yaw + " " + Collective + " " + Thrust + " " + Channel + " " + Connected + " " + FlightModeSwitchPosition);
 }