Esempio n. 1
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;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (TextField != null)
            {
                TextField.Dispose();
                TextField = null;
            }

            if (RecognizeButton != null)
            {
                RecognizeButton.Dispose();
                RecognizeButton = null;
            }
        }