Share

Netron Reloaded

Tracker: Bugs

5 Connection Not Addable - ID: 1604766
Last Update: Comment added ( jflin5 )

Several things in here.

To See issue:
Run the Form

2 buttons on top, the one the right doesn't work, the one on the left does
link the controls

Bunch of things here:
1. Should be able to link through the shapes directly by creating a new
connection
No ability to add the connection to the diagram, though.


Note that there ARE changes from the downloaded code include here! In
particular:
Now can go through all the shapes in the sample app w/:

Netron.NetronLight.ClassShape zRetVal = null;
#region Search for existing shape, see if order already there
foreach (object obj in
diagramControl1.Controller.Model.Shapes)
{
// Cast to the type we need to check against
ClassShape objCheck = obj as ClassShape;
if (objCheck != null)
{
// Have the correct type of control
if (objCheck.Name.Equals(strUniqueValue))
{
// Name matches, so have it
zRetVal = objCheck;
}
}
}
#endregion


Can also link the shapes through a simulated click action, see button on
left for that code.


Jim ( jflin5 ) - 2006-11-28 20:01

5

Open

None

Nobody/Anonymous

Interface (example)

None

Public


Comment ( 1 )




Date: 2006-12-06 18:49
Sender: jflin5


Note Patch 1610306
(http://sourceforge.net/tracker/index.php?func=detail&aid=1610306&group_id=169882&atid=852132)

fixes this, among other issues as stated in that patch


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.