Inheritance: System.Windows.Forms.Form
        public SQLForm(string mapUrl, string mapName, MapControl mapControl)
        {
            InitializeComponent();
            this._mapName = mapName;
            this._mapUrl = mapUrl;

            _map = new Map(_mapUrl);
            defaultMapParameter = _map.GetDefaultMapParameter(mapName);
            _mapControl = mapControl;
            publicResultForm = new PublicResultForm();
            publicResultForm.Name = "QueryBySql";
            publicResultForm.Text = "SQL查询结果";
            publicResultForm.MapControl = mapControl;
            InitializeSQL();
        }
 public QueryByRectAction(Form mainForm)
 {
     _resultForm = new PublicResultForm();
     _resultForm.Name = "QueryByRect";
     _resultForm.Text = "拉框查询结果";
     _resultForm.ShowInTaskbar = false;
     _resultForm.Owner = mainForm;
 }
 public QueryByPolygonAction(Form mainForm)
 {
     _resultForm = new PublicResultForm();
     _resultForm.Name = "QueryByPolygon";
     _resultForm.Text = "多边形查询结果";
     _resultForm.ShowInTaskbar = false;
     _resultForm.Owner = mainForm;
 }