void ReleaseDesignerOutlets() { if (Bias != null) { Bias.Dispose(); Bias = null; } if (CameraView != null) { CameraView.Dispose(); CameraView = null; } if (Duration != null) { Duration.Dispose(); Duration = null; } if (ISO != null) { ISO.Dispose(); ISO = null; } if (NoCamera != null) { NoCamera.Dispose(); NoCamera = null; } if (Offset != null) { Offset.Dispose(); Offset = null; } if (Segments != null) { Segments.Dispose(); Segments = null; } }
protected override void _Dispose(bool isDisposing) { Bias.Dispose(); Weight.Dispose(); }