Message 1 of 3
lock document always?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If I am writing a library of tools to draw things, that library may be used from modal or modeless forms.
I would not want to put the document locking in the library, or would I?
Should I just be safe and always lock the document before drawing something?
Should I add a "running from modeless" param to every function to allow locking?
Its tricky because if I don't put in library, the tools that call the library must know when to lock.
Its obvious sometimes, but not always. Any advice on structuring this?
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties