Profile Picture

Using a Winforms control as a shape ?

Posted By K DR 14 Years Ago
Author
Message
Pavel Vladov
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2
Hi,

You can make use of the Winform Control Hosting feature introduced in Volume 1, 2010 of the diagramming component. Take a look at the Document Object Model -> Shapes -> WinForm Control Hosting example which comes with the diagram.

Best Regards,
Pavel Vladov

K DR
questionmark Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1
Hi,

How complex would it be to have a shape which would be a Winforms Control ? My idea is to use the diagram editor as a designer where one could mix geometrical shapes and also controls like buttons or comboboxes, etc.

Otherwise if it's too complicated, I had the idea to use a "transparent" diagram view but I couldn't manage to let a button which would be behind the diagram editor, to be visible through the document. I'd like to have the diagram designer to behave like an overlay on the rest of the Form designer.

Thanks,



Similar Topics


Reading This Topic