How to create several MapFrame Legend in control?

Nov 27, 2012 at 10:44 PM
Edited Nov 27, 2012 at 10:49 PM

Hello,
I'm in a situation where I need to create 2 mapframes with their layers in Controls.Legend object.

I use the code below but I can not select a mapframe deferential standard:

 

DotSpatial.Symbology.IFrame symIFrame = new MapFrame();
symIFrame.LegendText = "NAME_FRAME";
appManager.Legend.AddMapFrame(symIFrame); 

 


Someone can tell me how I can create, select and determined mapFrame how I create features in it?

Sincerely,

Marco