Changes between Version 8 and Version 9 of CodeBestPractices
- Timestamp:
- 2011-12-10 13:44:41 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeBestPractices
v8 v9 11 11 12 12 When you develop your own plug-ins with a user interface, please try to stick to the following resource guidelines: 13 13 14 * Use resources provided in !ScientificInterfaceShared when possible, 14 15 * Set the 'localizable' property of any forms that you develop to True. … … 18 19 19 20 == Nasty experiences == 20 * Issue [http://sources.ecopath.org/trac/Ecopath/report/702 #702]: always override Dispose(bDisposing) to clean up controls, do not (smartly) use OnHandleDestroyed. Note that the Visual Studio designer automagically places a Dispose method in its *.designer.vb files which is blocked from debugging. You may want to manually move this method to your main vb file and strip off the tags that prevent the debugger from stepping through the code.21 * Issue [http://sources.ecopath.org/trac/Ecopath/report/702 #702]: always override Dispose(bDisposing) to clean up controls, do not (smartly) use [wiki:OnHandleDestroyed !OnHandleDestroyed]. Note that the Visual Studio designer automagically places a Dispose method in its *.designer.vb files which is blocked from debugging. You may want to manually move this method to your main vb file and strip off the tags that prevent the debugger from stepping through the code.