You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							44 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
	
	
							44 lines
						
					
					
						
							1.1 KiB
						
					
					
				using ESRI.ArcGIS.Controls; | 
						|
using KGIS.Framework.Maps; | 
						|
using Kingo.Plugin.MapView.Views.AppMenuView; | 
						|
using System; | 
						|
using System.Collections.Generic; | 
						|
using System.Linq; | 
						|
using System.Text; | 
						|
using System.Threading.Tasks; | 
						|
 | 
						|
namespace Kingo.Plugin.MapView.Commands | 
						|
{ | 
						|
    /// <summary> | 
						|
    /// 工程信息 | 
						|
    /// </summary> | 
						|
    public class CmdProjectInformation : BaseMapMenuCommand | 
						|
    { | 
						|
        public UCProjectInformation uCProjectInformation = null; | 
						|
        public override void OnClick() | 
						|
        { | 
						|
            if (uCProjectInformation == null) | 
						|
            { | 
						|
                uCProjectInformation = new UCProjectInformation(); | 
						|
                uCProjectInformation.Closed += M_View_Closed; | 
						|
            } | 
						|
            uCProjectInformation.ShowInMainWindow(true); | 
						|
        } | 
						|
 | 
						|
        private void M_View_Closed(object sender, EventArgs e) | 
						|
        { | 
						|
            uCProjectInformation = null; | 
						|
        } | 
						|
 | 
						|
        public override void OnCreate(object Hook) | 
						|
        { | 
						|
            if (m_hookHelper == null) | 
						|
            { | 
						|
                m_hookHelper = new HookHelper | 
						|
                { | 
						|
                    Hook = Hook | 
						|
                }; | 
						|
            } | 
						|
        } | 
						|
    } | 
						|
}
 | 
						|
 |