partial void ClearButtonClick(Foundation.NSObject sender) { DrawHolder.Path = new CGPath(); DrawHolder.AllPoints = new List <CGPoint>(); DrawHolder.CurrentPoint = new CGPoint(); DrawHolder.SetNeedsDisplay(); }
void ReleaseDesignerOutlets() { if (DrawHolder != null) { DrawHolder.Dispose(); DrawHolder = null; } if (LabelHolder != null) { LabelHolder.Dispose(); LabelHolder = null; } if (LearnButton != null) { LearnButton.Dispose(); LearnButton = null; } if (RecognizeButton != null) { RecognizeButton.Dispose(); RecognizeButton = null; } if (TextLabel != null) { TextLabel.Dispose(); TextLabel = null; } }