protected override void SetVisibleCore(bool value) { // Prevent window getting visible if (mInstance == null) { CreateHandle(); } mInstance = this; value = false; base.SetVisibleCore(value); }
public static void Stop() { DeviceChangeNotifierForm.DeviceNotify -= DeviceNotify; DeviceChangeNotifierForm.Stop(); }