private void MainForm_LoadingVideo(object sender, Forms.EventHandlers.LoadingVideoEventArgs e) { getChatLogLinesListTokenSource.Cancel(); getChatLogLinesListTokenSource = new CancellationTokenSource(); chatLogLines = null; ClearChatBox(); ShowChatLoadingDisplay(); }
private void OnLoadingVideo(object sender, Forms.EventHandlers.LoadingVideoEventArgs e) { LoadingVideo?.Invoke(this, e); }
private void BroadcastLoadingVideoEvent(Video.VideoFile video) { Forms.EventHandlers.LoadingVideoEventArgs e = new Forms.EventHandlers.LoadingVideoEventArgs(); e.Video = video; OnLoadingVideo(this, e); }