public EditLogForm(LoggingManager logNew, Logger chosen, LoggingForm logFormNew) { InitializeComponent(); logOptChosen = chosen; log = logNew; logForm = logFormNew; }
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 LoggingForm(LoggingManager logNew) { InitializeComponent(); log = logNew; }
private void MainFrm_Load(object sender, EventArgs e) { // set position of form //base.Location = new Point(800, 150); // 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 Saturn(); // Setup axis labels for the various graphs. InitSOCGraph(); InitTempGraph(); // Other init code InitTagStats(); // Store initial sizes (for resize operation). formInitialSize = this.Size; pnlTagListInitialSize = pnlTagList.Size; // Init GUI operational mode to idle (disconnected) SetMode(ReaderManager.GuiModes.Idle); }