コード例 #1
0
 void map_Load(object sender, EventArgs e)
 {
     if (_simpleMapControl == null)
     {
         return;
     }
     _aoiHost     = _simpleMapControl.CreateObjectHost("AOI");
     _curFileHost = _simpleMapControl.CreateObjectHost("CurFile");
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }