//TODO:待完善 /// <summary> /// 右键表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void table_Click(object sender, EventArgs e) { if (Legend.SelectedLayer != -1) { AttributesForm attributesForm = new AttributesForm(axMap1, Legend, Legend.SelectedLayer); attributesForm.Show(); } }
private void btnAttributesReport_Click(object sender, EventArgs e) { if (displayViaReport) { DynamicAttributesReport displayAtrributes = new DynamicAttributesReport(m_map, displaySelectedFeatures); displayAtrributes.Show(this as System.Windows.Forms.IWin32Window); } else { AttributesForm displayAtrributes = new AttributesForm(m_map, displaySelectedFeatures); displayAtrributes.Show(this as System.Windows.Forms.IWin32Window); } }