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

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

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

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

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

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

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