private void MainFrm_Load(object sender, EventArgs e) { // reader is our handle to the physical reader. //reader = new RFIDReader(this); handleTags = new WispHandleTags(); readerMgr = new ReaderManager(this, handleTags); log = new WispLoggingManager(); // init the saturn object. saturn = new SaturnDemo.Saturn(); // Init midi config midi = new MIDI_Control_Demo.Midi(); // Init bink bonk binkBonk = new BinkBonk.BinkBonk_Demo(); handleTags.setBinkBonkCallback(binkBonk); // Setup axis labels for the various graphs. InitSOCGraph(); InitTempGraph(); // Other init code InitTagStats(); // Grab initial component sizes for easy resize formInitialHeight = this.Height; pnlTagListInitialHeight = dgvTagStats.Height; // Init GUI operational mode to idle (disconnected) SetMode(ReaderManager.GuiModes.Idle); }
public void setBinkBonkCallback(BinkBonk_Demo o) { binkBonkCallback = o; }