/// <summary> /// Update all paths. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Channel_Renamed(object sender, FlowWatcherRenameChannelEventArgs e) { foreach (TTransparentFlow transparentFlow in this.Flows) { transparentFlow.Flow.Channel = e.NewChannel; transparentFlow.Flow.FilenameFullPath = UpdateChannelFilePath(transparentFlow.Flow.FilenameFullPath, e.NewChannel); } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void FlowWatcher_RenameChannel( object sender, FlowWatcherRenameChannelEventArgs e ) { this.RenameChannel( e.OldChannel, e.NewChannel ); }