public void StopAndDetach() { if (iReceiver != null) { if (iEnabled && iAttached) { Stop(); } iReceiver = null; UpdateStatus(); } }