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

            #line 8 "..\..\..\Views\PowerCreatorPlayerView.xaml"
                ((LiveClientDesktop.Views.PowerCreatorPlayerView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.DefaultScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 3:
                this.MsPlayerContainer = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 4:
                this.MsPlayer = ((LiveClientDesktop.WinFormControl.MsPlayerControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ChangeFolerBtn = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.ChangeFolerBtn.Click += new System.Windows.RoutedEventHandler(this.ChangeFolerBtn_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.OpenFolderBtn = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.OpenFolderBtn.Click += new System.Windows.RoutedEventHandler(this.OpenFolderBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.MicrophoneCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 177 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.MicrophonPlayBtn.Click += new System.Windows.RoutedEventHandler(this.MicrophonPlayBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.MicrophonCloseBtn = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.MicrophonCloseBtn.Click += new System.Windows.RoutedEventHandler(this.MicrophonCloseBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MicrophoneLoudness = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.SpeakerCombobox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 201 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.PlaySoundBtn.Click += new System.Windows.RoutedEventHandler(this.PlaySoundBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.SoundLoudness = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.CameraCombobox = ((System.Windows.Controls.ComboBox)(target));

            #line 211 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.CameraCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CameraCombobox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.PlayerPanel = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 12:
                this.MsPlayerControl = ((LiveClientDesktop.WinFormControl.MsPlayerControl)(target));
                return;

            case 13:
                this.OpenCameraBtn = ((System.Windows.Controls.Button)(target));

            #line 228 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.OpenCameraBtn.Click += new System.Windows.RoutedEventHandler(this.OpenCameraBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 229 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.CloseCameraBtn.Click += new System.Windows.RoutedEventHandler(this.CloseCameraBtn_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.SaveBtn = ((System.Windows.Controls.Button)(target));

            #line 320 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.SaveBtn.Click += new System.Windows.RoutedEventHandler(this.SaveBtn_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.CancelBtn = ((System.Windows.Controls.Button)(target));

            #line 321 "..\..\..\WindowViews\SettingsWindow.xaml"
                this.CancelBtn.Click += new System.Windows.RoutedEventHandler(this.CancelBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\Views\SpeechView.xaml"
                ((LiveClientDesktop.Views.SpeechView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.DefaultScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 3:
                this.ImageControl = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 4:
                this.DemonstrationPPTScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 5:
                this.PPTViewer = ((LiveClientDesktop.WinFormControl.PowerPointViewer)(target));
                return;

            case 6:
                this.DemonstrationVideoDeviceScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 7:
                this.MsPlayer = ((LiveClientDesktop.WinFormControl.MsPlayerControl)(target));
                return;

            case 8:
                this.LiveWindowPreviewScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 9:
                this.imageD3D = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.DemonstrationVideoScene = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 11:
                this.PlayVideoArea = ((System.Windows.Controls.Grid)(target));

            #line 35 "..\..\..\Views\SpeechView.xaml"
                this.PlayVideoArea.MouseLeave += new System.Windows.Input.MouseEventHandler(this.PlayVideoArea_MouseLeave);

            #line default
            #line hidden

            #line 35 "..\..\..\Views\SpeechView.xaml"
                this.PlayVideoArea.MouseEnter += new System.Windows.Input.MouseEventHandler(this.PlayVideoArea_MouseEnter);

            #line default
            #line hidden
                return;

            case 12:
                this.VideoBar = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.PlayPauseBtn = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\Views\SpeechView.xaml"
                this.PlayPauseBtn.Click += new System.Windows.RoutedEventHandler(this.PlayPauseBtn_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.PlayPauseIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 15:
                this.VideoPlayProgress = ((System.Windows.Controls.Slider)(target));

            #line 54 "..\..\..\Views\SpeechView.xaml"
                this.VideoPlayProgress.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.VideoPlayProgress_MouseRightButtonDown);

            #line default
            #line hidden

            #line 55 "..\..\..\Views\SpeechView.xaml"
                this.VideoPlayProgress.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.VideoPlayProgress_MouseRightButtonUp);

            #line default
            #line hidden

            #line 56 "..\..\..\Views\SpeechView.xaml"
                this.VideoPlayProgress.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.VideoPlayProgress_PreviewMouseMove);

            #line default
            #line hidden
                return;

            case 16:
                this.PlayTimeText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.VideoDuration = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }