public void Start(double offsetTop, double offsetLeft, double width, double height, string location, string name) { VlcContext.StartupOptions.AddOption("--screen-top=" + offsetTop); VlcContext.StartupOptions.AddOption("--screen-left=" + offsetLeft); VlcContext.StartupOptions.AddOption("--screen-width=" + width); VlcContext.StartupOptions.AddOption("--screen-height=" + height); VlcContext.Initialize(); vlcLocationMedia = new LocationMedia("screen://"); vlcLocationMedia.AddOption(String.Format(vlcMediaOption, location + "\\" + name)); audioRecorder.Init(location + "\\" + name); durationWatch.Reset(); vlcControl = new VlcControl(); vlcControl.Media = vlcLocationMedia; vlcControl.Playing += (sender, args) => { durationWatch.Start(); audioRecorder.Play(); }; vlcControl.Stopped += (sender, args) => { durationWatch.Stop(); audioRecorder.Stop(); }; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MultimediaGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: #line 29 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenDirectory_Click); #line default #line hidden return; case 3: #line 32 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.exit_menuClick); #line default #line hidden return; case 4: this.MyControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 5: this.MyControl2 = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 6: this.expanderEEGOndas = ((System.Windows.Controls.Expander)(target)); return; case 7: this.ExpanderEEGOndasGrid = ((System.Windows.Controls.Grid)(target)); return; case 8: this.EEGPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 9: this.lineEEG = ((System.Windows.Shapes.Line)(target)); return; case 10: this.expanderEEGOndasBetaalto = ((System.Windows.Controls.Expander)(target)); return; case 11: this.ExpanderEEGOndasBetaaltoGrid = ((System.Windows.Controls.Grid)(target)); return; case 12: this.EEGPlotBetaalto = ((OxyPlot.Wpf.PlotView)(target)); return; case 13: this.lineEEGBetaalto = ((System.Windows.Shapes.Line)(target)); return; case 14: this.expanderEEGOndasBetabajo = ((System.Windows.Controls.Expander)(target)); return; case 15: this.ExpanderEEGOndasBetabajoGrid = ((System.Windows.Controls.Grid)(target)); return; case 16: this.EEGPlotBetabajo = ((OxyPlot.Wpf.PlotView)(target)); return; case 17: this.lineEEGBetabajo = ((System.Windows.Shapes.Line)(target)); return; case 18: this.expanderEEGOndasTheta = ((System.Windows.Controls.Expander)(target)); return; case 19: this.ExpanderEEGOndasThetaGrid = ((System.Windows.Controls.Grid)(target)); return; case 20: this.EEGPlotTheta = ((OxyPlot.Wpf.PlotView)(target)); return; case 21: this.lineEEGTheta = ((System.Windows.Shapes.Line)(target)); return; case 22: this.expanderEEGOndasGamma = ((System.Windows.Controls.Expander)(target)); return; case 23: this.ExpanderEEGOndasGammaGrid = ((System.Windows.Controls.Grid)(target)); return; case 24: this.EEGPlotGamma = ((OxyPlot.Wpf.PlotView)(target)); return; case 25: this.lineEEGGamma = ((System.Windows.Shapes.Line)(target)); return; case 26: this.expanderEEGRitmos = ((System.Windows.Controls.Expander)(target)); return; case 27: this.ExpanderEEGRitmosGrid = ((System.Windows.Controls.Grid)(target)); return; case 28: this.BrainRPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 29: this.lineBrainR = ((System.Windows.Shapes.Line)(target)); return; case 30: this.expanderEEGRelajacion = ((System.Windows.Controls.Expander)(target)); return; case 31: this.ExpanderEEGRelajacionGrid = ((System.Windows.Controls.Grid)(target)); return; case 32: this.BrainRelajacionPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 33: this.lineBrainRelajacion = ((System.Windows.Shapes.Line)(target)); return; case 34: this.expanderEEGCompromiso = ((System.Windows.Controls.Expander)(target)); return; case 35: this.ExpanderEEGCompromisoGrid = ((System.Windows.Controls.Grid)(target)); return; case 36: this.BrainCompromisoPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 37: this.lineBrainCompromiso = ((System.Windows.Shapes.Line)(target)); return; case 38: this.expanderEEGEstres = ((System.Windows.Controls.Expander)(target)); return; case 39: this.ExpanderEEGEstresGrid = ((System.Windows.Controls.Grid)(target)); return; case 40: this.BrainEstresPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 41: this.lineBrainEstres = ((System.Windows.Shapes.Line)(target)); return; case 42: this.expanderEEGInteres = ((System.Windows.Controls.Expander)(target)); return; case 43: this.ExpanderEEGInteresGrid = ((System.Windows.Controls.Grid)(target)); return; case 44: this.BrainInteresPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 45: this.lineBrainInteres = ((System.Windows.Shapes.Line)(target)); return; case 46: this.expanderEEGConcentracion = ((System.Windows.Controls.Expander)(target)); return; case 47: this.ExpanderEEGConcentracion = ((System.Windows.Controls.Grid)(target)); return; case 48: this.BrainConcentracionPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 49: this.lineBrainConcentracion = ((System.Windows.Shapes.Line)(target)); return; case 50: this.expanderECG = ((System.Windows.Controls.Expander)(target)); return; case 51: this.ExpanderECGGrid = ((System.Windows.Controls.Grid)(target)); return; case 52: this.SerialPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 53: this.lineECG = ((System.Windows.Shapes.Line)(target)); return; case 54: this.expanderGSR = ((System.Windows.Controls.Expander)(target)); return; case 55: this.ExpanderGSRGrid = ((System.Windows.Controls.Grid)(target)); return; case 56: this.GSRPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 57: this.lineGSR = ((System.Windows.Shapes.Line)(target)); return; case 58: this.timeSlider = ((System.Windows.Controls.Slider)(target)); #line 160 "..\..\MainWindow.xaml" this.timeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.Slider_DragStarted)); #line default #line hidden #line 160 "..\..\MainWindow.xaml" this.timeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.Slider_DragCompleted)); #line default #line hidden return; case 59: this.Play = ((System.Windows.Controls.Button)(target)); #line 161 "..\..\MainWindow.xaml" this.Play.Click += new System.Windows.RoutedEventHandler(this.OnPlayButtonClick); #line default #line hidden return; case 60: this.imgBtnPlay = ((System.Windows.Controls.Image)(target)); return; case 61: this.Rewind = ((System.Windows.Controls.Button)(target)); #line 166 "..\..\MainWindow.xaml" this.Rewind.Click += new System.Windows.RoutedEventHandler(this.OnRewindButtonClick); #line default #line hidden return; case 62: this.imgBtnRewind = ((System.Windows.Controls.Image)(target)); return; case 63: this.Forward = ((System.Windows.Controls.Button)(target)); #line 171 "..\..\MainWindow.xaml" this.Forward.Click += new System.Windows.RoutedEventHandler(this.OnForwardButtonClick); #line default #line hidden return; case 64: this.imgBtnforward = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\CameraViewerWPF.xaml" ((LibOCR.CameraViewerWPF)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown); #line default #line hidden return; case 2: #line 11 "..\..\CameraViewerWPF.xaml" ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown); #line default #line hidden return; case 3: this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target)); #line 12 "..\..\CameraViewerWPF.xaml" this.vlcPlayer.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ProjectionWindow = ((MPMS___Projection_Management_System.Projection)(target)); #line 9 "..\..\Projection.xaml" this.ProjectionWindow.Closing += new System.ComponentModel.CancelEventHandler(this.ProjectionWindow_Closing); #line default #line hidden return; case 2: this.projection = ((Vlc.DotNet.Wpf.VlcControl)(target)); #line 17 "..\..\Projection.xaml" this.projection.Loaded += new System.Windows.RoutedEventHandler(this.projection_Loaded); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UIRootView = ((Camera_Final.UIView.Camera)(target)); #line 8 "..\..\..\UIView\Camera.xaml" this.UIRootView.Loaded += new System.Windows.RoutedEventHandler(this.UIRootView_Loaded); #line default #line hidden #line 8 "..\..\..\UIView\Camera.xaml" this.UIRootView.Unloaded += new System.Windows.RoutedEventHandler(this.UIRootView_Unloaded); #line default #line hidden return; case 2: this.UIRoot = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.myVlcControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 4: this.UIView = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
private void InitializeVLC(ref Grid g) { //Player Settings string startupPath = System.IO.Directory.GetCurrentDirectory(); var vlcPath = Utils.GetWinVlcPath(); if (Utils.IsWindowsOs()) { Directory.SetCurrentDirectory(vlcPath); } vlcPlayer = new Vlc.DotNet.Wpf.VlcControl(); vlcPlayer.Background = Brushes.Black; g.Children.Add(vlcPlayer); Grid.SetRow(vlcPlayer, 1); vlcPlayer.MediaPlayer.BeginInit(); vlcPlayer.MediaPlayer.VlcLibDirectoryNeeded += OnVlcControlNeedsLibDirectory; vlcPlayer.MediaPlayer.VlcMediaplayerOptions = new string[] { "-I", "dummy", "--ignore-config", "--no-video-title" }; vlcPlayer.MediaPlayer.EndInit(); timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += new EventHandler(timer_Tick); player.VolumeValue = vlcPlayer.MediaPlayer.Audio.Volume; player.StopEnabled = false; player.PauseEnabled = false; //End Player Settings //Restore default path after vlc initialization Directory.SetCurrentDirectory(startupPath); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void VlcControlOnPositionChanged(Vlc.DotNet.Wpf.VlcControl sender, VlcEventArgs <float> e) { if (myPositionChanging) { return; } barTimeSeek.Value = (int)(e.Data * 100); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; } this._contentLoaded = true; }
private VlcControl GetVlcControl() { var control = new VlcControl(); control.MediaPlayer.VlcLibDirectoryNeeded += MediaPlayer_VlcLibDirectoryNeeded; control.MediaPlayer.Playing += MediaPlayer_Playing; control.MediaPlayer.EncounteredError += MediaPlayer_EncounteredError; control.MediaPlayer.Opening += MediaPlayer_Opening; control.Unloaded += this.ucVLCMediaPlayerControl_Unloaded; vlcControls.Add(control); return control; }
private async void Loaded() { try { vlcControl = CreateVLCControl(); await ReadConfig(); } catch (Exception ex) { UIHelper.Warning(null, String.Format("Ошибка инициализации видеоплеера: {0}", ex.Message)); } }
private void VlcControlOnTimeChanged(Vlc.DotNet.Wpf.VlcControl sender, VlcEventArgs <TimeSpan> e) { if (myVlcControl.Media == null) { return; } durationMedia = e.Data; alta_txt_curTime.Text = string.Format( "{0:00}:{1:00}:{2:00}", e.Data.Hours, e.Data.Minutes, e.Data.Seconds); }
public MediaPlayer() { try { var control = new VlcControl(); control.MediaPlayer.VlcLibDirectoryNeeded += MediaPlayer_VlcLibDirectoryNeeded; control.MediaPlayer.Playing += MediaPlayer_Playing; control.MediaPlayer.EncounteredError += MediaPlayer_EncounteredError; control.MediaPlayer.Opening += MediaPlayer_Opening; control.Unloaded += this.ucVLCMediaPlayerControl_Unloaded; this.VlcControl = control; } catch (Exception) { this.VlcControl.MediaPlayer.OnEncounteredError(); throw; } }
public YoutubeAudioPlayer(YoutubeSong song) { if (song == null) Throw.ArgumentNullException(() => song); string vlcPath = ApplicationHelper.DetectVlcFolderPath(); VlcContext.LibVlcDllsPath = vlcPath; VlcContext.LibVlcPluginsPath = Path.Combine(vlcPath, "plugins"); VlcContext.StartupOptions.IgnoreConfig = true; VlcContext.Initialize(); this.player = new VlcControl(); this.player.TimeChanged += (sender, e) => this.CheckSongFinished(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.VLCControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 2: this.Play = ((System.Windows.Controls.Button)(target)); #line 8 "..\..\MainWindow.xaml" this.Play.Click += new System.Windows.RoutedEventHandler(this.Play_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\RobotControlWindow.xaml" ((Ingenuity_Client.RobotControlWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.statusTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.wButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 4: this.sButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 5: this.dButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 6: this.aButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 7: this.myControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; } this._contentLoaded = true; }
private void Window_Loaded(object sender, RoutedEventArgs e) { var appPath = AppDomain.CurrentDomain.BaseDirectory; //Set libvlc.dll and libvlccore.dll directory path //VlcContext.LibVlcDllsPath = CommonStrings.LIBVLC_DLLS_PATH_DEFAULT_VALUE_AMD64; ////Set the vlc plugins directory path //VlcContext.LibVlcPluginsPath = CommonStrings.PLUGINS_PATH_DEFAULT_VALUE_AMD64; ////Set the startup options //VlcContext.StartupOptions.IgnoreConfig = true; //VlcContext.StartupOptions.LogOptions.LogInFile = true; //VlcContext.StartupOptions.LogOptions.ShowLoggerConsole = true; //VlcContext.StartupOptions.LogOptions.Verbosity = VlcLogVerbosities.Debug; VlcContext.LibVlcDllsPath = appPath + @"VLC\"; //Set the vlc plugins directory path VlcContext.LibVlcPluginsPath = appPath + @"VLC\plugins\"; //Set the startup options VlcContext.StartupOptions.IgnoreConfig = true; VlcContext.StartupOptions.LogOptions.LogInFile = false; VlcContext.StartupOptions.LogOptions.ShowLoggerConsole = false; VlcContext.StartupOptions.LogOptions.Verbosity = VlcLogVerbosities.None; //Initialize the VlcContext VlcContext.Initialize(); myVlcControl = new VlcControl(); // 创建绑定,绑定Image Binding bing = new Binding(); bing.Source = myVlcControl; bing.Path = new PropertyPath("VideoSource"); img.SetBinding(Image.SourceProperty, bing); //流媒体播放 //var media = new LocationMedia("udp://@:ip:port"); //myVlcControl.Play(media); //本地播放 myVlcControl.Play(new PathMedia(@"D:\flash1477.fla")); //VlcContext.CloseAll(); }
void myVlcControl_Playing(Vlc.DotNet.Wpf.VlcControl sender, VlcEventArgs <EventArgs> e) { topImage.Animation_Opacity_View_Frame(false); HideControl(); }
private void _VLCcontrol_OnEndReached(VlcControl sender, VlcEventArgs<EventArgs> e) { this._eventAggregator.GetEvent<VideoEnded>().Publish(null); }
private void _VLCcontrol_OnLengthChanged(VlcControl sender, VlcEventArgs<long> e) { this._eventAggregator.GetEvent<VideoDurationChanged>().Publish(this._VLCcontrol.Duration); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((PikoTrafficManager.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.MainLayout = ((System.Windows.Controls.Grid)(target)); return; case 3: this.RightPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.VolumeLayout = ((System.Windows.Controls.Grid)(target)); return; case 5: this.btEditConfig = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\MainWindow.xaml" this.btEditConfig.Click += new System.Windows.RoutedEventHandler(this.btEditConfig_Click); #line default #line hidden return; case 6: this.lblVolumes = ((System.Windows.Controls.Label)(target)); return; case 7: this.cbVolumes = ((System.Windows.Controls.ComboBox)(target)); #line 41 "..\..\MainWindow.xaml" this.cbVolumes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbVolumes_SelectionChanged); #line default #line hidden return; case 8: this.lvFilesInVolume = ((System.Windows.Controls.DataGrid)(target)); #line 43 "..\..\MainWindow.xaml" this.lvFilesInVolume.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvFilesInVolume_SelectionChanged); #line default #line hidden #line 43 "..\..\MainWindow.xaml" this.lvFilesInVolume.DragEnter += new System.Windows.DragEventHandler(this.lvFilesInVolume_DragEnter); #line default #line hidden #line 43 "..\..\MainWindow.xaml" this.lvFilesInVolume.MouseMove += new System.Windows.Input.MouseEventHandler(this.lvFilesInVolume_MouseMove); #line default #line hidden return; case 9: this.lvBlockList = ((System.Windows.Controls.DataGrid)(target)); #line 56 "..\..\MainWindow.xaml" this.lvBlockList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvFilesInVolume_SelectionChanged); #line default #line hidden #line 56 "..\..\MainWindow.xaml" this.lvBlockList.MouseMove += new System.Windows.Input.MouseEventHandler(this.lvBlockList_MouseMove); #line default #line hidden return; case 10: this.MainPanel = ((System.Windows.Controls.TabControl)(target)); #line 69 "..\..\MainWindow.xaml" this.MainPanel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainPanel_SelectionChanged); #line default #line hidden return; case 11: this.FileLayout = ((System.Windows.Controls.Grid)(target)); return; case 12: this.btDeleteSupport = ((System.Windows.Controls.Button)(target)); #line 106 "..\..\MainWindow.xaml" this.btDeleteSupport.Click += new System.Windows.RoutedEventHandler(this.btDeleteSupport_Click); #line default #line hidden return; case 13: this.btEditSupport = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\MainWindow.xaml" this.btEditSupport.Click += new System.Windows.RoutedEventHandler(this.btEditSupport_Click); #line default #line hidden return; case 14: this.tbSupportTitle = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.cbSupportCategory = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.tbSupportFileName = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.tbSupportFullPath = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.btCancelSupportEdit = ((System.Windows.Controls.Button)(target)); #line 136 "..\..\MainWindow.xaml" this.btCancelSupportEdit.Click += new System.Windows.RoutedEventHandler(this.btCancelSupportEdit_Click); #line default #line hidden return; case 19: this.btSaveSupportEdit = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\MainWindow.xaml" this.btSaveSupportEdit.Click += new System.Windows.RoutedEventHandler(this.btSaveSupportEdit_Click); #line default #line hidden return; case 20: this.MediaPreviewInfo = ((System.Windows.Controls.TabControl)(target)); return; case 21: this.TBPreview = ((System.Windows.Controls.TabItem)(target)); return; case 22: this.PlayerLayout = ((System.Windows.Controls.Grid)(target)); return; case 23: this.vlcPreviewPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 24: this.VLCControlPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 25: this.btnSlow = ((System.Windows.Controls.Button)(target)); #line 168 "..\..\MainWindow.xaml" this.btnSlow.Click += new System.Windows.RoutedEventHandler(this.btnSlow_Click); #line default #line hidden return; case 26: this.btnPause = ((System.Windows.Controls.Button)(target)); #line 169 "..\..\MainWindow.xaml" this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click); #line default #line hidden return; case 27: this.btnPlay = ((System.Windows.Controls.Button)(target)); #line 170 "..\..\MainWindow.xaml" this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.btnPlay_Click); #line default #line hidden return; case 28: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 171 "..\..\MainWindow.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click); #line default #line hidden return; case 29: this.btnFastForward = ((System.Windows.Controls.Button)(target)); #line 172 "..\..\MainWindow.xaml" this.btnFastForward.Click += new System.Windows.RoutedEventHandler(this.btnFastForward_Click); #line default #line hidden return; case 30: this.TBMediaInfo = ((System.Windows.Controls.TabItem)(target)); return; case 31: this.MediaInfoLayout = ((System.Windows.Controls.Grid)(target)); return; case 32: this.mediaInfoBox = ((System.Windows.Controls.Label)(target)); return; case 33: this.FilePanel = ((System.Windows.Controls.TabControl)(target)); return; case 34: this.CustomFieldSupportGrid = ((System.Windows.Controls.Grid)(target)); return; case 35: this.dbAddField = ((System.Windows.Controls.GroupBox)(target)); return; case 36: this.AddFieldLayout = ((System.Windows.Controls.Grid)(target)); return; case 37: this.tbNewCustomFieldName = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.cbFieldType = ((System.Windows.Controls.ComboBox)(target)); return; case 39: this.cbItemString = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 40: this.cbItemPicture = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 41: this.cbItemVideo = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 42: this.btAddFieldName = ((System.Windows.Controls.Button)(target)); #line 217 "..\..\MainWindow.xaml" this.btAddFieldName.Click += new System.Windows.RoutedEventHandler(this.btAddFieldName_Click); #line default #line hidden return; case 43: this.spAdditionalFieldSupport = ((System.Windows.Controls.StackPanel)(target)); return; case 44: this.BlockLayout = ((System.Windows.Controls.Grid)(target)); return; case 45: this.btAddNewBlock = ((System.Windows.Controls.Button)(target)); #line 247 "..\..\MainWindow.xaml" this.btAddNewBlock.Click += new System.Windows.RoutedEventHandler(this.btAddNewBlock_Click); #line default #line hidden return; case 46: this.btDeleteCurrentBlock = ((System.Windows.Controls.Button)(target)); return; case 47: this.lvAvailableBlocks = ((System.Windows.Controls.DataGrid)(target)); #line 261 "..\..\MainWindow.xaml" this.lvAvailableBlocks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvAvailableBlocks_SelectionChanged); #line default #line hidden return; case 48: this.lblCurrentBlockName = ((System.Windows.Controls.Label)(target)); return; case 49: this.tbCurrentBlockName = ((System.Windows.Controls.TextBox)(target)); #line 275 "..\..\MainWindow.xaml" this.tbCurrentBlockName.LostFocus += new System.Windows.RoutedEventHandler(this.tbCurrentBlockName_LostFocus); #line default #line hidden return; case 50: this.btEdit = ((System.Windows.Controls.Button)(target)); #line 277 "..\..\MainWindow.xaml" this.btEdit.Click += new System.Windows.RoutedEventHandler(this.btEdit_Click); #line default #line hidden return; case 51: this.btExportToFile = ((System.Windows.Controls.Button)(target)); #line 284 "..\..\MainWindow.xaml" this.btExportToFile.Click += new System.Windows.RoutedEventHandler(this.btExportToFile_Click); #line default #line hidden return; case 52: this.btSaveBlock = ((System.Windows.Controls.Button)(target)); #line 291 "..\..\MainWindow.xaml" this.btSaveBlock.Click += new System.Windows.RoutedEventHandler(this.btSaveBlock_Click); #line default #line hidden return; case 53: this.spBlock = ((System.Windows.Controls.StackPanel)(target)); return; case 54: this.dgBlockDetail = ((System.Windows.Controls.DataGrid)(target)); #line 301 "..\..\MainWindow.xaml" this.dgBlockDetail.DragEnter += new System.Windows.DragEventHandler(this.dgBlockDetail_DragEnter); #line default #line hidden #line 301 "..\..\MainWindow.xaml" this.dgBlockDetail.Drop += new System.Windows.DragEventHandler(this.dgBlockDetail_Drop); #line default #line hidden #line 301 "..\..\MainWindow.xaml" this.dgBlockDetail.DragOver += new System.Windows.DragEventHandler(this.dgBlockDetail_DragOver); #line default #line hidden #line 301 "..\..\MainWindow.xaml" this.dgBlockDetail.GiveFeedback += new System.Windows.GiveFeedbackEventHandler(this.dgBlockDetail_GiveFeedback); #line default #line hidden return; case 55: this.PlayListLayout = ((System.Windows.Controls.Grid)(target)); return; case 56: this.btAddNewPlaylist = ((System.Windows.Controls.Button)(target)); #line 335 "..\..\MainWindow.xaml" this.btAddNewPlaylist.Click += new System.Windows.RoutedEventHandler(this.btAddNewPlaylist_Click); #line default #line hidden return; case 57: this.btDeleteCurrentPlaylist = ((System.Windows.Controls.Button)(target)); return; case 58: this.lvAvailablePlaylists = ((System.Windows.Controls.DataGrid)(target)); #line 349 "..\..\MainWindow.xaml" this.lvAvailablePlaylists.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvAvailablePlaylists_SelectionChanged); #line default #line hidden return; case 59: this.lblCurrentPlaylistName = ((System.Windows.Controls.Label)(target)); return; case 60: this.tbCurrentPlaylistName = ((System.Windows.Controls.TextBox)(target)); return; case 61: this.btEditPlaylist = ((System.Windows.Controls.Button)(target)); #line 365 "..\..\MainWindow.xaml" this.btEditPlaylist.Click += new System.Windows.RoutedEventHandler(this.btEditPlaylist_Click); #line default #line hidden return; case 62: this.btExportPlaylistToFile = ((System.Windows.Controls.Button)(target)); #line 372 "..\..\MainWindow.xaml" this.btExportPlaylistToFile.Click += new System.Windows.RoutedEventHandler(this.btExportPlaylistToFile_Click); #line default #line hidden return; case 63: this.btSavePlaylist = ((System.Windows.Controls.Button)(target)); #line 379 "..\..\MainWindow.xaml" this.btSavePlaylist.Click += new System.Windows.RoutedEventHandler(this.btSavePlaylist_Click); #line default #line hidden return; case 64: this.dgPlaylistDetail = ((System.Windows.Controls.DataGrid)(target)); #line 387 "..\..\MainWindow.xaml" this.dgPlaylistDetail.DragEnter += new System.Windows.DragEventHandler(this.dgPlaylistDetail_DragEnter); #line default #line hidden #line 387 "..\..\MainWindow.xaml" this.dgPlaylistDetail.DragOver += new System.Windows.DragEventHandler(this.dgPlaylistDetail_DragOver); #line default #line hidden #line 387 "..\..\MainWindow.xaml" this.dgPlaylistDetail.Drop += new System.Windows.DragEventHandler(this.dgPlaylistDetail_Drop); #line default #line hidden #line 387 "..\..\MainWindow.xaml" this.dgPlaylistDetail.GiveFeedback += new System.Windows.GiveFeedbackEventHandler(this.dgPlaylistDetail_GiveFeedback); #line default #line hidden return; } this._contentLoaded = true; }
private void PlayerOnPositionChanged(VlcControl sender, VlcEventArgs<float> vlcEventArgs) { _media.Source = _player.VideoSource; Position = _player.Time; }
private void myVlcControl_Playing(VlcControl sender, VlcEventArgs<EventArgs> e) { UIBtnPlay.Text = Define.Fonts["fa-pause"].Code; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\..\RobotControlWindow.xaml" ((Ingenuity_Client.RobotControlWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.statusTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.wButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 4: this.sButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 5: this.dButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 6: this.aButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 7: this.myControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; } this._contentLoaded = true; }
private void VlcControlOnPositionChanged(VlcControl sender, VlcEventArgs<float> e) { if (myPositionChanging) { return; } sliderPosition.Value = e.Data; }
private void VlcControlOnTimeChanged(VlcControl sender, VlcEventArgs<TimeSpan> e) { if (myVlcControl.Media == null) { return; } alta_txt_curTime.Text = e.Data.Format(); }
private void myVlcControl_Paused(VlcControl sender, VlcEventArgs<EventArgs> e) { }
private void VlcControlOnPositionChanged(VlcControl sender, VlcEventArgs<float> e) { if (myPositionChanging) { return; } barTimeSeek.Value = (int)(e.Data * 100); }
public override void Unload() { Reset(); if (_player != null) _player.Stop(); _player = null; _media = null; VlcContext.CloseAll(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myVlcControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 2: this.textBlockOpen = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.Cube = ((System.Windows.Media.Media3D.Model3DGroup)(target)); return; case 4: this.Front = ((System.Windows.Media.Media3D.GeometryModel3D)(target)); return; case 5: this.Right = ((System.Windows.Media.Media3D.GeometryModel3D)(target)); return; case 6: this.Top = ((System.Windows.Media.Media3D.GeometryModel3D)(target)); return; case 7: this.sliderVolume = ((System.Windows.Controls.Slider)(target)); #line 82 "..\..\VlcPlayer.xaml" this.sliderVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderVolumeValueChanged); #line default #line hidden return; case 8: this.checkboxMute = ((System.Windows.Controls.CheckBox)(target)); #line 83 "..\..\VlcPlayer.xaml" this.checkboxMute.Checked += new System.Windows.RoutedEventHandler(this.CheckboxMuteCheckedChanged); #line default #line hidden #line 83 "..\..\VlcPlayer.xaml" this.checkboxMute.Unchecked += new System.Windows.RoutedEventHandler(this.CheckboxMuteCheckedChanged); #line default #line hidden return; case 9: this.buttonPlay = ((System.Windows.Controls.Button)(target)); #line 84 "..\..\VlcPlayer.xaml" this.buttonPlay.Click += new System.Windows.RoutedEventHandler(this.ButtonPlayClick); #line default #line hidden return; case 10: this.buttonPause = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\VlcPlayer.xaml" this.buttonPause.Click += new System.Windows.RoutedEventHandler(this.ButtonPauseClick); #line default #line hidden return; case 11: this.buttonStop = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\VlcPlayer.xaml" this.buttonStop.Click += new System.Windows.RoutedEventHandler(this.ButtonStopClick); #line default #line hidden return; case 12: this.buttonPrevious = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\VlcPlayer.xaml" this.buttonPrevious.Click += new System.Windows.RoutedEventHandler(this.ButtonPreviousClick); #line default #line hidden return; case 13: this.buttonNext = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\VlcPlayer.xaml" this.buttonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNextClick); #line default #line hidden return; case 14: this.buttonOpen = ((System.Windows.Controls.Button)(target)); #line 89 "..\..\VlcPlayer.xaml" this.buttonOpen.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenClick); #line default #line hidden return; case 15: this.buttonPlayYoutubeSample = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\VlcPlayer.xaml" this.buttonPlayYoutubeSample.Click += new System.Windows.RoutedEventHandler(this.ButtonPlayYoutubeSample); #line default #line hidden return; case 16: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.sliderPosition = ((System.Windows.Controls.Slider)(target)); #line 94 "..\..\VlcPlayer.xaml" this.sliderPosition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderValueChanged); #line default #line hidden #line 94 "..\..\VlcPlayer.xaml" this.sliderPosition.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SliderMouseLeftButtonDown); #line default #line hidden #line 94 "..\..\VlcPlayer.xaml" this.sliderPosition.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.SliderMouseLeftButtonUp); #line default #line hidden return; } this._contentLoaded = true; }
private void PlayerOnLengthChanged(VlcControl sender, VlcEventArgs<long> vlcEventArgs) { Duration = _player.Duration; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TimelineWindow = ((MPMS___Projection_Management_System.ProjectionTimelineMetro)(target)); #line 14 "..\..\ProjectionTimelineMetro.xaml" this.TimelineWindow.Loaded += new System.Windows.RoutedEventHandler(this.TimelineWindow_Loaded); #line default #line hidden #line 14 "..\..\ProjectionTimelineMetro.xaml" this.TimelineWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.sldTimeline = ((System.Windows.Controls.Slider)(target)); #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldTimeline_ValueChanged); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.sldTimeline_MouseUp); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.DragLeave += new System.Windows.DragEventHandler(this.sldTimeline_DragLeave); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.sldTimeline_MouseDown); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.ManipulationStarting += new System.EventHandler <System.Windows.Input.ManipulationStartingEventArgs>(this.sldTimeline_ManipulationStarting); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.MouseEnter += new System.Windows.Input.MouseEventHandler(this.sldTimeline_MouseEnter); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.IsMouseDirectlyOverChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.sldTimeline_IsMouseDirectlyOverChanged); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.sldTimeline_GotMouseCapture); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.sldTimeline_DragCompleted)); #line default #line hidden #line 63 "..\..\ProjectionTimelineMetro.xaml" this.sldTimeline.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.sldTimeline_DragStarted)); #line default #line hidden return; case 3: this.menu = ((System.Windows.Controls.Menu)(target)); return; case 4: this.btnAddFile = ((System.Windows.Controls.Button)(target)); #line 69 "..\..\ProjectionTimelineMetro.xaml" this.btnAddFile.Click += new System.Windows.RoutedEventHandler(this.btnAddFile_Click); #line default #line hidden return; case 5: this.gpbControls = ((System.Windows.Controls.GroupBox)(target)); return; case 6: this.grpGrid = ((System.Windows.Controls.Grid)(target)); return; case 7: this.btnSync = ((System.Windows.Controls.Button)(target)); #line 74 "..\..\ProjectionTimelineMetro.xaml" this.btnSync.Click += new System.Windows.RoutedEventHandler(this.btnSync_Click); #line default #line hidden return; case 8: this.btnPlay = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\ProjectionTimelineMetro.xaml" this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.btnPlay_Click); #line default #line hidden return; case 9: this.btnPause = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\ProjectionTimelineMetro.xaml" this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click); #line default #line hidden return; case 10: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\ProjectionTimelineMetro.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click); #line default #line hidden return; case 11: this.cbxIsVideoVisible = ((System.Windows.Controls.CheckBox)(target)); #line 87 "..\..\ProjectionTimelineMetro.xaml" this.cbxIsVideoVisible.Click += new System.Windows.RoutedEventHandler(this.cbxIsVideoVisible_Click); #line default #line hidden return; case 12: this.cbxIsProjectionVisible = ((System.Windows.Controls.CheckBox)(target)); #line 88 "..\..\ProjectionTimelineMetro.xaml" this.cbxIsProjectionVisible.Click += new System.Windows.RoutedEventHandler(this.cbxIsProjectionVisible_Click); #line default #line hidden return; case 13: this.sldVolume = ((System.Windows.Controls.Slider)(target)); #line 89 "..\..\ProjectionTimelineMetro.xaml" this.sldVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldVolume_ValueChanged); #line default #line hidden return; case 14: this.lblVolume = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnMute = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\ProjectionTimelineMetro.xaml" this.btnMute.Click += new System.Windows.RoutedEventHandler(this.btnMute_Click); #line default #line hidden return; case 16: this.nudBrightness = ((MahApps.Metro.Controls.NumericUpDown)(target)); #line 106 "..\..\ProjectionTimelineMetro.xaml" this.nudBrightness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.NumericUpDown_ValueChanged); #line default #line hidden return; case 17: this.cbxInvertHorizontally = ((System.Windows.Controls.CheckBox)(target)); #line 111 "..\..\ProjectionTimelineMetro.xaml" this.cbxInvertHorizontally.Click += new System.Windows.RoutedEventHandler(this.cbxInvertHorizontally_Click); #line default #line hidden return; case 18: this.cbxInvertVertically = ((System.Windows.Controls.CheckBox)(target)); #line 112 "..\..\ProjectionTimelineMetro.xaml" this.cbxInvertVertically.Click += new System.Windows.RoutedEventHandler(this.cbxInvertVertically_Click); #line default #line hidden return; case 19: this.cbxInvertOnlyProjection = ((System.Windows.Controls.CheckBox)(target)); #line 113 "..\..\ProjectionTimelineMetro.xaml" this.cbxInvertOnlyProjection.Click += new System.Windows.RoutedEventHandler(this.cbxInvertOnlyProjection_Click); #line default #line hidden return; case 20: this.cbxAspectRatio = ((System.Windows.Controls.ComboBox)(target)); #line 114 "..\..\ProjectionTimelineMetro.xaml" this.cbxAspectRatio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxAspectRatio_SelectionChanged); #line default #line hidden return; case 21: this.nudContrast = ((MahApps.Metro.Controls.NumericUpDown)(target)); #line 125 "..\..\ProjectionTimelineMetro.xaml" this.nudContrast.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.nudContrast_ValueChanged); #line default #line hidden return; case 22: this.nudSaturation = ((MahApps.Metro.Controls.NumericUpDown)(target)); #line 130 "..\..\ProjectionTimelineMetro.xaml" this.nudSaturation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.nudSaturation_ValueChanged); #line default #line hidden return; case 23: this.nudGamma = ((MahApps.Metro.Controls.NumericUpDown)(target)); #line 135 "..\..\ProjectionTimelineMetro.xaml" this.nudGamma.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.nudGamma_ValueChanged); #line default #line hidden return; case 24: this.nudHUE = ((MahApps.Metro.Controls.NumericUpDown)(target)); #line 140 "..\..\ProjectionTimelineMetro.xaml" this.nudHUE.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.nudHUE_ValueChanged); #line default #line hidden return; case 25: this.timeline = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 26: this.vctAux = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 27: this.lsbTestList = ((System.Windows.Controls.ListBox)(target)); return; case 28: this.lsvTestList = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }
void myVlcControl_Paused(Vlc.DotNet.Wpf.VlcControl sender, VlcEventArgs <EventArgs> e) { }
private void PlayerOnEndReached(VlcControl sender, VlcEventArgs<EventArgs> vlcEventArgs) { if (Duration <= TimeSpan.Zero) return; if (_loop) Play(null); else Stop(null); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\MainWindow.xaml" ((AAMusicPlayer2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.closing); #line default #line hidden return; case 2: this.myControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 3: this.playingLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.timeLabel = ((System.Windows.Controls.Label)(target)); #line 43 "..\..\MainWindow.xaml" this.timeLabel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ChangeDisplayTime); #line default #line hidden return; case 5: this.PositionSlider = ((System.Windows.Controls.Slider)(target)); #line 44 "..\..\MainWindow.xaml" this.PositionSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.PositionChange); #line default #line hidden return; case 6: this.RemainingLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); #line default #line hidden return; case 8: this.fullsearch = ((System.Windows.Controls.TextBox)(target)); #line 48 "..\..\MainWindow.xaml" this.fullsearch.LostFocus += new System.Windows.RoutedEventHandler(this.search_LostFocus); #line default #line hidden #line 48 "..\..\MainWindow.xaml" this.fullsearch.GotFocus += new System.Windows.RoutedEventHandler(this.search_GotFocus); #line default #line hidden #line 48 "..\..\MainWindow.xaml" this.fullsearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search); #line default #line hidden return; case 9: this.plsearch = ((System.Windows.Controls.TextBox)(target)); #line 51 "..\..\MainWindow.xaml" this.plsearch.LostFocus += new System.Windows.RoutedEventHandler(this.search_LostFocus); #line default #line hidden #line 51 "..\..\MainWindow.xaml" this.plsearch.GotFocus += new System.Windows.RoutedEventHandler(this.search_GotFocus); #line default #line hidden #line 51 "..\..\MainWindow.xaml" this.plsearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.PLSearch); #line default #line hidden return; case 10: #line 53 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearS1); #line default #line hidden return; case 11: #line 54 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearS2); #line default #line hidden return; case 12: this.fulllistgrid = ((System.Windows.Controls.DataGrid)(target)); return; case 14: this.playlistgrid = ((System.Windows.Controls.DataGrid)(target)); return; case 16: this.AddButton = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\MainWindow.xaml" this.AddButton.Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 17: this.MyContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 18: #line 91 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddFile_Click); #line default #line hidden return; case 19: #line 92 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddDir_Click); #line default #line hidden return; case 20: #line 97 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 21: #line 100 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemSel_Click); #line default #line hidden return; case 22: #line 101 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Crop_Click); #line default #line hidden return; case 23: #line 102 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemAll_Click); #line default #line hidden return; case 24: #line 103 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemDup_Click); #line default #line hidden return; case 25: #line 104 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemMissing_Click); #line default #line hidden return; case 26: #line 105 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PhysicallyRem_Click); #line default #line hidden return; case 27: #line 109 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 28: #line 112 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectAll_Click); #line default #line hidden return; case 29: #line 113 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelNone_Click); #line default #line hidden return; case 30: #line 114 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InvertSel_Click); #line default #line hidden return; case 31: #line 118 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfo_Click); #line default #line hidden return; case 32: #line 119 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 33: #line 122 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortDate_Click); #line default #line hidden return; case 34: #line 123 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortTitle_Click); #line default #line hidden return; case 35: #line 124 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortArtist_Click); #line default #line hidden return; case 36: #line 125 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortGenre_Click); #line default #line hidden return; case 37: #line 126 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortFilename_Click); #line default #line hidden return; case 38: #line 127 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortReverse_Click); #line default #line hidden return; case 39: #line 131 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 40: #line 134 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLInsertRepeat_Click); #line default #line hidden return; case 41: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemoveRepeat_Click); #line default #line hidden return; case 42: #line 136 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLStopAfterCurrent_Click); #line default #line hidden return; case 43: #line 137 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLStopAfterSelected_Click); #line default #line hidden return; case 44: #line 138 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemoveStop_Click); #line default #line hidden return; case 45: #line 139 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLDuplicate_Click); #line default #line hidden return; case 46: #line 140 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLFileInfo_Click); #line default #line hidden return; case 47: #line 144 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 48: #line 147 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemDup_Click); #line default #line hidden return; case 49: #line 148 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemMissing_Click); #line default #line hidden return; case 50: #line 149 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemSel_Click); #line default #line hidden return; case 51: #line 150 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLCrop_Click); #line default #line hidden return; case 52: #line 154 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 53: #line 157 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveAfterCurrent_Click); #line default #line hidden return; case 54: #line 158 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveToTop_Click); #line default #line hidden return; case 55: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveToBottom_Click); #line default #line hidden return; case 56: #line 160 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveUp_Click); #line default #line hidden return; case 57: #line 161 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveDown_Click); #line default #line hidden return; case 58: #line 166 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 59: #line 169 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRandom_Click); #line default #line hidden return; case 60: #line 170 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLReverse_Click); #line default #line hidden return; case 61: #line 171 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLInvertSel_Click); #line default #line hidden return; case 62: #line 172 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSelAll_Click); #line default #line hidden return; case 63: #line 173 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSelNone_Click); #line default #line hidden return; case 64: #line 174 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortDate_Click); #line default #line hidden return; case 65: #line 175 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortTitle_Click); #line default #line hidden return; case 66: #line 176 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortArtist_Click); #line default #line hidden return; case 67: #line 177 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortGenre_Click); #line default #line hidden return; case 68: #line 178 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortFilename_Click); #line default #line hidden return; case 69: #line 182 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 70: #line 186 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSaveList_Click); #line default #line hidden return; case 71: #line 187 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLLoadList_Click); #line default #line hidden return; case 72: #line 188 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLNewList_Click); #line default #line hidden return; case 73: #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BackButton_Click); #line default #line hidden #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BackButton2_Click); #line default #line hidden #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.BackButton2_Click); #line default #line hidden return; case 74: #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.StopButton_Click); #line default #line hidden #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StopButton2_Click); #line default #line hidden #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.StopButton2_Click); #line default #line hidden return; case 75: #line 194 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click); #line default #line hidden return; case 76: #line 195 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click); #line default #line hidden return; case 77: #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.NextButton_Click); #line default #line hidden #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.NextButton2_Click); #line default #line hidden #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.NextButton2_Click); #line default #line hidden return; case 78: this.trackWave = ((System.Windows.Controls.Slider)(target)); #line 197 "..\..\MainWindow.xaml" this.trackWave.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.VolChange); #line default #line hidden return; case 79: #line 198 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Mute_Click); #line default #line hidden return; case 80: #line 199 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddToPlaylist2); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\MainWindow.xaml" ((AAMusicPlayer2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.closing); #line default #line hidden return; case 2: this.myControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 3: this.playingLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.timeLabel = ((System.Windows.Controls.Label)(target)); #line 43 "..\..\MainWindow.xaml" this.timeLabel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ChangeDisplayTime); #line default #line hidden return; case 5: this.PositionSlider = ((System.Windows.Controls.Slider)(target)); #line 44 "..\..\MainWindow.xaml" this.PositionSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PositionChange); #line default #line hidden return; case 6: this.RemainingLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); #line default #line hidden return; case 8: this.fullsearch = ((System.Windows.Controls.TextBox)(target)); #line 48 "..\..\MainWindow.xaml" this.fullsearch.LostFocus += new System.Windows.RoutedEventHandler(this.search_LostFocus); #line default #line hidden #line 48 "..\..\MainWindow.xaml" this.fullsearch.GotFocus += new System.Windows.RoutedEventHandler(this.search_GotFocus); #line default #line hidden #line 48 "..\..\MainWindow.xaml" this.fullsearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search); #line default #line hidden return; case 9: this.plsearch = ((System.Windows.Controls.TextBox)(target)); #line 51 "..\..\MainWindow.xaml" this.plsearch.LostFocus += new System.Windows.RoutedEventHandler(this.search_LostFocus); #line default #line hidden #line 51 "..\..\MainWindow.xaml" this.plsearch.GotFocus += new System.Windows.RoutedEventHandler(this.search_GotFocus); #line default #line hidden #line 51 "..\..\MainWindow.xaml" this.plsearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.PLSearch); #line default #line hidden return; case 10: #line 53 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearS1); #line default #line hidden return; case 11: #line 54 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearS2); #line default #line hidden return; case 12: this.fulllistgrid = ((System.Windows.Controls.DataGrid)(target)); return; case 14: this.playlistgrid = ((System.Windows.Controls.DataGrid)(target)); return; case 16: this.AddButton = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\MainWindow.xaml" this.AddButton.Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 17: this.MyContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 18: #line 91 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddFile_Click); #line default #line hidden return; case 19: #line 92 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddDir_Click); #line default #line hidden return; case 20: #line 97 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 21: #line 100 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemSel_Click); #line default #line hidden return; case 22: #line 101 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Crop_Click); #line default #line hidden return; case 23: #line 102 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemAll_Click); #line default #line hidden return; case 24: #line 103 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemDup_Click); #line default #line hidden return; case 25: #line 104 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemMissing_Click); #line default #line hidden return; case 26: #line 105 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PhysicallyRem_Click); #line default #line hidden return; case 27: #line 109 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 28: #line 112 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectAll_Click); #line default #line hidden return; case 29: #line 113 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelNone_Click); #line default #line hidden return; case 30: #line 114 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InvertSel_Click); #line default #line hidden return; case 31: #line 118 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfo_Click); #line default #line hidden return; case 32: #line 119 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 33: #line 122 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortDate_Click); #line default #line hidden return; case 34: #line 123 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortTitle_Click); #line default #line hidden return; case 35: #line 124 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortArtist_Click); #line default #line hidden return; case 36: #line 125 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortGenre_Click); #line default #line hidden return; case 37: #line 126 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortFilename_Click); #line default #line hidden return; case 38: #line 127 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SortReverse_Click); #line default #line hidden return; case 39: #line 131 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 40: #line 134 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLInsertRepeat_Click); #line default #line hidden return; case 41: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemoveRepeat_Click); #line default #line hidden return; case 42: #line 136 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLStopAfterCurrent_Click); #line default #line hidden return; case 43: #line 137 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLStopAfterSelected_Click); #line default #line hidden return; case 44: #line 138 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemoveStop_Click); #line default #line hidden return; case 45: #line 139 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLDuplicate_Click); #line default #line hidden return; case 46: #line 140 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLFileInfo_Click); #line default #line hidden return; case 47: #line 144 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 48: #line 147 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemDup_Click); #line default #line hidden return; case 49: #line 148 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemMissing_Click); #line default #line hidden return; case 50: #line 149 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRemSel_Click); #line default #line hidden return; case 51: #line 150 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLCrop_Click); #line default #line hidden return; case 52: #line 154 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 53: #line 157 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveAfterCurrent_Click); #line default #line hidden return; case 54: #line 158 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveToTop_Click); #line default #line hidden return; case 55: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveToBottom_Click); #line default #line hidden return; case 56: #line 160 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveUp_Click); #line default #line hidden return; case 57: #line 161 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLMoveDown_Click); #line default #line hidden return; case 58: #line 166 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 59: #line 169 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLRandom_Click); #line default #line hidden return; case 60: #line 170 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLReverse_Click); #line default #line hidden return; case 61: #line 171 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLInvertSel_Click); #line default #line hidden return; case 62: #line 172 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSelAll_Click); #line default #line hidden return; case 63: #line 173 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSelNone_Click); #line default #line hidden return; case 64: #line 174 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortDate_Click); #line default #line hidden return; case 65: #line 175 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortTitle_Click); #line default #line hidden return; case 66: #line 176 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortArtist_Click); #line default #line hidden return; case 67: #line 177 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortGenre_Click); #line default #line hidden return; case 68: #line 178 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSortFilename_Click); #line default #line hidden return; case 69: #line 182 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCM); #line default #line hidden return; case 70: #line 186 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLSaveList_Click); #line default #line hidden return; case 71: #line 187 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLLoadList_Click); #line default #line hidden return; case 72: #line 188 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PLNewList_Click); #line default #line hidden return; case 73: #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BackButton_Click); #line default #line hidden #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BackButton2_Click); #line default #line hidden #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.BackButton2_Click); #line default #line hidden return; case 74: #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.StopButton_Click); #line default #line hidden #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StopButton2_Click); #line default #line hidden #line 193 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.StopButton2_Click); #line default #line hidden return; case 75: #line 194 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click); #line default #line hidden return; case 76: #line 195 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click); #line default #line hidden return; case 77: #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.NextButton_Click); #line default #line hidden #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.NextButton2_Click); #line default #line hidden #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.RepeatButton)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.NextButton2_Click); #line default #line hidden return; case 78: this.trackWave = ((System.Windows.Controls.Slider)(target)); #line 197 "..\..\MainWindow.xaml" this.trackWave.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.VolChange); #line default #line hidden return; case 79: #line 198 "..\..\MainWindow.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Mute_Click); #line default #line hidden return; case 80: #line 199 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddToPlaylist2); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyControl = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 2: this.EEGPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 3: this.lineEEG = ((System.Windows.Shapes.Line)(target)); return; case 4: this.BrainRPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 5: this.lineBrainR = ((System.Windows.Shapes.Line)(target)); return; case 6: this.SerialPlot = ((OxyPlot.Wpf.PlotView)(target)); return; case 7: this.lineSerial = ((System.Windows.Shapes.Line)(target)); return; case 8: this.Play = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.Play.Click += new System.Windows.RoutedEventHandler(this.OnPlayButtonClick); #line default #line hidden return; case 9: this.OpenDirectory = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.OpenDirectory.Click += new System.Windows.RoutedEventHandler(this.OpenDirectory_Click); #line default #line hidden return; case 10: this.timeSlider = ((System.Windows.Controls.Slider)(target)); #line 40 "..\..\MainWindow.xaml" this.timeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.Slider_DragStarted)); #line default #line hidden #line 40 "..\..\MainWindow.xaml" this.timeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.Slider_DragCompleted)); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((WpfApp1.MainWindow)(target)); return; case 2: #line 12 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchTelegram); #line default #line hidden return; case 3: #line 15 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DevChannel); #line default #line hidden return; case 4: this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 5: #line 34 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal12); #line default #line hidden return; case 6: #line 38 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.hd1music); #line default #line hidden return; case 7: #line 41 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.day365); #line default #line hidden return; case 8: #line 44 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nsk49); #line default #line hidden return; case 9: #line 47 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal8); #line default #line hidden return; case 10: #line 50 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal8krasn); #line default #line hidden return; case 11: #line 53 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amedia1); #line default #line hidden return; case 12: #line 56 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amedia2); #line default #line hidden return; case 13: #line 59 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amediahit); #line default #line hidden return; case 14: #line 62 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amediapremium); #line default #line hidden return; case 15: #line 65 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.animalplanet); #line default #line hidden return; case 16: #line 68 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.animalplanethd); #line default #line hidden return; case 17: #line 71 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetv); #line default #line hidden return; case 18: #line 74 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvclassic); #line default #line hidden return; case 19: #line 77 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvdeluxe); #line default #line hidden return; case 20: #line 80 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvhits); #line default #line hidden return; case 21: #line 83 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvrus); #line default #line hidden return; case 22: #line 86 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cartoonnetwork); #line default #line hidden return; case 23: #line 89 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cinema); #line default #line hidden return; case 24: #line 92 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.davinchi); #line default #line hidden return; case 25: #line 95 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.discoverychannel); #line default #line hidden return; case 26: #line 98 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.discoveryhd); #line default #line hidden return; case 27: #line 101 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.disney); #line default #line hidden return; case 28: #line 104 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.docubox); #line default #line hidden return; case 29: #line 107 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dtx); #line default #line hidden return; case 30: #line 110 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.euronews); #line default #line hidden return; case 31: #line 113 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport1); #line default #line hidden return; case 32: #line 116 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport1hd); #line default #line hidden return; case 33: #line 119 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport2); #line default #line hidden return; case 34: #line 122 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport2hd); #line default #line hidden return; case 35: #line 125 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.extremesports); #line default #line hidden return; case 36: #line 128 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.fashiontv); #line default #line hidden return; case 37: #line 131 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.filmbox); #line default #line hidden return; case 38: #line 134 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.filmboxart); #line default #line hidden return; case 39: #line 137 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.fox); #line default #line hidden return; case 40: #line 140 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.foxlife); #line default #line hidden return; case 41: #line 143 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvdance); #line default #line hidden return; case 42: #line 146 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvlivehd); #line default #line hidden return; case 43: #line 149 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvrus); #line default #line hidden return; case 44: #line 152 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.natgeowild); #line default #line hidden return; case 45: #line 155 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nationalgeographic); #line default #line hidden return; case 46: #line 158 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nationalgeographichd); #line default #line hidden return; case 47: #line 161 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nickjr); #line default #line hidden return; case 48: #line 164 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nick); #line default #line hidden return; case 49: #line 167 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nickhd); #line default #line hidden return; case 50: #line 170 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rutv); #line default #line hidden return; case 51: #line 173 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.russiatoday); #line default #line hidden return; case 52: #line 176 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.russiatodaydoc); #line default #line hidden return; case 53: #line 179 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rtg); #line default #line hidden return; case 54: #line 182 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setsd); #line default #line hidden return; case 55: #line 185 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.sonyscifi); #line default #line hidden return; case 56: #line 188 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tiji); #line default #line hidden return; case 57: #line 191 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tlc); #line default #line hidden return; case 58: #line 194 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tlchd); #line default #line hidden return; case 59: #line 197 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.traveladventure); #line default #line hidden return; case 60: #line 200 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurokino); #line default #line hidden return; case 61: #line 203 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tvxxi); #line default #line hidden return; case 62: #line 206 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000); #line default #line hidden return; case 63: #line 209 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000action); #line default #line hidden return; case 64: #line 212 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000ruskino); #line default #line hidden return; case 65: #line 215 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtv80s); #line default #line hidden return; case 66: #line 218 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatexplore); #line default #line hidden return; case 67: #line 221 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasathistory); #line default #line hidden return; case 68: #line 224 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatnature); #line default #line hidden return; case 69: #line 227 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatsporthd); #line default #line hidden return; case 70: #line 230 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000comedy); #line default #line hidden return; case 71: #line 233 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000megahit); #line default #line hidden return; case 72: #line 236 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000premiere); #line default #line hidden return; case 73: #line 239 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000serial); #line default #line hidden return; case 74: #line 242 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.zoopark); #line default #line hidden return; case 75: #line 245 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.auto24); #line default #line hidden return; case 76: #line 248 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.autoplus); #line default #line hidden return; case 77: #line 251 "..\..\..\channels\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bash24); #line default #line hidden return; } this._contentLoaded = true; }
private void VlcControlOnTimeChanged(VlcControl sender, VlcEventArgs<TimeSpan> e) { if (myVlcControl.Media == null) return; var duration = myVlcControl.Media.Duration; textBlock.Text = string.Format( "{0:00}:{1:00}:{2:00} / {3:00}:{4:00}:{5:00}", e.Data.Hours, e.Data.Minutes, e.Data.Seconds, duration.Hours, duration.Minutes, duration.Seconds); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.imagebackground = ((System.Windows.Controls.Image)(target)); return; case 2: this.textBlock_week = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.textBlock_date = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.label_Mode = ((System.Windows.Controls.Label)(target)); return; case 5: this.label_ChangeMode = ((System.Windows.Controls.Label)(target)); return; case 6: this.textBlock_Time = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.imgwheelcorner = ((System.Windows.Controls.Image)(target)); return; case 8: this.imgwheelmiddle = ((System.Windows.Controls.Image)(target)); return; case 9: this.spwheeltopright = ((System.Windows.Controls.StackPanel)(target)); return; case 10: this.imgwheeltopright = ((System.Windows.Controls.Image)(target)); return; case 11: this.spwheeltopleft = ((System.Windows.Controls.StackPanel)(target)); return; case 12: this.imgwheeltopleft = ((System.Windows.Controls.Image)(target)); return; case 13: this.label_wheelcorner = ((System.Windows.Controls.Label)(target)); return; case 14: this.textBlock_corner = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.myVideo = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 16: this.myVideoControl = ((System.Windows.Forms.Panel)(target)); return; case 17: this.myVideoControl3 = ((System.Windows.Forms.Panel)(target)); return; case 18: this.imgnetworkdelay = ((System.Windows.Controls.Image)(target)); return; case 19: this.label_networkdelay = ((System.Windows.Controls.Label)(target)); return; case 20: this.textBlock_networkdelay = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.imgenginespeed = ((System.Windows.Controls.Image)(target)); return; case 22: this.textBlock_imgenginespeed = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.progressbar_left = ((System.Windows.Controls.ProgressBar)(target)); return; case 24: this.imgElectricQuantity = ((System.Windows.Controls.Image)(target)); return; case 25: this.textBlock_imgElectricQuantity = ((System.Windows.Controls.TextBlock)(target)); return; case 26: this.progressbar_right = ((System.Windows.Controls.ProgressBar)(target)); return; case 27: this.label_MotorTEMP = ((System.Windows.Controls.Label)(target)); return; case 28: this.textBlock_MotorTEMP = ((System.Windows.Controls.TextBlock)(target)); return; case 29: this.label_BatteryTEMP = ((System.Windows.Controls.Label)(target)); return; case 30: this.textBlock_BatteryTEMP = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.textBlock_Speed = ((System.Windows.Controls.TextBlock)(target)); return; case 32: this.label_Speed = ((System.Windows.Controls.Label)(target)); return; case 33: this.imgdrivestatus = ((System.Windows.Controls.Image)(target)); return; case 34: this.label_BatteryVoltage = ((System.Windows.Controls.Label)(target)); return; case 35: this.textBlock_BatteryVoltage = ((System.Windows.Controls.TextBlock)(target)); return; case 36: this.label_BatteryCurrent = ((System.Windows.Controls.Label)(target)); return; case 37: this.textBlock_BatteryCurrent = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.label_DoorStatus = ((System.Windows.Controls.Label)(target)); return; case 39: this.textBlock_DoorStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 40: this.label_MotorTorque = ((System.Windows.Controls.Label)(target)); return; case 41: this.textBlock_MotorTorque = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
private void _VLCcontrol_OnSnapshotTaken(VlcControl sender, VlcEventArgs<string> e) { try { String imgPath = this._viewModel.TemporaryImagePath; if (File.Exists(imgPath)) { Image img = new Bitmap(imgPath); this._viewModel.CurrentVideo.PreviewImage = img; img.Dispose(); File.Delete(imgPath); } } catch (Exception ex) { this.Logger().ErrorFormat(ex.Message); } }
/// <summary> /// Called by the <see cref="VlcControl"/> when the media position changed during playback. /// </summary> /// <param name="sender">Event sennding control. </param> /// <param name="e">VLC event arguments. </param> private void VlcControlOnPositionChanged(VlcControl sender, VlcEventArgs<float> e) { if (myPositionChanging) { // User is currently changing the position using the slider, so do not update. return; } sliderPosition.Value = e.Data; }
private void _VLCcontrol_OnLengthChanged(VlcControl sender, VlcEventArgs<long> e) { if (this._viewModel.Duration == TimeSpan.Zero) { TimeSpan duration = this._VLCcontrol.Duration; this._viewModel.Duration = duration; } }
private void _VLCcontrol_OnPositionChanged(VlcControl sender, VlcEventArgs<float> e) { this._viewModel.Position = this._VLCcontrol.Position; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((WpfApp1.MainWindow)(target)); return; case 2: #line 12 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchTelegram); #line default #line hidden return; case 3: #line 15 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DevChannel); #line default #line hidden return; case 4: this.Grid1 = ((System.Windows.Controls.Grid)(target)); return; case 5: this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 6: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal12); #line default #line hidden return; case 7: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.hd1music); #line default #line hidden return; case 8: #line 42 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.day365); #line default #line hidden return; case 9: #line 45 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nsk49); #line default #line hidden return; case 10: #line 48 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal8); #line default #line hidden return; case 11: #line 51 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kanal8krasn); #line default #line hidden return; case 12: #line 54 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amedia1); #line default #line hidden return; case 13: #line 57 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amedia2); #line default #line hidden return; case 14: #line 60 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amediahit); #line default #line hidden return; case 15: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.amediapremium); #line default #line hidden return; case 16: #line 66 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.animalplanet); #line default #line hidden return; case 17: #line 69 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.animalplanethd); #line default #line hidden return; case 18: #line 72 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetv); #line default #line hidden return; case 19: #line 75 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvclassic); #line default #line hidden return; case 20: #line 78 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvdeluxe); #line default #line hidden return; case 21: #line 81 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvhits); #line default #line hidden return; case 22: #line 84 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bridgetvrus); #line default #line hidden return; case 23: #line 87 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cartoonnetwork); #line default #line hidden return; case 24: #line 90 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cinema); #line default #line hidden return; case 25: #line 93 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.davinchi); #line default #line hidden return; case 26: #line 96 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.discoverychannel); #line default #line hidden return; case 27: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.discoveryhd); #line default #line hidden return; case 28: #line 102 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.disney); #line default #line hidden return; case 29: #line 105 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.docubox); #line default #line hidden return; case 30: #line 108 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dtx); #line default #line hidden return; case 31: #line 111 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.euronews); #line default #line hidden return; case 32: #line 114 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport1); #line default #line hidden return; case 33: #line 117 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport1hd); #line default #line hidden return; case 34: #line 120 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport2); #line default #line hidden return; case 35: #line 123 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurosport2hd); #line default #line hidden return; case 36: #line 126 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.extremesports); #line default #line hidden return; case 37: #line 129 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.fashiontv); #line default #line hidden return; case 38: #line 132 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.filmbox); #line default #line hidden return; case 39: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.filmboxart); #line default #line hidden return; case 40: #line 138 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.fox); #line default #line hidden return; case 41: #line 141 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.foxlife); #line default #line hidden return; case 42: #line 144 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvdance); #line default #line hidden return; case 43: #line 147 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvlivehd); #line default #line hidden return; case 44: #line 150 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtvrus); #line default #line hidden return; case 45: #line 153 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.natgeowild); #line default #line hidden return; case 46: #line 156 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nationalgeographic); #line default #line hidden return; case 47: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nationalgeographichd); #line default #line hidden return; case 48: #line 162 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nickjr); #line default #line hidden return; case 49: #line 165 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nick); #line default #line hidden return; case 50: #line 168 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nickhd); #line default #line hidden return; case 51: #line 171 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rutv); #line default #line hidden return; case 52: #line 174 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.russiatoday); #line default #line hidden return; case 53: #line 177 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.russiatodaydoc); #line default #line hidden return; case 54: #line 180 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rtg); #line default #line hidden return; case 55: #line 183 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setsd); #line default #line hidden return; case 56: #line 186 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.sonyscifi); #line default #line hidden return; case 57: #line 189 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tiji); #line default #line hidden return; case 58: #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tlc); #line default #line hidden return; case 59: #line 195 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tlchd); #line default #line hidden return; case 60: #line 198 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.traveladventure); #line default #line hidden return; case 61: #line 201 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.eurokino); #line default #line hidden return; case 62: #line 204 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tvxxi); #line default #line hidden return; case 63: #line 207 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000); #line default #line hidden return; case 64: #line 210 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000action); #line default #line hidden return; case 65: #line 213 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000ruskino); #line default #line hidden return; case 66: #line 216 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mtv80s); #line default #line hidden return; case 67: #line 219 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatexplore); #line default #line hidden return; case 68: #line 222 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasathistory); #line default #line hidden return; case 69: #line 225 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatnature); #line default #line hidden return; case 70: #line 228 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.viasatsporthd); #line default #line hidden return; case 71: #line 231 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000comedy); #line default #line hidden return; case 72: #line 234 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000megahit); #line default #line hidden return; case 73: #line 237 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000premiere); #line default #line hidden return; case 74: #line 240 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.tv1000serial); #line default #line hidden return; case 75: #line 243 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.zoopark); #line default #line hidden return; case 76: #line 246 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.auto24); #line default #line hidden return; case 77: #line 249 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.autoplus); #line default #line hidden return; case 78: #line 252 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bash24); #line default #line hidden return; case 79: #line 255 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.boxtv); #line default #line hidden return; case 80: #line 258 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.muzkoi); #line default #line hidden return; case 81: #line 261 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.vremya); #line default #line hidden return; case 82: #line 264 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.vsyaufa); #line default #line hidden return; case 83: #line 267 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.unikum); #line default #line hidden return; case 84: #line 270 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.detmir); #line default #line hidden return; case 85: #line 273 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dialogioribalke); #line default #line hidden return; case 86: #line 276 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.domkino); #line default #line hidden return; case 87: #line 279 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.domasnii); #line default #line hidden return; case 88: #line 282 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.don24); #line default #line hidden return; case 89: #line 285 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.evpatoriatv); #line default #line hidden return; case 90: #line 288 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ege); #line default #line hidden return; case 91: #line 291 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jivayaplaneta); #line default #line hidden return; case 92: #line 294 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jivi); #line default #line hidden return; case 93: #line 297 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.zagorodlive); #line default #line hidden return; case 94: #line 300 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.zvezda); #line default #line hidden return; case 95: #line 303 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.yamalregion); #line default #line hidden return; case 96: #line 306 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.zootv); #line default #line hidden return; case 97: #line 309 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rusillussion); #line default #line hidden return; case 98: #line 312 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.illussionplus); #line default #line hidden return; case 99: #line 315 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.inndiiskoekino); #line default #line hidden return; case 100: #line 318 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.june); #line default #line hidden return; case 101: #line 321 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kaleidoscopetv); #line default #line hidden return; case 102: #line 324 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.karusel); #line default #line hidden return; case 103: #line 327 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.karusel); #line default #line hidden return; case 104: #line 330 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kinocomedy); #line default #line hidden return; case 105: #line 333 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kinomix); #line default #line hidden return; case 106: #line 336 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.classickino); #line default #line hidden return; case 107: #line 339 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.controlzakup); #line default #line hidden return; case 108: #line 342 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kriktv); #line default #line hidden return; case 109: #line 345 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.krym24); #line default #line hidden return; case 110: #line 348 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kubal24orbita); #line default #line hidden return; case 111: #line 351 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.kithentv); #line default #line hidden return; case 112: #line 354 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.khl); #line default #line hidden return; case 113: #line 357 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.khlhd); #line default #line hidden return; case 114: #line 360 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ldprtv); #line default #line hidden return; case 115: #line 363 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.lubimoekino); #line default #line hidden return; case 116: #line 366 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.laminor); #line default #line hidden return; case 117: #line 369 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mama); #line default #line hidden return; case 118: #line 372 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.match); #line default #line hidden return; case 119: #line 375 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchhd); #line default #line hidden return; case 120: #line 378 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matcharena); #line default #line hidden return; case 121: #line 381 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matcharenahd); #line default #line hidden return; case 122: #line 384 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchboew); #line default #line hidden return; case 123: #line 387 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchigra); #line default #line hidden return; case 124: #line 390 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchnashsport); #line default #line hidden return; case 125: #line 393 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchfootball1); #line default #line hidden return; case 126: #line 396 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchfootball2); #line default #line hidden return; case 127: #line 399 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matchfootball3); #line default #line hidden return; case 128: #line 402 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mir); #line default #line hidden return; case 129: #line 405 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mir24); #line default #line hidden return; case 130: #line 408 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mirseriala); #line default #line hidden return; case 131: #line 411 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.moscow24); #line default #line hidden return; case 132: #line 414 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.myplannet); #line default #line hidden return; } this._contentLoaded = true; }
private void _VLCcontrol_OnEndReached(VlcControl sender, VlcEventArgs<EventArgs> e) { this._viewModel.Next(); }
private void VlcControlOnTimeChanged(VlcControl sender, VlcEventArgs<TimeSpan> e) { var duration = myVlcControl.Media.Duration; Action action = () => { textBlock.Text = string.Format( "{0:00}:{1:00}:{2:00} / {3:00}:{4:00}:{5:00}", e.Data.Hours, e.Data.Minutes, e.Data.Seconds, duration.Hours, duration.Minutes, duration.Seconds); }; this.Dispatcher.Invoke(action); }
/// <summary> /// Called by the <see cref="VlcControl"/> when the media position changed during playback. /// </summary> /// <param name="sender">Event sennding control. </param> /// <param name="e">VLC event arguments. </param> private void VlcControlOnPositionChanged(VlcControl sender, VlcEventArgs<float> e) { if (positionChanging) { // User is currently changing the position using the slider, so do not update. return; } Action action = () => { sliderPosition.Value = e.Data; }; this.Dispatcher.Invoke(action); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.consoleOutput = ((System.Windows.Controls.RichTextBox)(target)); return; case 3: this.sciChartSurface = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 4: this.XWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 5: this.YWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 6: this.ZWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 7: this.sciChartSurface1 = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 8: this.XDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 9: this.YDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 10: this.ZDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 11: this.PositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target)); return; case 12: this.sciChartSurface2 = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 13: this.XWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 14: this.YWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 15: this.ZWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 16: this.sciChartSurface3 = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 17: this.XDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 18: this.YDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 19: this.ZDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 20: this.RealSensePositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target)); return; case 21: this.sciRealSenseVel = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 22: this.XRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 23: this.YRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 24: this.ZRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 25: this.myGrid = ((System.Windows.Controls.Grid)(target)); return; case 26: this.optiflowCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 27: this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target)); return; case 28: this.CombPositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target)); return; case 29: this.sciCombVel = ((SciChart.Charting.Visuals.SciChartSurface)(target)); return; case 30: this.XCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 31: this.YCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 32: this.ZCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target)); return; case 33: this.myCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 34: this.arrow = ((System.Windows.Shapes.Polygon)(target)); return; case 35: this.camDirectionCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 36: this.CamArrow = ((System.Windows.Shapes.Polygon)(target)); return; case 37: this.camRotationCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 38: this.CamSpin = ((System.Windows.Shapes.Polygon)(target)); return; } this._contentLoaded = true; }
private void myVlcControl_Stopped(VlcControl sender, VlcEventArgs<EventArgs> e) { topImage.Animation_Opacity_View_Frame(true); }
/// <summary> /// Initializes a new instance of the <see cref="YoutubeAudioPlayer"/> class. /// </summary> public YoutubeAudioPlayer() { if (Environment.Is64BitOperatingSystem) { VlcContext.LibVlcDllsPath = CommonStrings.LIBVLC_DLLS_PATH_DEFAULT_VALUE_AMD64; VlcContext.LibVlcPluginsPath = CommonStrings.PLUGINS_PATH_DEFAULT_VALUE_AMD64; } else { VlcContext.LibVlcDllsPath = CommonStrings.LIBVLC_DLLS_PATH_DEFAULT_VALUE_X86; VlcContext.LibVlcPluginsPath = CommonStrings.PLUGINS_PATH_DEFAULT_VALUE_X86; } VlcContext.StartupOptions.IgnoreConfig = true; VlcContext.Initialize(); this.player = new VlcControl(); this.player.TimeChanged += (sender, e) => this.CheckSongFinished(); }