コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

            if (PinTextField != null)
            {
                PinTextField.Dispose();
                PinTextField = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (BuySeekiosButton != null)
            {
                BuySeekiosButton.Dispose();
                BuySeekiosButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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