/// <summary>
 /// 重载句柄销毁完成事件 销毁窗体对象释放资源
 /// </summary>
 /// <param name="e"></param>
 protected override void OnHandleDestroyed(EventArgs e)
 {
     base.OnHandleDestroyed(e);
     if (_editNativeWindow != null)
     {
         _editNativeWindow.Dispose();
         _editNativeWindow = null;
     }
 }
        /// <summary>
        /// 重载句柄创建完成事件 保存窗体句柄和窗体对象的引用
        /// </summary>
        /// <param name="e"></param>
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);

            _editHandle = GetWindow(Handle, GW_CHILD);
            if (_editHandle != IntPtr.Zero)
            {
                _editNativeWindow = new EditNativeWindow(this);
            }
        }