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

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

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

            if (Surface != null)
            {
                Surface.Dispose();
                Surface = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (_viewForTowers != null)
            {
                _viewForTowers.Dispose();
                _viewForTowers = null;
            }

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

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

            if (StopButton != null)
            {
                StopButton.Dispose();
                StopButton = null;
            }
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (PauseButton != null)
            {
                PauseButton.Dispose();
                PauseButton = null;
            }

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

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

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

            if (LayerCollection != null)
            {
                LayerCollection.Dispose();
                LayerCollection = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (MyPlayer != null)
     {
         MyPlayer.Dispose();
         MyPlayer = null;
     }
     if (PauseButton != null)
     {
         PauseButton.Dispose();
         PauseButton = null;
     }
     if (PlayButton != null)
     {
         PlayButton.Dispose();
         PlayButton = null;
     }
     if (PlayerStatus != null)
     {
         PlayerStatus.Dispose();
         PlayerStatus = null;
     }
     if (PlayListIdButton != null)
     {
         PlayListIdButton.Dispose();
         PlayListIdButton = null;
     }
     if (SeekToButton != null)
     {
         SeekToButton.Dispose();
         SeekToButton = null;
     }
     if (SeekToText != null)
     {
         SeekToText.Dispose();
         SeekToText = null;
     }
     if (StopButton != null)
     {
         StopButton.Dispose();
         StopButton = null;
     }
     if (TextPlayListId != null)
     {
         TextPlayListId.Dispose();
         TextPlayListId = null;
     }
 }
コード例 #5
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;
     }
 }