private void menuAttributeQuery_Click(object sender, EventArgs e) { //初始化属性查询窗口 AttributeQueryForm attributeQueryForm = new AttributeQueryForm(this.axMapControl1); attributeQueryForm.Show(); }
private void 查询图形ToolStripMenuItem_Click(object sender, EventArgs e) { if (this.mapViewer1.MainMapControl.LayerCount == 0) { return; } var form = new AttributeQueryForm(); form.LoadQueryInfo(this.mapViewer1.MainMapControl.GetLayers().Select(v => v as ITable)); form.Show(this); }
/// <summary> /// 打开属性查询窗口 /// </summary> private void menuAttributeQuery_Click(object sender, EventArgs e) { AttributeQueryForm frmattributequery = new AttributeQueryForm(this.axMapControl1); frmattributequery.Show(); }