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

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

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

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

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

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

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

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

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

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

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

            if (reportTextArea != null)
            {
                reportTextArea.Dispose();
                reportTextArea = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

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

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

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

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

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

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