void ReleaseDesignerOutlets() { if (FrontImageView != null) { FrontImageView.Dispose(); FrontImageView = null; } if (BackImageView != null) { BackImageView.Dispose(); BackImageView = null; } }
void ReleaseDesignerOutlets() { if (CaptureFrontButton != null) { CaptureFrontButton.Dispose(); CaptureFrontButton = null; } if (CardTypeSegment != null) { CardTypeSegment.Dispose(); CardTypeSegment = null; } if (KeyEntry != null) { KeyEntry.Dispose(); KeyEntry = null; } if (ProcessDataButton != null) { ProcessDataButton.Dispose(); ProcessDataButton = null; } if (BackImageView != null) { BackImageView.Dispose(); BackImageView = null; } if (FrontImageView != null) { FrontImageView.Dispose(); FrontImageView = null; } }