示例#1
0
 partial void ClearButtonClick(Foundation.NSObject sender)
 {
     DrawHolder.Path         = new CGPath();
     DrawHolder.AllPoints    = new List <CGPoint>();
     DrawHolder.CurrentPoint = new CGPoint();
     DrawHolder.SetNeedsDisplay();
 }
示例#2
0
        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;
            }
        }