Changes between Version 8 and Version 9 of CodeBestPractices


Ignore:
Timestamp:
2011-12-10 13:44:41 (12 years ago)
Author:
jeroens
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodeBestPractices

    v8 v9  
    1111 
    1212When you develop your own plug-ins with a user interface, please try to stick to the following resource guidelines: 
     13 
    1314 * Use resources provided in !ScientificInterfaceShared when possible, 
    1415 * Set the 'localizable' property of any forms that you develop to True. 
     
    1819 
    1920== 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.