Beispiel #1
0
        private static void OnActualBarWidthChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnActualBarWidthChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
Beispiel #2
0
        private static void OnIsFrequencyScaleLinearChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnIsFrequencyScaleLinearChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }
Beispiel #3
0
        private static void OnPeakStyleChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnPeakStyleChanged((Style)e.OldValue, (Style)e.NewValue);
            }
        }
Beispiel #4
0
        private static void OnAveragePeaksChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnAveragePeaksChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }
Beispiel #5
0
        private static void OnBarHeightScalingChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnBarHeightScalingChanged((BarHeightScalingStyles)e.OldValue, (BarHeightScalingStyles)e.NewValue);
            }
        }
Beispiel #6
0
        private static void OnFFTComplexityChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnFFTComplexityChanged((FFTDataSize)e.OldValue, (FFTDataSize)e.NewValue);
            }
        }
Beispiel #7
0
        private static void OnMaximumFrequencyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                spectrumAnalyzer.OnMaximumFrequencyChanged((int)e.OldValue, (int)e.NewValue);
            }
        }
Beispiel #8
0
        private static object OnCoerceRefreshInterval(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceRefreshInterval((int)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #9
0
        private static object OnCoerceFFTComplexity(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceFFTComplexity((FFTDataSize)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #10
0
        private static object OnCoerceMaximumFrequency(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceMaximumFrequency((int)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #11
0
        private static object OnCoercePeakStyle(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoercePeakStyle((Style)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #12
0
        private static object OnCoerceAveragePeaks(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceAveragePeaks((bool)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #13
0
        private static object OnCoerceBarHeightScaling(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceBarHeightScaling((BarHeightScalingStyles)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #14
0
        private static object OnCoerceIsFrequencyScaleLinear(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceIsFrequencyScaleLinear((bool)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #15
0
        private static object OnCoerceActualBarWidth(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceActualBarWidth((double)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PlaylistCollectionBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 2:
                this.PlaylistSongs = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.waveformTimeline = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
                return;

            case 4:
                this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void Dispose()
 {
     _spectrumAnalyzer = null;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.OpenFileMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 31 "..\..\..\MainWindow.xaml"
     this.OpenFileMenuItem.Click += new System.Windows.RoutedEventHandler(this.OpenFileMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.CloseMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.CloseMenuItem.Click += new System.Windows.RoutedEventHandler(this.CloseMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.DefaultThemeMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.DefaultThemeMenuItem.Checked += new System.Windows.RoutedEventHandler(this.DefaultThemeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ExpressionDarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.ExpressionDarkMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionDarkMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ExpressionLightMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 49 "..\..\..\MainWindow.xaml"
     this.ExpressionLightMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionLightMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.clockDisplay = ((WPFSoundVisualizationLib.DigitalClock)(target));
     return;
     case 7:
     this.albumArtPanel = ((WPFSoundVisualizationLib.AlbumArtDisplay)(target));
     return;
     case 8:
     this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 9:
     this.waveformTimeline = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
     return;
     case 10:
     this.repeatStartTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 11:
     this.repeatStopTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 12:
     this.FileText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.BrowseButton = ((System.Windows.Controls.Button)(target));
     
     #line 118 "..\..\..\MainWindow.xaml"
     this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.PlayButton = ((System.Windows.Controls.Button)(target));
     
     #line 124 "..\..\..\MainWindow.xaml"
     this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.PauseButton = ((System.Windows.Controls.Button)(target));
     
     #line 132 "..\..\..\MainWindow.xaml"
     this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.StopButton = ((System.Windows.Controls.Button)(target));
     
     #line 140 "..\..\..\MainWindow.xaml"
     this.StopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SpectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 2:
     this.metroSlider = ((XIMALAYA.PCDesktop.Controls.MetroSlider)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CompositionList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 2:
     
     #line 123 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNewCompositions_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 124 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteCompositions_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 5:
     
     #line 135 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CreatePlaylist_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 136 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenPlaylist_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 137 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SavePlaylist_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 147 "..\..\MainWindow.xaml"
     this.slider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.slider_DragStarted));
     
     #line default
     #line hidden
     
     #line 147 "..\..\MainWindow.xaml"
     this.slider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.slider_DragCompleted));
     
     #line default
     #line hidden
     return;
     case 9:
     this.CurLengthLB = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.LengthLB = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     
     #line 162 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Play_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 163 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrevComposition_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 168 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NextComposition_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 169 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Stop_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 16:
     this.VolumeLB = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #21
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 5:
     
     #line 159 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).DragEnter += new System.Windows.DragEventHandler(this.Border_DragEnter_1);
     
     #line default
     #line hidden
     
     #line 159 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).Drop += new System.Windows.DragEventHandler(this.Border_Drop_1);
     
     #line default
     #line hidden
     return;
     case 6:
     this.waveformTimeline = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
     return;
     case 7:
     this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 8:
     this.browseButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 184 "..\..\MainWindow.xaml"
     this.browseButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.browseButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 184 "..\..\MainWindow.xaml"
     this.browseButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.browseButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 184 "..\..\MainWindow.xaml"
     this.browseButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.browseButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 184 "..\..\MainWindow.xaml"
     this.browseButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.browseButton1_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.songName1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.albumName1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.bpmText1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.playButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 193 "..\..\MainWindow.xaml"
     this.playButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.playButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 193 "..\..\MainWindow.xaml"
     this.playButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.playButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 193 "..\..\MainWindow.xaml"
     this.playButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.playButton1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 193 "..\..\MainWindow.xaml"
     this.playButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.playButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 13:
     this.stopButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 194 "..\..\MainWindow.xaml"
     this.stopButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.stopButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 194 "..\..\MainWindow.xaml"
     this.stopButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.stopButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 194 "..\..\MainWindow.xaml"
     this.stopButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.stopButton1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 194 "..\..\MainWindow.xaml"
     this.stopButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.stopButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.pauseButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 195 "..\..\MainWindow.xaml"
     this.pauseButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.pauseButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 195 "..\..\MainWindow.xaml"
     this.pauseButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.pauseButton1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 195 "..\..\MainWindow.xaml"
     this.pauseButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.pauseButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 195 "..\..\MainWindow.xaml"
     this.pauseButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.pauseButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.pitchSlider1 = ((System.Windows.Controls.Slider)(target));
     
     #line 196 "..\..\MainWindow.xaml"
     this.pitchSlider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.pitchSlider1_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.cueButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 198 "..\..\MainWindow.xaml"
     this.cueButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cueButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 198 "..\..\MainWindow.xaml"
     this.cueButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.cueButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 198 "..\..\MainWindow.xaml"
     this.cueButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.cueButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 198 "..\..\MainWindow.xaml"
     this.cueButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cueButton1_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 17:
     this.syncButton1 = ((System.Windows.Controls.Image)(target));
     
     #line 199 "..\..\MainWindow.xaml"
     this.syncButton1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.syncButton1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 199 "..\..\MainWindow.xaml"
     this.syncButton1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.syncButton1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 199 "..\..\MainWindow.xaml"
     this.syncButton1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.syncButton1_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 199 "..\..\MainWindow.xaml"
     this.syncButton1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.syncButton1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 18:
     this.clockDisplay = ((WPFSoundVisualizationLib.DigitalClock)(target));
     return;
     case 19:
     this.redDiscGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.redDisc = ((System.Windows.Controls.Image)(target));
     
     #line 208 "..\..\MainWindow.xaml"
     this.redDisc.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown_1);
     
     #line default
     #line hidden
     
     #line 208 "..\..\MainWindow.xaml"
     this.redDisc.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp_2);
     
     #line default
     #line hidden
     
     #line 208 "..\..\MainWindow.xaml"
     this.redDisc.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove_1);
     
     #line default
     #line hidden
     return;
     case 21:
     this.repeatStartTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 22:
     this.repeatStopTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 23:
     
     #line 224 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 225 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 25:
     this.cue1 = ((System.Windows.Controls.Button)(target));
     
     #line 227 "..\..\MainWindow.xaml"
     this.cue1.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     
     #line 227 "..\..\MainWindow.xaml"
     this.cue1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 227 "..\..\MainWindow.xaml"
     this.cue1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 227 "..\..\MainWindow.xaml"
     this.cue1.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     return;
     case 26:
     this.cue2 = ((System.Windows.Controls.Button)(target));
     
     #line 228 "..\..\MainWindow.xaml"
     this.cue2.Click += new System.Windows.RoutedEventHandler(this.cue2_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.cue3 = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\MainWindow.xaml"
     this.cue3.Click += new System.Windows.RoutedEventHandler(this.cue3_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     
     #line 231 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);
     
     #line default
     #line hidden
     return;
     case 29:
     this.rLoop1 = ((System.Windows.Controls.Button)(target));
     
     #line 234 "..\..\MainWindow.xaml"
     this.rLoop1.Click += new System.Windows.RoutedEventHandler(this.rLoop1_Click);
     
     #line default
     #line hidden
     
     #line 234 "..\..\MainWindow.xaml"
     this.rLoop1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 234 "..\..\MainWindow.xaml"
     this.rLoop1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 234 "..\..\MainWindow.xaml"
     this.rLoop1.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     return;
     case 30:
     this.rLoop16 = ((System.Windows.Controls.Button)(target));
     
     #line 235 "..\..\MainWindow.xaml"
     this.rLoop16.Click += new System.Windows.RoutedEventHandler(this.rLoop16_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.rLoop4 = ((System.Windows.Controls.Button)(target));
     
     #line 236 "..\..\MainWindow.xaml"
     this.rLoop4.Click += new System.Windows.RoutedEventHandler(this.rLoop4_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     
     #line 238 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);
     
     #line default
     #line hidden
     return;
     case 33:
     this.rLoop8 = ((System.Windows.Controls.Button)(target));
     
     #line 239 "..\..\MainWindow.xaml"
     this.rLoop8.Click += new System.Windows.RoutedEventHandler(this.rLoop8_Click);
     
     #line default
     #line hidden
     
     #line 239 "..\..\MainWindow.xaml"
     this.rLoop8.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 239 "..\..\MainWindow.xaml"
     this.rLoop8.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 239 "..\..\MainWindow.xaml"
     this.rLoop8.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     return;
     case 34:
     this.rLoop32 = ((System.Windows.Controls.Button)(target));
     
     #line 240 "..\..\MainWindow.xaml"
     this.rLoop32.Click += new System.Windows.RoutedEventHandler(this.rLoop32_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.rLoop2 = ((System.Windows.Controls.Button)(target));
     
     #line 241 "..\..\MainWindow.xaml"
     this.rLoop2.Click += new System.Windows.RoutedEventHandler(this.rLoop2_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.scratchDisc1 = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 37:
     this.effectCombo = ((System.Windows.Controls.ComboBox)(target));
     
     #line 244 "..\..\MainWindow.xaml"
     this.effectCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.effectCombo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 38:
     this.cbi1 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 39:
     this.cbi2 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 40:
     this.cbi3 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 41:
     this.cbi4 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 42:
     this.cbi5 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 43:
     this.cbi6 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 44:
     this.cbi7 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 45:
     this.cbi8 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 46:
     this.cbi9 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 47:
     this.cbi10 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 48:
     this.cbi11 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 49:
     this.crossFeeder = ((System.Windows.Controls.Slider)(target));
     
     #line 264 "..\..\MainWindow.xaml"
     this.crossFeeder.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.crossFeeder_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 50:
     this.equalizer = ((WPFSoundVisualizationLib.Equalizer)(target));
     
     #line 267 "..\..\MainWindow.xaml"
     this.equalizer.MouseMove += new System.Windows.Input.MouseEventHandler(this.equalizer_MouseMove);
     
     #line default
     #line hidden
     
     #line 267 "..\..\MainWindow.xaml"
     this.equalizer.MouseLeave += new System.Windows.Input.MouseEventHandler(this.equalizer_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 51:
     this.volumeSlider1 = ((System.Windows.Controls.Slider)(target));
     
     #line 268 "..\..\MainWindow.xaml"
     this.volumeSlider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.crossFeeder_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 52:
     this.volumeSlider2 = ((System.Windows.Controls.Slider)(target));
     
     #line 269 "..\..\MainWindow.xaml"
     this.volumeSlider2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.crossFeeder_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 53:
     this.recordButton = ((System.Windows.Controls.Image)(target));
     
     #line 272 "..\..\MainWindow.xaml"
     this.recordButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.recordButton_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 272 "..\..\MainWindow.xaml"
     this.recordButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.recordButton_MouseLeave);
     
     #line default
     #line hidden
     
     #line 272 "..\..\MainWindow.xaml"
     this.recordButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.recordButton_MouseEnter);
     
     #line default
     #line hidden
     
     #line 272 "..\..\MainWindow.xaml"
     this.recordButton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.recordButton_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 54:
     this.Record = ((System.Windows.Controls.Label)(target));
     return;
     case 55:
     
     #line 277 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).Drop += new System.Windows.DragEventHandler(this.Border_Drop_2);
     
     #line default
     #line hidden
     
     #line 277 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).DragEnter += new System.Windows.DragEventHandler(this.Border_DragEnter_1);
     
     #line default
     #line hidden
     return;
     case 56:
     this.waveformTimeline1 = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
     return;
     case 57:
     this.spectrumAnalyzer1 = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 58:
     this.browseButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 301 "..\..\MainWindow.xaml"
     this.browseButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.browseButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 301 "..\..\MainWindow.xaml"
     this.browseButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.browseButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 301 "..\..\MainWindow.xaml"
     this.browseButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.browseButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 301 "..\..\MainWindow.xaml"
     this.browseButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.browseButton2_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 59:
     this.songName2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 60:
     this.albumName2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 61:
     this.bpmText2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 62:
     this.playButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 309 "..\..\MainWindow.xaml"
     this.playButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.playButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 309 "..\..\MainWindow.xaml"
     this.playButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.playButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 309 "..\..\MainWindow.xaml"
     this.playButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.playButton2_MouseEnter);
     
     #line default
     #line hidden
     
     #line 309 "..\..\MainWindow.xaml"
     this.playButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.playButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 63:
     this.stopButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 310 "..\..\MainWindow.xaml"
     this.stopButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.stopButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 310 "..\..\MainWindow.xaml"
     this.stopButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.stopButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 310 "..\..\MainWindow.xaml"
     this.stopButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.stopButton2_MouseEnter);
     
     #line default
     #line hidden
     
     #line 310 "..\..\MainWindow.xaml"
     this.stopButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.stopButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 64:
     this.pauseButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 311 "..\..\MainWindow.xaml"
     this.pauseButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.pauseButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 311 "..\..\MainWindow.xaml"
     this.pauseButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.pauseButton2_MouseEnter);
     
     #line default
     #line hidden
     
     #line 311 "..\..\MainWindow.xaml"
     this.pauseButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.pauseButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 311 "..\..\MainWindow.xaml"
     this.pauseButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.pauseButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 65:
     this.pitchSlider2 = ((System.Windows.Controls.Slider)(target));
     return;
     case 66:
     this.cueButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 314 "..\..\MainWindow.xaml"
     this.cueButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cueButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 314 "..\..\MainWindow.xaml"
     this.cueButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.cueButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 314 "..\..\MainWindow.xaml"
     this.cueButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.cueButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 314 "..\..\MainWindow.xaml"
     this.cueButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cueButton2_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 67:
     this.syncButton2 = ((System.Windows.Controls.Image)(target));
     
     #line 315 "..\..\MainWindow.xaml"
     this.syncButton2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.syncButton2_MouseEnter);
     
     #line default
     #line hidden
     
     #line 315 "..\..\MainWindow.xaml"
     this.syncButton2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.syncButton2_MouseLeave);
     
     #line default
     #line hidden
     
     #line 315 "..\..\MainWindow.xaml"
     this.syncButton2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.syncButton2_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 315 "..\..\MainWindow.xaml"
     this.syncButton2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.syncButton2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 68:
     this.clockDisplay1 = ((WPFSoundVisualizationLib.DigitalClock)(target));
     return;
     case 69:
     this.blueDiscGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 70:
     this.blueDisc = ((System.Windows.Controls.Image)(target));
     
     #line 324 "..\..\MainWindow.xaml"
     this.blueDisc.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.blueDisc_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 324 "..\..\MainWindow.xaml"
     this.blueDisc.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.blueDisc_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 324 "..\..\MainWindow.xaml"
     this.blueDisc.MouseMove += new System.Windows.Input.MouseEventHandler(this.blueDisc_MouseMove);
     
     #line default
     #line hidden
     return;
     case 71:
     this.repeatStartTimeEdit1 = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 72:
     this.repeatStopTimeEdit1 = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 73:
     this.OpenFileMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 341 "..\..\MainWindow.xaml"
     this.OpenFileMenuItem.Click += new System.Windows.RoutedEventHandler(this.OpenFileMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 74:
     this.CloseMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 345 "..\..\MainWindow.xaml"
     this.CloseMenuItem.Click += new System.Windows.RoutedEventHandler(this.CloseMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.DefaultThemeMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 351 "..\..\MainWindow.xaml"
     this.DefaultThemeMenuItem.Checked += new System.Windows.RoutedEventHandler(this.DefaultThemeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 76:
     this.ExpressionDarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 355 "..\..\MainWindow.xaml"
     this.ExpressionDarkMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionDarkMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 77:
     this.ExpressionLightMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 359 "..\..\MainWindow.xaml"
     this.ExpressionLightMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionLightMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 78:
     this.cue4 = ((System.Windows.Controls.Button)(target));
     
     #line 363 "..\..\MainWindow.xaml"
     this.cue4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 363 "..\..\MainWindow.xaml"
     this.cue4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 363 "..\..\MainWindow.xaml"
     this.cue4.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     
     #line 363 "..\..\MainWindow.xaml"
     this.cue4.Click += new System.Windows.RoutedEventHandler(this.cue4_Click);
     
     #line default
     #line hidden
     return;
     case 79:
     this.cue5 = ((System.Windows.Controls.Button)(target));
     
     #line 364 "..\..\MainWindow.xaml"
     this.cue5.Click += new System.Windows.RoutedEventHandler(this.cue5_Click);
     
     #line default
     #line hidden
     return;
     case 80:
     this.cue6 = ((System.Windows.Controls.Button)(target));
     
     #line 365 "..\..\MainWindow.xaml"
     this.cue6.Click += new System.Windows.RoutedEventHandler(this.cue6_Click);
     
     #line default
     #line hidden
     return;
     case 81:
     
     #line 367 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);
     
     #line default
     #line hidden
     return;
     case 82:
     this.bLoop1 = ((System.Windows.Controls.Button)(target));
     
     #line 370 "..\..\MainWindow.xaml"
     this.bLoop1.Click += new System.Windows.RoutedEventHandler(this.bLoop1_Click);
     
     #line default
     #line hidden
     
     #line 370 "..\..\MainWindow.xaml"
     this.bLoop1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 370 "..\..\MainWindow.xaml"
     this.bLoop1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 370 "..\..\MainWindow.xaml"
     this.bLoop1.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     return;
     case 83:
     this.bLoop16 = ((System.Windows.Controls.Button)(target));
     
     #line 371 "..\..\MainWindow.xaml"
     this.bLoop16.Click += new System.Windows.RoutedEventHandler(this.bLoop16_Click);
     
     #line default
     #line hidden
     return;
     case 84:
     this.bLoop4 = ((System.Windows.Controls.Button)(target));
     
     #line 372 "..\..\MainWindow.xaml"
     this.bLoop4.Click += new System.Windows.RoutedEventHandler(this.bLoop4_Click);
     
     #line default
     #line hidden
     return;
     case 85:
     
     #line 374 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);
     
     #line default
     #line hidden
     return;
     case 86:
     this.bLoop8 = ((System.Windows.Controls.Button)(target));
     
     #line 375 "..\..\MainWindow.xaml"
     this.bLoop8.Click += new System.Windows.RoutedEventHandler(this.bLoop8_Click);
     
     #line default
     #line hidden
     
     #line 375 "..\..\MainWindow.xaml"
     this.bLoop8.MouseEnter += new System.Windows.Input.MouseEventHandler(this.cue1_MouseEnter);
     
     #line default
     #line hidden
     
     #line 375 "..\..\MainWindow.xaml"
     this.bLoop8.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cue1_MouseLeave);
     
     #line default
     #line hidden
     
     #line 375 "..\..\MainWindow.xaml"
     this.bLoop8.MouseMove += new System.Windows.Input.MouseEventHandler(this.cue1_MouseMove);
     
     #line default
     #line hidden
     return;
     case 87:
     this.bLoop32 = ((System.Windows.Controls.Button)(target));
     
     #line 376 "..\..\MainWindow.xaml"
     this.bLoop32.Click += new System.Windows.RoutedEventHandler(this.bLoop32_Click);
     
     #line default
     #line hidden
     return;
     case 88:
     this.bLoop2 = ((System.Windows.Controls.Button)(target));
     
     #line 377 "..\..\MainWindow.xaml"
     this.bLoop2.Click += new System.Windows.RoutedEventHandler(this.bLoop2_Click);
     
     #line default
     #line hidden
     return;
     case 89:
     this.scratchDisc2 = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 90:
     this.effectCombo1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 380 "..\..\MainWindow.xaml"
     this.effectCombo1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.effectCombo1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 91:
     this.cbi12 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 92:
     this.cbi13 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 93:
     this.cbi14 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 94:
     this.cbi15 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 95:
     this.cbi16 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 96:
     this.cbi17 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 97:
     this.cbi18 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 98:
     this.cbi19 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 99:
     this.cbi20 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 100:
     this.cbi21 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 101:
     this.cbi22 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 102:
     this.foldersItem = ((System.Windows.Controls.TreeView)(target));
     
     #line 411 "..\..\MainWindow.xaml"
     this.foldersItem.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.foldersItem_SelectedItemChanged);
     
     #line default
     #line hidden
     
     #line 411 "..\..\MainWindow.xaml"
     this.foldersItem.Loaded += new System.Windows.RoutedEventHandler(this.foldersItem_Loaded);
     
     #line default
     #line hidden
     return;
     case 103:
     this.fileList = ((System.Windows.Controls.ListBox)(target));
     
     #line 434 "..\..\MainWindow.xaml"
     this.fileList.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.fileList_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 434 "..\..\MainWindow.xaml"
     this.fileList.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.fileList_PreviewMouseMove);
     
     #line default
     #line hidden
     return;
     case 104:
     this.uploadGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 105:
     this.uploadButton = ((System.Windows.Controls.Button)(target));
     
     #line 445 "..\..\MainWindow.xaml"
     this.uploadButton.Click += new System.Windows.RoutedEventHandler(this.uploadButton_Click);
     
     #line default
     #line hidden
     return;
     case 106:
     this.Refresh = ((System.Windows.Controls.Button)(target));
     
     #line 447 "..\..\MainWindow.xaml"
     this.Refresh.Click += new System.Windows.RoutedEventHandler(this.Refresh_Click);
     
     #line default
     #line hidden
     return;
     case 107:
     this.Refresh_Copy = ((System.Windows.Controls.Button)(target));
     
     #line 448 "..\..\MainWindow.xaml"
     this.Refresh_Copy.Click += new System.Windows.RoutedEventHandler(this.Refresh_Copy_Click);
     
     #line default
     #line hidden
     return;
     case 108:
     this.cloudList = ((System.Windows.Controls.ListBox)(target));
     
     #line 450 "..\..\MainWindow.xaml"
     this.cloudList.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.fileList_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 450 "..\..\MainWindow.xaml"
     this.cloudList.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.cloudList_PreviewMouseMove);
     
     #line default
     #line hidden
     return;
     case 109:
     this.cloudGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 110:
     this.tb3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 111:
     this.pb1 = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 112:
     this.username = ((System.Windows.Controls.Label)(target));
     return;
     case 113:
     this.password = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.login = ((System.Windows.Controls.Button)(target));
     
     #line 456 "..\..\MainWindow.xaml"
     this.login.Click += new System.Windows.RoutedEventHandler(this.login_Click);
     
     #line default
     #line hidden
     return;
     case 115:
     this.cancel = ((System.Windows.Controls.Button)(target));
     
     #line 457 "..\..\MainWindow.xaml"
     this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);
     
     #line default
     #line hidden
     return;
     case 116:
     this.signup = ((System.Windows.Controls.Label)(target));
     return;
     case 117:
     this.mesg = ((System.Windows.Controls.Label)(target));
     return;
     case 118:
     this.notreg = ((System.Windows.Controls.Label)(target));
     return;
     case 119:
     this.messageLabel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 120:
     
     #line 468 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonUp_3);
     
     #line default
     #line hidden
     return;
     case 121:
     
     #line 469 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonUp_2);
     
     #line default
     #line hidden
     return;
     case 122:
     
     #line 470 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonUp_1);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #22
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.OpenFileMenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 33 "..\..\..\MainWindow.xaml"
     this.OpenFileMenuItem1.Click += new System.Windows.RoutedEventHandler(this.OpenFileMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.CloseMenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 37 "..\..\..\MainWindow.xaml"
     this.CloseMenuItem1.Click += new System.Windows.RoutedEventHandler(this.CloseMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.DefaultThemeMenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 43 "..\..\..\MainWindow.xaml"
     this.DefaultThemeMenuItem1.Checked += new System.Windows.RoutedEventHandler(this.DefaultThemeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ExpressionDarkMenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 47 "..\..\..\MainWindow.xaml"
     this.ExpressionDarkMenuItem1.Checked += new System.Windows.RoutedEventHandler(this.ExpressionDarkMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ExpressionLightMenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.ExpressionLightMenuItem1.Checked += new System.Windows.RoutedEventHandler(this.ExpressionLightMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.clockDisplay1 = ((WPFSoundVisualizationLib.DigitalClock)(target));
     return;
     case 7:
     this.albumArtPanel1 = ((WPFSoundVisualizationLib.AlbumArtDisplay)(target));
     return;
     case 8:
     this.spectrumAnalyzer1 = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 9:
     this.equalizer1 = ((WPFSoundVisualizationLib.Equalizer)(target));
     return;
     case 10:
     this.waveformTimeline1 = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
     return;
     case 11:
     this.repeatStartTimeEdit1 = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 12:
     this.repeatStopTimeEdit1 = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 13:
     this.FileText1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.BrowseButton1 = ((System.Windows.Controls.Button)(target));
     
     #line 120 "..\..\..\MainWindow.xaml"
     this.BrowseButton1.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click1);
     
     #line default
     #line hidden
     return;
     case 15:
     this.PlayButton1 = ((System.Windows.Controls.Button)(target));
     
     #line 126 "..\..\..\MainWindow.xaml"
     this.PlayButton1.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click1);
     
     #line default
     #line hidden
     return;
     case 16:
     this.PauseButton1 = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\..\MainWindow.xaml"
     this.PauseButton1.Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click1);
     
     #line default
     #line hidden
     return;
     case 17:
     this.StopButton1 = ((System.Windows.Controls.Button)(target));
     
     #line 142 "..\..\..\MainWindow.xaml"
     this.StopButton1.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click1);
     
     #line default
     #line hidden
     return;
     case 18:
     this.OpenFileMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 166 "..\..\..\MainWindow.xaml"
     this.OpenFileMenuItem.Click += new System.Windows.RoutedEventHandler(this.OpenFileMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.CloseMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 170 "..\..\..\MainWindow.xaml"
     this.CloseMenuItem.Click += new System.Windows.RoutedEventHandler(this.CloseMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.DefaultThemeMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 176 "..\..\..\MainWindow.xaml"
     this.DefaultThemeMenuItem.Checked += new System.Windows.RoutedEventHandler(this.DefaultThemeMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 21:
     this.ExpressionDarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 180 "..\..\..\MainWindow.xaml"
     this.ExpressionDarkMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionDarkMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 22:
     this.ExpressionLightMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 184 "..\..\..\MainWindow.xaml"
     this.ExpressionLightMenuItem.Checked += new System.Windows.RoutedEventHandler(this.ExpressionLightMenuItem_Checked);
     
     #line default
     #line hidden
     return;
     case 23:
     this.clockDisplay = ((WPFSoundVisualizationLib.DigitalClock)(target));
     return;
     case 24:
     this.albumArtPanel = ((WPFSoundVisualizationLib.AlbumArtDisplay)(target));
     return;
     case 25:
     this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
     return;
     case 26:
     this.equalizer = ((WPFSoundVisualizationLib.Equalizer)(target));
     return;
     case 27:
     this.waveformTimeline = ((WPFSoundVisualizationLib.WaveformTimeline)(target));
     return;
     case 28:
     this.repeatStartTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 29:
     this.repeatStopTimeEdit = ((WPFSoundVisualizationLib.TimeEditor)(target));
     return;
     case 30:
     this.FileText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 31:
     this.BrowseButton = ((System.Windows.Controls.Button)(target));
     
     #line 253 "..\..\..\MainWindow.xaml"
     this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.PlayButton = ((System.Windows.Controls.Button)(target));
     
     #line 259 "..\..\..\MainWindow.xaml"
     this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.PauseButton = ((System.Windows.Controls.Button)(target));
     
     #line 267 "..\..\..\MainWindow.xaml"
     this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.StopButton = ((System.Windows.Controls.Button)(target));
     
     #line 275 "..\..\..\MainWindow.xaml"
     this.StopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.crossFeeder = ((System.Windows.Controls.Slider)(target));
     
     #line 281 "..\..\..\MainWindow.xaml"
     this.crossFeeder.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.crossFeeder_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 36:
     this.txt_BPM = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((MusicPlayer.MainWindow)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                this.mainWindow.Drop += new System.Windows.DragEventHandler(this.DropMusic);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                this.mainWindow.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.KeyBoardEventDown);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                this.mainWindow.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.KeyBoardEventUp);

            #line default
            #line hidden
                return;

            case 2:
                this.ListOfSongsGrid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 3:
                this.OpenCloseListOfSongs = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.OpenCloseListOfSongs.Click += new System.Windows.RoutedEventHandler(this.OpenCloseListSongs);

            #line default
            #line hidden
                return;

            case 4:
                this.name = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.spectrumAnalyzer = ((WPFSoundVisualizationLib.SpectrumAnalyzer)(target));
                return;

            case 6:
                this.listBox = ((System.Windows.Controls.ListBox)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.listBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SelectSong);

            #line default
            #line hidden
                return;

            case 7:

            #line 44 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuClickDelete);

            #line default
            #line hidden
                return;

            case 8:
                this.Player = ((System.Windows.Controls.MediaElement)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Player.MediaEnded += new System.Windows.RoutedEventHandler(this.NextSong);

            #line default
            #line hidden
                return;

            case 9:
                this.progress = ((System.Windows.Controls.Slider)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.progress.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.TimeLineChange));

            #line default
            #line hidden

            #line 58 "..\..\MainWindow.xaml"
                this.progress.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.progress_DragStarted));

            #line default
            #line hidden
                return;

            case 10:
                this.SoundValue = ((System.Windows.Controls.Slider)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.SoundValue.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SetValume);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.SoundValue.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.MouseWeel);

            #line default
            #line hidden
                return;

            case 11:

            #line 73 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Preview);

            #line default
            #line hidden
                return;

            case 12:
                this.Preview = ((System.Windows.Controls.Image)(target));
                return;

            case 13:

            #line 76 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Go);

            #line default
            #line hidden
                return;

            case 14:
                this.StartPause = ((System.Windows.Controls.Image)(target));
                return;

            case 15:

            #line 79 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Break);

            #line default
            #line hidden
                return;

            case 16:

            #line 82 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_New);

            #line default
            #line hidden
                return;

            case 17:

            #line 83 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Next);

            #line default
            #line hidden
                return;

            case 18:
                this.Next = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.SoundImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     if (spectrumAnalyzer == null)
     {
         spectrumAnalyzer = UIHelper.FindChild<SpectrumAnalyzer>(this.PART_Bottom, "mySpectrumAnalyzer");
     }
     if (playBack == null)
     {
         playBack = new RealTimePlayback();
     }
     
     if(spectrumAnalyzer != null)
         spectrumAnalyzer.RegisterSoundPlayer(playBack);
     
 }