private void FormLedCheckerMain_Load(object sender, EventArgs e) { Location = new Point(1920 + 1440, 0); DefMenu.Index = 0; DispVersion(); invalidThread = new InvalidThread(csInvalidTime); invalidThread.InvalidControls += InvalidForm; invalidThread.Resume(); }
private void Initialize() { AppRes.Initialize(); invalidThread = null; DefMenu = new UlMenu(viewPanel); DefMenu.Add(new CtrlAutoRight(), testButton); DefMenu.Add(new CtrlManualRight(), deviceButton); DefMenu.Add(new CtrlViewRight(), viewButton); DefMenu.Add(new CtrlConfigRight(), configButton); }