private void ShowIdentifyDialog() { //新建属性查询对象 identifyDialog = IdentifyDialog.CreateInstance(axMapControl1); identifyDialog.Owner = this; identifyDialog.Show(); }
/// <summary> /// 获取属性查询对象 /// </summary> /// <param name="IdentifyMapWindow"></param> /// <returns></returns> public static IdentifyDialog CreateInstance(AxMapControl IdentifyMap) { IdentifyDialog identifyInstance = Nested.GetInstance; identifyInstance.ImportReference(IdentifyMap); return(identifyInstance); }