Differences

This shows you the differences between the selected revisions of the page.

2012-03-22 2012-03-23
Enable custom error handling comment (martin) your, not our (martin)
Line 20: Line 20:
If you need to make use of these events: If you need to make use of these events:
  * Implement your interactions with WinSCP .NET assembly in a class module;   * Implement your interactions with WinSCP .NET assembly in a class module;
-  * Declare private variable in our class module referring to ''[[library_session|Session]]'' class;+  * Declare private variable in your class module referring to ''[[library_session|Session]]'' class;
  * Use ''[[http://msdn.microsoft.com/en-us/library/gg251653.aspx|WithEvents]]'' keyword, when declaring the private variable;   * Use ''[[http://msdn.microsoft.com/en-us/library/gg251653.aspx|WithEvents]]'' keyword, when declaring the private variable;
  * Define private function (method) with name ''<variablename>_<event>'' and two arguments (e.g. ''sender'' and ''e'') for every event you need to handle.   * Define private function (method) with name ''<variablename>_<event>'' and two arguments (e.g. ''sender'' and ''e'') for every event you need to handle.

Last modified: by martin