예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (SegmentedControl != null)
            {
                SegmentedControl.Dispose();
                SegmentedControl = null;
            }

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

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

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

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

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

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

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

            if (UpdateIntervalSlider != null)
            {
                UpdateIntervalSlider.Dispose();
                UpdateIntervalSlider = null;
            }
        }
예제 #3
0
        void ReleaseDesignerOutlets()
        {
            if (SegmentedControl != null)
            {
                SegmentedControl.Dispose();
                SegmentedControl = null;
            }

            if (TableView != null)
            {
                TableView.Dispose();
                TableView = null;
            }
        }
예제 #4
0
 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;
     }
 }