// 输出视频结束 private void AxRenderControl_RcVideoExportEnd(object sender, _IRenderControlEvents_RcVideoExportEndEvent e) { if (e.isAborted) { XtraMessageBox.Show("输出取消!", "提示"); this._dlg.Close(); this.UnAdviseEvent(); return; } if (this._groupNodeToPlay == null) { this.time = e.time; this.time /= 1000.0; this.time = System.Math.Round(this.time, 2); XtraMessageBox.Show("输出完成,用时" + this.time + "秒。", "提示"); this._dlg.Close(); this.UnAdviseEvent(); return; } this._dlg.Close(); this.time += e.time; this.time /= 1000.0; this._groupNodeToPlay.RemoveAt(0); if (this._groupNodeToPlay.Count > 0) { TreeListNode treeListNode = this._groupNodeToPlay[0] as TreeListNode; ICameraTour cameraTour = treeListNode.GetValue("tl_Object") as ICameraTour; this._vindex++; cameraTour.ExportVideo(this._fileName + "_" + this._vindex.ToString() + this._fileType, this._fps); this._treelist.SetFocusedNode(treeListNode); return; } if (this._groupNodeToPlay.Count == 0) { this._treelist.SetFocusedNode(this._lastNodeInGroup); this.time = System.Math.Round(this.time, 2); XtraMessageBox.Show("输出完成,用时" + this.time + "秒。", "提示"); this._dlg.Close(); this.UnAdviseEvent(); } }
// 输出视频结束 private void _axRenderControl_RcVideoExportEnd(object sender, _IRenderControlEvents_RcVideoExportEndEvent e) { throw new NotImplementedException(); }