public void Close() { if (_bitmapLiveImages != null) { _bitmapLiveImages.Close(); } _bitmapLiveImages = null; }
public PrivacyMaskUserControl(ConfigurationItem item, ConfigApiClient configApiClient) { InitializeComponent(); _item = item; _bitmapLiveImages = new BitmapLiveImages(_item, configApiClient); _bitmapLiveImages.ImageReceivedEvent += _bitmapLiveImages_ImageReceivedEvent; _bitmapLiveImages.Init(); }