Exemple #1
0
        public RFIDReader(RaceLoggerDO dataObject, RaceLoggerGUI gui)
        {
            m_dataObject = dataObject;
            m_gui        = gui;
            m_serial     = 0;

            PassRefToGUI();
        }
Exemple #2
0
        static void Main()
        {
            RFIDReader m_rfidReader1;
            RFIDReader m_rfidReader2;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            RaceLoggerDO dataObject = new RaceLoggerDO();

            RaceLoggerGUI raceLoggerGUI = new RaceLoggerGUI(dataObject);

            m_rfidReader1 = new RFIDReader(dataObject, raceLoggerGUI);
            m_rfidReader2 = new RFIDReader(dataObject, raceLoggerGUI);

            Application.Run(raceLoggerGUI);
        }
Exemple #3
0
 public RaceLoggerGUI(RaceLoggerDO dataObject)
 {
     m_dataObject = dataObject;
     InitializeComponent();
 }