Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

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

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

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

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

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

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

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

            if (UpdateButton != null)
            {
                UpdateButton.Dispose();
                UpdateButton = null;
            }
        }
Esempio n. 2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            _longPressedSubject.Dispose();
            _onTagSelectedSubject.Dispose();
            _onTappedSubject.Dispose();
            _onRemoveButtonTappedSubject.Dispose();
            RemoveGestureRecognizer(_longPressGestureRecognizer);
            _longPressGestureRecognizer.Dispose();
            RemoveButton.Dispose();
            Disposables.Dispose();
        }
        void ReleaseDesignerOutlets()
        {
            if (RemoveButton != null)
            {
                RemoveButton.Dispose();
                RemoveButton = null;
            }

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

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

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

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

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

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

            if (ScopeComboBox != null)
            {
                ScopeComboBox.Dispose();
                ScopeComboBox = null;
            }
        }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

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

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

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

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

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

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