From: Martin C. <mar...@ei...> - 2004-10-12 16:39:57
|
Hi Francois, I've implemented the user defined connection for the GraphControl. I've checked the code into CVS. There is a new function CreateTypedConnection which does all the necessary work. This is called when the user drags a Connection. To get the GraphControl to use a different Connection insert the following code: graphControl1.ConnectionAssembly = "MyAssembly"; graphControl1.ConnectionType = "MyConnection"; Replace "MyAssembly" with the name of the shape library containing the connection. Set "MyConnection" to the name of the Connection class. All comments welcome! Regards, Martin |