wpf - How can I Host the WorkflowDesigner of WorkflowFoundation 4 in a Winforms application? -


i don't have explanation tittle himself, lol.

but, want load de workflowdesigner on winform elementhost control.

i try doing this: host workflowdesigner in wpf application, doesn't work.

thanks!

solved!

private void form1_load(object sender, eventargs e) {     new designermetadata().register(); //missing line      des = new workflowdesigner();     des.load(mfilename);     elementhost1.child = des.view; } 

only needed add missing line "new designermetadata().register();"

note: elementhost1 winform elementhost control, direct toolbox! ;)


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -