예제 #1
0
 static void FileTool_OnSaved(object sender, FileActionEventArgs e)
 {
     if (FileSaved != null)
     {
         FileSaved(sender, e);
     }
 }
예제 #2
0
        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;
        }
예제 #3
0
 static void FileTool_OnSaved(object sender, FileActionEventArgs e)
 {
     if (FileSaved != null)
         FileSaved(sender, e);
 }