public MicrocontrollerListView()
        {
            InitializeComponent();
            this.DoubleBuffered = true;

            if (LicenseManager.UsageMode == LicenseUsageMode.Runtime) {
                timingInterface = new MicroTimingInterface(this);
                timingInterface.PulseReceived += new EventHandler<MicroEventArgs>(timingInterface_PulseReceived);
                timingInterface.SyncReceived += new EventHandler<MicroEventArgs>(timingInterface_SyncReceived);

                powerInterface = new MicroPowerInterface(new IPEndPoint(IPAddress.Parse("192.168.1.10"), 20), this);
                powerInterface.MicroPowerStatusReceived += new EventHandler<MicroPowerStatusEventArgs>(powerInterface_MicroPowerStatusReceived);
            }
        }
Ejemplo n.º 2
0
        public MicrocontrollerListView()
        {
            InitializeComponent();
            this.DoubleBuffered = true;

            if (LicenseManager.UsageMode == LicenseUsageMode.Runtime)
            {
                timingInterface = new MicroTimingInterface(this);
                timingInterface.PulseReceived += new EventHandler <MicroEventArgs>(timingInterface_PulseReceived);
                timingInterface.SyncReceived  += new EventHandler <MicroEventArgs>(timingInterface_SyncReceived);

                powerInterface = new MicroPowerInterface(new IPEndPoint(IPAddress.Parse("192.168.1.10"), 20), this);
                powerInterface.MicroPowerStatusReceived += new EventHandler <MicroPowerStatusEventArgs>(powerInterface_MicroPowerStatusReceived);
            }
        }