WinForm IN ActivityDesigner

Hey

I want to draw a winform IN the designer. Not as, when i click it opens, but directly in the Activity surface. Is this possible?

I can draw my own activities with a IDesigner class. But how should i draw the form? In OnPaint in the ActivityDesigner class? If yes...how?

Just need some directions ... possible/not possible.

[Does this question need clarification?]

Thanks in regards!

Anders Jacobsen

[489 byte] By [anderskj1] at [2007-12-24]
# 1

Hi,

I don't think that is possible. Why do you want to do that? Is there any alternate solution to your problem?

Thanks, Maggie

MaggieYing-MSFT at 2007-10-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2

My (far out) idea was to try an experiment were i could control the visual looks (button enabled/disbaled, list filling, etc). directly in a workflow. Now i got this to work by drawing a image of the form i am controlling and when i change a property on the form (in the property window) i redraw the image on the activity.

My initial idea was to show a live preview of the form, but choose later just to draw an image. It is a radical approch to a gui controller :). But it works.

anderskj1 at 2007-10-8 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified