Remote Desktop Manager - AddOn development forum
9/29/2010 12:07:34 AM
 Sjoerd van den Berg Posts: 150
|
Hi,
I build a new AddOn for Proxy Networks' Proxy Host sessions. Is there an example available how to setup a custom AddOn using the CreateEmbeddedFrame method?
Cheers!
Sjoerd
-- Cheers!
Sjoerd (twitter.com/chanlerone)
|
|
0
• permalink
|
9/29/2010 5:03:52 AM
 David Hervieux Administrator Posts: 4248
|
Hi, I don't have an example on the web site, but it's simple. You must ensure to override the property SupportEmbedded:
public override bool SupportEmbedded { get { return true; } }
And return a UserControl (like it's done for the configuration editor).
public override IEmbeddedSessionUserControl CreateEmbeddedFrame(string parameters) { return new MyUserControl(); }
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/30/2010 6:36:15 AM
 Sjoerd van den Berg Posts: 150
|
Thanks,
I will give it a shot!
Cheers!
-- Cheers!
Sjoerd (twitter.com/chanlerone)
|
|
0
• permalink
|
2/13/2012 3:31:07 AM
 wraith Posts: 3
|
Hi,
i'm trying to do the same. I've overrided the property SupportEmbedded and created an User Control, and declared the methods Setup, Connect and close, although i don't know what to do with them. I've just started to work with C# last week so i'm a bit lost. When I try to open a tabbed instance of my application RDM crashes because i'm not creating a connection properly. If anyone could post an example of how to create an embedded session it would be very helpfull.
Thanks.
|
|
0
• permalink
|
3/21/2012 4:53:53 PM
 David Hervieux Administrator Posts: 4248
|
Sorry for the delay, I completely missed you post. Have you found the solution?
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|