We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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

5 Replies

NG Naganathan Ganesh Babu Syncfusion Team March 15, 2016 12:26 PM UTC

Hi Tony,
 
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



RJ Ramya Jayapandi Syncfusion Team March 16, 2016 05:32 AM UTC

From: Tony Ponce

Sent: Tuesday, March 15, 2016 10:38 AM
To: Syncfusion Support <support@syncfusion.com>
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


 




RJ Ramya Jayapandi Syncfusion Team March 16, 2016 06:37 AM UTC



RJ Ramya Jayapandi Syncfusion Team March 16, 2016 11:44 AM UTC



NG Naganathan Ganesh Babu Syncfusion Team March 16, 2016 02:04 PM UTC

Hi Tony,
 
Thanks for your update.
 
Please use AddHandler/RemoveHandler for adding and removing the event while creating the project in VB.Net. Also use “AddressOfName 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


Loader.
Live Chat Icon For mobile
Up arrow icon