public Form1() { InitializeComponent(); DoubleBuffered = true; bmpQueue = new Queue <Bitmap>(); paletteImg = (Bitmap)Properties.Resources.ResourceManager.GetObject("iron1000");; // Init button trigger to be off. m_get_extra_cal = false; usignExternalCal = false; firstAfterCal = false; autoSaveImg = false; saveExternalFrames = false; var device = SeekThermal.Enumerate().FirstOrDefault(); if (device == null) { MessageBox.Show("No Seek Thermal devices found.\n(did you install the drivers?)"); return; } thermal = new SeekThermal(device); thermalThread = new Thread(ThermalThreadProc); thermalThread.IsBackground = true; thermalThread.Start(); }
public Form1() { InitializeComponent(); DoubleBuffered = true; bmpQueue = new Queue <Bitmap>(); paletteImg = new Bitmap(pictureBox1.Image); // Init button trigger to be off. m_get_extra_cal = false; usignExternalCal = false; firstAfterCal = false; autoSaveImg = false; saveExternalFrames = false; var device = SeekThermal.Enumerate().FirstOrDefault(); if (device == null) { MessageBox.Show("No Seek Thermal devices found."); return; } thermal = new SeekThermal(device); thermalThread = new Thread(ThermalThreadProc); thermalThread.IsBackground = true; thermalThread.Start(); }
public Form1() { InitializeComponent(); DoubleBuffered = true; bmpQueue = new Queue <Bitmap>(); var device = SeekThermal.Enumerate().FirstOrDefault(); if (device == null) { MessageBox.Show("No Seek Thermal devices found."); return; } thermal = new SeekThermal(device); thermalThread = new Thread(ThermalThreadProc); thermalThread.IsBackground = true; thermalThread.Start(); }
public Form1() { InitializeComponent(); localPath = Directory.GetCurrentDirectory().ToString(); Directory.CreateDirectory(localPath + @"\export"); rbUnitsK.CheckedChanged += new EventHandler(radioButtons_CheckedChanged); rbUnitsC.CheckedChanged += new EventHandler(radioButtons_CheckedChanged); rbUnitsF.CheckedChanged += new EventHandler(radioButtons_CheckedChanged); var device = SeekThermal.Enumerate().FirstOrDefault(); if (device == null) { MessageBox.Show("No Seek Thermal devices found."); return; } thermal = new SeekThermal(device); thermalThread = new Thread(ThermalThreadProc); thermalThread.IsBackground = true; thermalThread.Start(); }