/// <summary> /// Calls the <see cref="Graphmatic.Interaction.Document.NotifyResourceModified"/> method on the /// currently opened document, with <paramref name="resource"/> as the parameter. This notifies /// the rest of the resource in the document that <paramref name="resource"/> has been modified, such /// that any <see cref="Graphmatic.Interaction.Page"/>s can have their <see cref="Graphmatic.Interaction.Plotting.Graph"/> /// classes updated and redrawn to reflect any changes in the resource (such as changing the value of an equation). /// </summary> /// <param name="resource"></param> private void NotifyResourceModified(Resource resource) { CurrentDocument.NotifyResourceModified(resource); DocumentModified = true; }