private UpdateInitialParameters ( Document doc ) : void | ||
doc | Document | |
return | void |
private void RegisterSectionUpdaterOnOpen(object source, DocumentOpenedEventArgs args) { if (args.Document.Title.StartsWith("AssociativeSection")) { m_sectionUpdater = new SectionUpdater(m_thisAppId); m_sectionUpdater.Register(args.Document); bool enableSecondUpdate = false; if (enableSecondUpdate) { m_sectionUpdater.UpdateInitialParameters(args.Document); } } args.Document.DocumentClosing += UnregisterSectionUpdaterOnClose; }
private void RegisterSectionUpdaterOnOpen(object source, DocumentOpenedEventArgs args) { if (args.Document.Title.StartsWith("AssociativeSection")) { m_sectionUpdater = new SectionUpdater(m_thisAppId); m_sectionUpdater.Register(args.Document); bool enableSecondUpdate = false; if (enableSecondUpdate) { m_sectionUpdater.UpdateInitialParameters(args.Document); } } args.Document.DocumentClosing += UnregisterSectionUpdaterOnClose; }