I am using the same setup to read a digital compass. I simply use 'removehandler' to disable capturing of the data-received event and then use the close method of the serial port instance to close the port. If I am not using t again I set the instance of the serial port equl to 'nothing'
What is the difference between list and ilist and when would you use one over the other.
To put my question in context, I am using a collection to store location names and GPS co-ordinates and am trying to understand the roles of iList, List ,Innerlist and Arraylist in relation to collections...
I am guessing (because you are posting in a windows froms forum) that there is a windows form being used and that this is the class with the standard drag&drop forms timer control. It is undesirable to use a thread that you launch to handle user-interface elements. See if you can use a form to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.