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

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

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

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

            if (StartDateTextField != null)
            {
                StartDateTextField.Dispose();
                StartDateTextField = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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