Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));

            #line 551 "..\..\..\Control\ControlPlay.xaml"
                this.progressBar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseEnter);

            #line default
            #line hidden

            #line 552 "..\..\..\Control\ControlPlay.xaml"
                this.progressBar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.slider = ((jg.Editor.Library.Control.ControlSlider)(target));
                return;

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

            #line 572 "..\..\..\Control\ControlPlay.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 594 "..\..\..\Control\ControlPlay.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnMenu = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 609 "..\..\..\Control\ControlPlay.xaml"
                this.btnMenu.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tbPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 621 "..\..\..\Control\ControlPlay.xaml"
                this.tbPlay.Checked += new System.Windows.RoutedEventHandler(this.tbPlay_Checked);

            #line default
            #line hidden

            #line 622 "..\..\..\Control\ControlPlay.xaml"
                this.tbPlay.Unchecked += new System.Windows.RoutedEventHandler(this.tbPlay_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.toggleButtonShrink = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 645 "..\..\..\Control\ControlPlay.xaml"
                this.toggleButtonShrink.Click += new System.Windows.RoutedEventHandler(this.toggleButtonShrink_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.controlSound = ((jg.Editor.Library.Control.ControlSound)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((jg.PCPlayerLibrary.MainWindow)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 10 "..\..\..\MainWindow.xaml"
                ((jg.PCPlayerLibrary.MainWindow)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                ((jg.PCPlayerLibrary.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                ((jg.PCPlayerLibrary.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.grdWorkbench = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.LeftGrid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.RightGrid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:
                this.txtTittle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.br = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 848 "..\..\..\MainWindow.xaml"
                this.treeView.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.treeView_Selected));

            #line default
            #line hidden

            #line 849 "..\..\..\MainWindow.xaml"
                this.treeView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeView_SelectedItemChanged);

            #line default
            #line hidden

            #line 850 "..\..\..\MainWindow.xaml"
                this.treeView.MouseEnter += new System.Windows.Input.MouseEventHandler(this.treeView_MouseEnter);

            #line default
            #line hidden

            #line 851 "..\..\..\MainWindow.xaml"
                this.treeView.MouseLeave += new System.Windows.Input.MouseEventHandler(this.treeView_MouseLeave);

            #line default
            #line hidden
                return;

            case 8:
                this.gsSplitterr = ((System.Windows.Controls.Button)(target));

            #line 855 "..\..\..\MainWindow.xaml"
                this.gsSplitterr.Click += new System.Windows.RoutedEventHandler(this.gsSplitterr_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 11:
                this.gsSplitterr2 = ((System.Windows.Controls.Button)(target));

            #line 873 "..\..\..\MainWindow.xaml"
                this.gsSplitterr2.Click += new System.Windows.RoutedEventHandler(this.gsSplitterr2_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnPrevious = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.tbPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 949 "..\..\..\MainWindow.xaml"
                this.tbPlay.Checked += new System.Windows.RoutedEventHandler(this.tbPlay_Checked);

            #line default
            #line hidden

            #line 950 "..\..\..\MainWindow.xaml"
                this.tbPlay.Unchecked += new System.Windows.RoutedEventHandler(this.tbPlay_Unchecked);

            #line default
            #line hidden
                return;

            case 14:
                this.btnNext = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.controlSound = ((jg.Editor.Library.Control.ControlSound)(target));
                return;

            case 16:
                this.labClose = ((System.Windows.Controls.Label)(target));

            #line 978 "..\..\..\MainWindow.xaml"
                this.labClose.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Label_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 17:
                this.Shape_Close = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }