133134135136137138139140141142143
} catch (Exception ex) { paintError = ex; } finally { gc.dispose(); if (deviceRenderer != null) { deviceRenderer.dispose(); } } if (paintError != null) { buffer = oldBuffer;