Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (CompanyName != null)
            {
                CompanyName.Dispose();
                CompanyName = null;
            }

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

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

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