Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\WindowPreview1.xaml"
                ((jg.Editor.WindowPreview1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.controlPlay = ((jg.Editor.Library.Control.ControlPlay)(target));

            #line 27 "..\..\..\WindowPreview1.xaml"
                this.controlPlay.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ControlPlay_ValueChanged);

            #line default
            #line hidden

            #line 28 "..\..\..\WindowPreview1.xaml"
                this.controlPlay.PlayStop += new System.Windows.RoutedEventHandler(this.controlPlay_PlayStop);

            #line default
            #line hidden

            #line 29 "..\..\..\WindowPreview1.xaml"
                this.controlPlay.Previous += new System.Windows.RoutedEventHandler(this.controlPlay_Previous);

            #line default
            #line hidden

            #line 30 "..\..\..\WindowPreview1.xaml"
                this.controlPlay.Next += new System.Windows.RoutedEventHandler(this.controlPlay_Next);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.controlPlay = ((jg.Editor.Library.Control.ControlPlay)(target));

            #line 8 "..\..\..\windowControl.xaml"
                this.controlPlay.MouseEnter += new System.Windows.Input.MouseEventHandler(this.controlPlay_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\..\windowControl.xaml"
                this.controlPlay.MouseLeave += new System.Windows.Input.MouseEventHandler(this.controlPlay_MouseLeave);

            #line default
            #line hidden

            #line 10 "..\..\..\windowControl.xaml"
                this.controlPlay.ShrinkChanged += new System.Windows.RoutedPropertyChangedEventHandler <bool>(this.controlPlay_ShrinkChanged);

            #line default
            #line hidden

            #line 11 "..\..\..\windowControl.xaml"
                this.controlPlay.MenuVisibleChanged += new System.Windows.RoutedPropertyChangedEventHandler <bool>(this.controlPlay_MenuVisibleChanged);

            #line default
            #line hidden

            #line 12 "..\..\..\windowControl.xaml"
                this.controlPlay.VolumeChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.controlPlay_VolumeChanged);

            #line default
            #line hidden

            #line 13 "..\..\..\windowControl.xaml"
                this.controlPlay.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.controlPlay_ValueChanged);

            #line default
            #line hidden

            #line 14 "..\..\..\windowControl.xaml"
                this.controlPlay.PlayStop += new System.Windows.RoutedEventHandler(this.controlPlay_PlayStop);

            #line default
            #line hidden

            #line 15 "..\..\..\windowControl.xaml"
                this.controlPlay.Previous += new System.Windows.RoutedEventHandler(this.controlPlay_Previous);

            #line default
            #line hidden

            #line 16 "..\..\..\windowControl.xaml"
                this.controlPlay.Next += new System.Windows.RoutedEventHandler(this.controlPlay_Next);

            #line default
            #line hidden

            #line 17 "..\..\..\windowControl.xaml"
                this.controlPlay.PlayPause += new System.Windows.RoutedPropertyChangedEventHandler <bool>(this.controlPlay_PlayPause);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }