public bool ExportToFile(string fileName)
{
try
{
System.IO.File.Copy(this.FileName, fileName, true);
return true;
}
catch (System.IO.IOException ex)
{
string s = string.Format(Translator.Instance.T("导出录像[{0}]失败."), this.Title);
MessageBox.Show(s + "\n" + ex.Message, MotionPreference.Instance.MessageBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
}