示例#1
0
 void ReleaseDesignerOutlets()
 {
     if (BottomMenu != null)
     {
         BottomMenu.Dispose();
         BottomMenu = null;
     }
     if (btnComments != null)
     {
         btnComments.Dispose();
         btnComments = null;
     }
     if (btnRates != null)
     {
         btnRates.Dispose();
         btnRates = null;
     }
     if (btnStatistic != null)
     {
         btnStatistic.Dispose();
         btnStatistic = null;
     }
     if (MainBackground != null)
     {
         MainBackground.Dispose();
         MainBackground = null;
     }
     if (NavigationBar != null)
     {
         NavigationBar.Dispose();
         NavigationBar = null;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (BottomMenu != null)
     {
         BottomMenu.Dispose();
         BottomMenu = null;
     }
     if (btnComments != null)
     {
         btnComments.Dispose();
         btnComments = null;
     }
     if (btnRates != null)
     {
         btnRates.Dispose();
         btnRates = null;
     }
     if (btnStatistic != null)
     {
         btnStatistic.Dispose();
         btnStatistic = null;
     }
     if (MainBackground != null)
     {
         MainBackground.Dispose();
         MainBackground = null;
     }
     if (MainLabel != null)
     {
         MainLabel.Dispose();
         MainLabel = null;
     }
     if (OverlayView != null)
     {
         OverlayView.Dispose();
         OverlayView = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (GeenSites != null)
            {
                GeenSites.Dispose();
                GeenSites = null;
            }

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

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

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

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

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

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

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

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

            if (TopMenu != null)
            {
                TopMenu.Dispose();
                TopMenu = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (BottomMenu != null)
     {
         BottomMenu.Dispose();
         BottomMenu = null;
     }
     if (btnAll != null)
     {
         btnAll.Dispose();
         btnAll = null;
     }
     if (btnComments != null)
     {
         btnComments.Dispose();
         btnComments = null;
     }
     if (btnCost != null)
     {
         btnCost.Dispose();
         btnCost = null;
     }
     if (btnHalfYear != null)
     {
         btnHalfYear.Dispose();
         btnHalfYear = null;
     }
     if (btnMonth != null)
     {
         btnMonth.Dispose();
         btnMonth = null;
     }
     if (btnQuality != null)
     {
         btnQuality.Dispose();
         btnQuality = null;
     }
     if (btnQuarter != null)
     {
         btnQuarter.Dispose();
         btnQuarter = null;
     }
     if (btnRates != null)
     {
         btnRates.Dispose();
         btnRates = null;
     }
     if (btnService != null)
     {
         btnService.Dispose();
         btnService = null;
     }
     if (btnStatistic != null)
     {
         btnStatistic.Dispose();
         btnStatistic = null;
     }
     if (btnYear != null)
     {
         btnYear.Dispose();
         btnYear = null;
     }
     if (GraphicViewWindow != null)
     {
         GraphicViewWindow.Dispose();
         GraphicViewWindow = null;
     }
     if (MainBackGroubd != null)
     {
         MainBackGroubd.Dispose();
         MainBackGroubd = null;
     }
     if (ServiceWindow != null)
     {
         ServiceWindow.Dispose();
         ServiceWindow = null;
     }
     if (TopMenuView != null)
     {
         TopMenuView.Dispose();
         TopMenuView = null;
     }
 }