void ReleaseDesignerOutlets() { if (ButtonBack != null) { ButtonBack.Dispose(); ButtonBack = null; } if (ButtonDone != null) { ButtonDone.Dispose(); ButtonDone = null; } if (ButtonSpinner != null) { ButtonSpinner.Dispose(); ButtonSpinner = null; } if (CollectionGallery != null) { CollectionGallery.Dispose(); CollectionGallery = null; } if (ViewBottom != null) { ViewBottom.Dispose(); ViewBottom = null; } if (ViewTop != null) { ViewTop.Dispose(); ViewTop = null; } }
void ReleaseDesignerOutlets() { if (ButtonBack != null) { ButtonBack.Dispose(); ButtonBack = null; } if (ButtonCapture != null) { ButtonCapture.Dispose(); ButtonCapture = null; } if (ButtonFlash != null) { ButtonFlash.Dispose(); ButtonFlash = null; } if (ButtonSwitch != null) { ButtonSwitch.Dispose(); ButtonSwitch = null; } if (CameraView != null) { CameraView.Dispose(); CameraView = null; } if (ViewTop != null) { ViewTop.Dispose(); ViewTop = null; } }