void ReleaseDesignerOutlets() { if (ClassName != null) { ClassName.Dispose(); ClassName = null; } if (ColorCancel != null) { ColorCancel.Dispose(); ColorCancel = null; } if (ColorConfirm != null) { ColorConfirm.Dispose(); ColorConfirm = null; } if (ColorPickerPopup != null) { ColorPickerPopup.Dispose(); ColorPickerPopup = null; } }