internal void OnDragEnd(ActionButton btnTar) { CInputSystem.Instance.InputCapture = InputCapture.ICS_NONE; CursorMng.Instance.LeaveUICursor(); CursorMng.Instance.SetCursor(ENUM_CURSOR_TYPE.CURSOR_NORMAL); if (IsDragging()) { // 跳过拖拽到自己身上 [4/12/2012 Ivan] if (btnTar != actionStarter) { bool beDestroy = btnTar == null; if (actionStarter.CurrActionItem != null) { actionStarter.CurrActionItem.NotifyDragDropDragged(beDestroy, !beDestroy ? btnTar.Name() : "", actionStarter.Name()); } } } actionStarter = null; }