Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (ButtonButton != null)
            {
                ButtonButton.Dispose();
                ButtonButton = null;
            }

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

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

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

            if (UserInterfaceLabel != null)
            {
                UserInterfaceLabel.Dispose();
                UserInterfaceLabel = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (RemoteView != null)
            {
                RemoteView.Dispose();
                RemoteView = null;
            }

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

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