private void requestNewCaption(string _captionKey, bool _queue) { if (initiateNewCaption != null) { InitiateCaptionsEventArgs capArgs = new InitiateCaptionsEventArgs(_captionKey, _queue); initiateNewCaption(this, capArgs); } }
/// <summary> /// All main sections dispatch to this requesting new captions. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void handleNewCaptionVORequest(object sender, InitiateCaptionsEventArgs e) { if (captionMaster != null) { captionMaster.loadNewCaptions(e.targetStateToInitiate, e.queueCaption); } }