void ReleaseDesignerOutlets()
        {
            if (ChangeButton != null)
            {
                ChangeButton.Dispose();
                ChangeButton = null;
            }

            if (ChangeColorBtn != null)
            {
                ChangeColorBtn.Dispose();
                ChangeColorBtn = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (Button2 != null)
            {
                Button2.Dispose();
                Button2 = null;
            }

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

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