public void Close() { Stop(); _scanCore.CloseDriver(); if (m_formsetup != null) { m_formsetup.Dispose(); m_formsetup = null; } }