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

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

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

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

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

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

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

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