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

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

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

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

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

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

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

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

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

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

            if (ZoomOutButton != null)
            {
                ZoomOutButton.Dispose();
                ZoomOutButton = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (CommentsView != null)
     {
         CommentsView.Dispose();
         CommentsView = null;
     }
     if (CommentTextBox != null)
     {
         CommentTextBox.Dispose();
         CommentTextBox = null;
     }
     if (CostLabel != null)
     {
         CostLabel.Dispose();
         CostLabel = null;
     }
     if (DateLabel != null)
     {
         DateLabel.Dispose();
         DateLabel = null;
     }
     if (DistanceLabel != null)
     {
         DistanceLabel.Dispose();
         DistanceLabel = null;
     }
     if (DriverLabel != null)
     {
         DriverLabel.Dispose();
         DriverLabel = null;
     }
     if (EndLabel != null)
     {
         EndLabel.Dispose();
         EndLabel = null;
     }
     if (FromLabel != null)
     {
         FromLabel.Dispose();
         FromLabel = null;
     }
     if (MakerLabel != null)
     {
         MakerLabel.Dispose();
         MakerLabel = null;
     }
     if (ModelLabel != null)
     {
         ModelLabel.Dispose();
         ModelLabel = null;
     }
     if (RateLabel != null)
     {
         RateLabel.Dispose();
         RateLabel = null;
     }
     if (ResumeView != null)
     {
         ResumeView.Dispose();
         ResumeView = null;
     }
     if (SegmentedControl != null)
     {
         SegmentedControl.Dispose();
         SegmentedControl = null;
     }
     if (StartLabel != null)
     {
         StartLabel.Dispose();
         StartLabel = null;
     }
     if (ToLabel != null)
     {
         ToLabel.Dispose();
         ToLabel = null;
     }
     if (VehicleImage != null)
     {
         VehicleImage.Dispose();
         VehicleImage = null;
     }
 }