コード例 #1
0
        public override void Run(object sender, EventArgs e)
        {
            FrmCompoundConditionStats dialog = new FrmCompoundConditionStats();

            dialog.SetData(LogicDataStructureManage3D.Instance.RootLogicGroups, LogicDataStructureManage3D.Instance.RootMajorClasses, null);
            dialog.ShowDialog();
        }
コード例 #2
0
 private void OnFinishedDraw()
 {
     if (this._drawTool != null && this._drawTool.GeoType == DrawType.Polygon && this._drawTool.GetGeo() != null)
     {
         try
         {
             WaitForm.Start("正在空间查询...", "请稍后");
             bHaveRes = false;
             RegionAnalysis();
             if (!bHaveRes)
             {
                 WaitForm.Stop();
                 XtraMessageBox.Show("空间查询为空!", "提示");
                 return;
             }
             WaitForm.Stop();
             FrmCompoundConditionStats dialog = new FrmCompoundConditionStats();
             dialog.SetData(resRootLogicGroups, resRootMajorClasses, this._drawTool.GetGeo());
             dialog.ShowDialog();
         }
         catch
         {
             WaitForm.Stop();
         }
     }
 }