示例#1
0
 void ReleaseDesignerOutlets()
 {
     if (CustomerLabel != null)
     {
         CustomerLabel.Dispose();
         CustomerLabel = null;
     }
     if (DiscountLabel != null)
     {
         DiscountLabel.Dispose();
         DiscountLabel = null;
     }
     if (DiscountTitleLabel != null)
     {
         DiscountTitleLabel.Dispose();
         DiscountTitleLabel = null;
     }
     if (PauseButton != null)
     {
         PauseButton.Dispose();
         PauseButton = null;
     }
     if (ScanButton != null)
     {
         ScanButton.Dispose();
         ScanButton = null;
     }
     if (SearchBarContainerView != null)
     {
         SearchBarContainerView.Dispose();
         SearchBarContainerView = null;
     }
     if (TableView != null)
     {
         TableView.Dispose();
         TableView = null;
     }
     if (TaxLabel != null)
     {
         TaxLabel.Dispose();
         TaxLabel = null;
     }
     if (TaxTitleLabel != null)
     {
         TaxTitleLabel.Dispose();
         TaxTitleLabel = null;
     }
     if (TotalLabel != null)
     {
         TotalLabel.Dispose();
         TotalLabel = null;
     }
     if (TotalTitleLabel != null)
     {
         TotalTitleLabel.Dispose();
         TotalTitleLabel = null;
     }
     if (TrashButton != null)
     {
         TrashButton.Dispose();
         TrashButton = null;
     }
 }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (EngineLabel != null)
            {
                EngineLabel.Dispose();
                EngineLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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