コード例 #1
0
ファイル: ControlForm.cs プロジェクト: janhon3n/JLEDC1-App
 public ControlForm(LEDCommander Ledc)
 {
     this.Ledc = Ledc;
     InitializeComponent();
     _infoUpdateTimer          = new Timer();
     _infoUpdateTimer.Tick    += new EventHandler(UpdateInfo);
     _infoUpdateTimer.Interval = 1000;
     _infoUpdateTimer.Start();
 }
コード例 #2
0
        public SetupForm()
        {
            Ledc = new LEDCommander();
            InitializeComponent();

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