public frmMaxCadastraQuery(IFeatureClass JFFeatureClass, IFeatureClass ZDFeatureClass, AxMapControl pMapControl, IWorkspace pWorkspace) { InitializeComponent(); CommnClass.m_JFFeatureClass = JFFeatureClass; CommnClass.m_ZDFeatureClass = ZDFeatureClass; CommnClass.m_cmbBoxCountry = ""; CommnClass.m_cmbBoxVillage = ""; CommnClass.m_cmbBoxNeighbour = ""; CommnClass.m_JFLike = "%"; CommnClass.m_ZDLike = "%"; CommnClass.m_Workspace = pWorkspace; m_MapControl = pMapControl; CommnClass.m_ZDLike = CommnClass.GetDescriptionOfWorkspace((ZDFeatureClass as IDataset).Workspace); CommnClass.m_JFLike = CommnClass.GetDescriptionOfWorkspace((JFFeatureClass as IDataset).Workspace); CommnClass.SetcmbBoxCountryVale(cmbBoxCountry); //wgf 20111014 从数据中获取修改为从行政区字典中获取 //?/???? }
public frmMaxCadastraQuery(IFeatureClass ZDFeatureClass, string LinBanCodeField, string XzqField, AxMapControl pMapControl, IWorkspace pWorkspace) { InitializeComponent(); _LinBanCodeFieldName = LinBanCodeField; _XzqFieldName = XzqField; CommnClass._DJHFieldName = LinBanCodeField; CommnClass._JFDMFieldName = XzqField; CommnClass._JFMCFieldName = XzqField; CommnClass.m_JFFeatureClass = null; CommnClass.m_ZDFeatureClass = ZDFeatureClass; CommnClass.m_cmbBoxCountry = ""; CommnClass.m_cmbBoxVillage = ""; CommnClass.m_cmbBoxNeighbour = ""; CommnClass.m_JFLike = "%"; CommnClass.m_ZDLike = "%"; CommnClass.m_Workspace = pWorkspace; m_MapControl = pMapControl; CommnClass.m_ZDLike = CommnClass.GetDescriptionOfWorkspace((ZDFeatureClass as IDataset).Workspace); //CommnClass.m_JFLike = CommnClass.GetDescriptionOfWorkspace((JFFeatureClass as IDataset).Workspace); CommnClass.SetcmbBoxCountryVale(cmbBoxCountry); //wgf 20111014 从数据中获取修改为从行政区字典中获取 //?/???? }