Beispiel #1
0
        private void ProcessGateSerialErrorMarshal(string message)
        {
            object[] args = { message };
            ProcessSerialDataMarshalDelegate del = new ProcessSerialDataMarshalDelegate(ProcessGateError);

            base.Invoke(del, args);
        }
Beispiel #2
0
        internal void ProcessInputSerialDataMarshal(string textToDisplay)
        {
            //if (InvokeRequired)
            //{
            object[] args = new object[1] {
                textToDisplay
            };
            ProcessSerialDataMarshalDelegate del = new ProcessSerialDataMarshalDelegate(ProcessInputSerialData);

            this.Invoke(del, args);
            //}
            //else
            //{
            //    ProcessInputSerialData(textToDisplay);
            //}
        }
Beispiel #3
0
 internal void ProcessInputSerialDataMarshal(string textToDisplay)
 {
     //if (InvokeRequired)
     //{
     object[] args = new object[1] { textToDisplay };
     ProcessSerialDataMarshalDelegate del = new ProcessSerialDataMarshalDelegate(ProcessInputSerialData);
     this.Invoke(del, args);
     //}
     //else
     //{
     //    ProcessInputSerialData(textToDisplay);
     //}
 }
Beispiel #4
0
 private void ProcessGateSerialErrorMarshal(string message)
 {
     object[] args = { message };
     ProcessSerialDataMarshalDelegate del = new ProcessSerialDataMarshalDelegate(ProcessGateError);
     base.Invoke(del, args);
 }