static void FileTool_OnSaved(object sender, FileActionEventArgs e) { if (FileSaved != null) { FileSaved(sender, e); } }
public override void SaveFile() { if (m_rbf.FileExtension == "rbf") SaveFileRBF(m_rbf.FilePath); else if (m_rbf.FileExtension == "attr_pc") SaveFileBAF(m_rbf.FilePath); else return; var e = new FileActionEventArgs(FileActionType.Save, m_rbf); InvokeOnSaved(this, e); HasChanges = false; }
static void FileTool_OnSaved(object sender, FileActionEventArgs e) { if (FileSaved != null) FileSaved(sender, e); }