public override void OnBlockRemoved() { dlg?.TryClose(); if (workitemRenderer != null) { workitemRenderer.Dispose(); workitemRenderer = null; } }
public override void OnBlockUnloaded() { base.OnBlockUnloaded(); workitemRenderer?.Dispose(); }