/// <summary> Disposes of the menu </summary>
 public override void Dispose()
 {
     base.Dispose();
     PlayButton?.Dispose();
     StoreButton?.Dispose();
     _Title.Dispose();
 }
        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;
            }
        }
Beispiel #3
0
        void ReleaseDesignerOutlets()
        {
            if (AudioUnitTableView != null)
            {
                AudioUnitTableView.Dispose();
                AudioUnitTableView = null;
            }

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

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

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

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

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

#if __TVOS__
            if (LivePhotoPlayButton != null)
            {
                LivePhotoPlayButton.Dispose();
                LivePhotoPlayButton = null;
            }
#endif

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

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

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

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

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

            if (ProgressView != null)
            {
                ProgressView.Dispose();
                ProgressView = null;
            }
        }
Beispiel #5
0
        void ReleaseDesignerOutlets()
        {
            if (TableView != null)
            {
                TableView.Dispose();
                TableView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (SongsView != null)
            {
                SongsView.Dispose();
                SongsView = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (PlayButton != null)
     {
         PlayButton.Dispose();
         PlayButton = null;
     }
     if (todoLabel != null)
     {
         todoLabel.Dispose();
         todoLabel = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (ConstMaxSpeed != null)
            {
                ConstMaxSpeed.Dispose();
                ConstMaxSpeed = null;
            }

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

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

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

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

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

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

            if (TopSpeedLabel != null)
            {
                TopSpeedLabel.Dispose();
                TopSpeedLabel = 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;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (PlayButton != null)
            {
                PlayButton.Dispose();
                PlayButton = null;
            }

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

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

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

            if (VideoView != null)
            {
                VideoView.Dispose();
                VideoView = null;
            }
        }
Beispiel #12
0
        void ReleaseDesignerOutlets()
        {
            if (Btn_A != null)
            {
                Btn_A.Dispose();
                Btn_A = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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