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

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

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

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

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

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

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

            if (LblVenue != null)
            {
                LblVenue.Dispose();
                LblVenue = null;
            }
        }
Esempio n. 3
0
        void ReleaseDesignerOutlets()
        {
            if (LblTitle != null)
            {
                LblTitle.Dispose();
                LblTitle = null;
            }

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

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