Example #1
0
 public ControlForm(LEDCommander Ledc)
 {
     this.Ledc = Ledc;
     InitializeComponent();
     _infoUpdateTimer          = new Timer();
     _infoUpdateTimer.Tick    += new EventHandler(UpdateInfo);
     _infoUpdateTimer.Interval = 1000;
     _infoUpdateTimer.Start();
 }
Example #2
0
        public SetupForm()
        {
            Ledc = new LEDCommander();
            InitializeComponent();

            foreach (String com in LEDCommander.GetComs())
            {
                listBox1.Items.Add(com);
            }
        }