Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (WidgetImage != null)
            {
                WidgetImage.Dispose();
                WidgetImage = null;
            }

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

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