private void HistogramForm_FormClosed(object sender, FormClosedEventArgs e) { backBuffer?.Dispose(); backBuffer = null; module?.OnGuiWindowClose(); }
private void FormHSV_FormClosed(object sender, FormClosedEventArgs e) { if (module != null) { if (dirty) { module.OnGuiWindowChanged(); } module.OnGuiWindowClose(); } }