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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -