void map_Load(object sender, EventArgs e) { if (_simpleMapControl == null) { return; } _aoiHost = _simpleMapControl.CreateObjectHost("AOI"); _curFileHost = _simpleMapControl.CreateObjectHost("CurFile"); }
void map_Load(object sender, EventArgs e) { if (_simpleMapControl == null) { return; } _aoiHost = _simpleMapControl.CreateObjectHost("AOI"); _curFileHost = _simpleMapControl.CreateObjectHost("CurFile"); _aoiObj = new SimpleVectorObject("AOI", null); _aoiHost.Add(_aoiObj); }
void map_Load(object sender, EventArgs e) { if (_simpleMapControl == null) { return; } _blockHost = _simpleMapControl.CreateObjectHost("Block"); _blockHost.LabelSetting.ForeColor = _fontColor; _blockHost.LabelSetting.MasLabelRuler = CodeCell.AgileMap.Core.masLabelPosition.Center; ((CodeCell.AgileMap.Core.FillSymbol)(_blockHost.Symbol)).OutlineSymbol.Color = Color.Red; LoadFilter(); InitDataMonitor(false); }