Connecting event handlers by hand (wodSFTP / wodSFTP.NET / wodSFTPdll)
I have switched from the ActiveX SFTP component to the COM. Since I am no longer using a form, I need to connect the vent handlers back up by hand. The following code worked under the ActiceX comp but does not work for the COM. Can I be shown what I need to send in when reconnecting these?
this.axwodSFTP1.Connected += new wodSFTPLib._IwodSFTPEvents_ConnectedEventHandler(this.axwodSFTP1_Connected);
this.axwodSFTP1.Disconnected += new System.EventHandler(this.axwodSFTP1_Disconnected);
this.axwodSFTP1.Done += new wodSFTPLib._IwodSFTPEvents_DoneEventHandler(this.axwodSFTP1_Done);
this.axwodSFTP1.AttributesData += new wodSFTPLib._IwodSFTPEvents_AttributesDataEventHandler(this.axwodSFTP1_AttributesData);
this.axwodSFTP1.Progress += new wodSFTPLib._IwodSFTPEvents_ProgressEventHandler(this.axwodSFTP1_Progress);
this.axwodSFTP1.ListItems += new wodSFTPLib._IwodSFTPEvents_ListItemsEventHandler(this.axwodSFTP1_ListItems);
Thanks in advance.
sucrerey
Complete thread:
- Connecting event handlers by hand - sucrerey, 2005-01-20, 21:22
- Re: Connecting event handlers by hand - wodSupport, 2005-01-20, 21:27
- Re: Connecting event handlers by hand - sucrerey, 2005-01-20, 21:50
- Re: Connecting event handlers by hand - wodSupport, 2005-01-20, 21:27