NodeSelected in diagram
Dear, good afternoon
I'm testing the control diagram visual basic .net 2013 but willing
add a subprocedure in nodeselectd get error
that same example elaborated in c # and if you can
my query is that in Visual Basic .NET 2013 can not do
but the attached example Visual Basic .NET 2013
Attachment: Incidentnode_selected1842278934_a523eb9b.zip
Thanks for contacting Syncfusion support.
The sample attached by you belongs to Visual Studio 2008 containing .net framework version 3.5. We have modified the attached sample in Visual Studio 2013 with .net framework version 4.5.1. Please verify the attached sample in your side and let us know whether the reported error reproduced or not. Please refer to the below sample.
Sample:
Sample
If the issue reproduced in the sample which is attached by us, please provide us more information about your actual requirement and screen shot of the reported error or video which will help us to analyze further and provide a better solution.
Regards,
Naganathan K G
From: Tony Ponce
Sent: Tuesday, March 15, 2016 10:38 AM
To: Syncfusion Support <[email protected]>
Subject: RE: Syncfusion support community forum 123399, NodeSelected in diagram , has been updated.
Dear Support Syncfusion
attachment with application of what is required
Regards,
Tony Ponce
Thanks for your update.
Please use AddHandler/RemoveHandler for adding and removing the event while creating the project in VB.Net. Also use “AddressOf” Name syntax for passed the specification of an object method. Please refer to the below code example, sample and online link for your references.
Code example:
[C#]
'registering the event using AddHandler
AddHandler diagram1.EventSink.NodeSelected, AddressOf EventSink_NodeSelected
Sample:
Sample
Online Link for creating event in VB.Net application:
http://www.codeproject.com/Articles/229122/Add-Custom-Event-To-A-Class-in-VB-Net
https://msdn.microsoft.com/en-us/library/6yyk8z93(v=vs.90).aspx
https://msdn.microsoft.com/en-us/library/74wy9422(v=vs.90).aspx
Regards,
Naganathan K G
- 5 Replies
- 3 Participants
-
TO tony
- Mar 14, 2016 11:14 PM UTC
- Mar 16, 2016 02:04 PM UTC