Search results for query: *

  • Users: blinky
  • Content: Threads
  • Order by date
  1. blinky

    Resolved How to close/delete/dispose of an object

    I have a class that creates and opens a serial port: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Ports; namespace ObservatoryControl { public static class ObservatoryPortProvider { private...
  2. blinky

    Resolved cross thread operation not valid

    Following from this afternoons question..... I have a class, roof, which has a public string, serialdata. Im setting the value of this by a timer which runs every 2 seconds to query the serial port. I then have a list box Im trying to populate with this data, by doing the same - creating a...
  3. blinky

    Answered Want to do this OOP stuff properly - separate class for a list of com ports?

    Hi, Pretty much new to programming and defiantly new to OOP, so go easy! Im writing a tiny Windows Form app that will be used to open and close my observatory roof. I have created a seperate class for my observatory object but I will be communicating with the actual roof through the...
Back
Top Bottom