private void eventProcess(Event e)
        {
            switch (e.type)
            {
            case EventType.ContextClick:
                if (rect.Contains(e.mousePosition))
                {
                    IsContextClick = true;
                    e.Use();
                }
                else
                {
                    IsContextClick = false;
                }
                break;

            default:
                var obj = FileUtility.GetDraggedObject(e, rect);
                if (obj != null)
                {
                    UndoHelper.EditorMemoUndo(UndoHelper.UNDO_MEMO_EDIT);
                    ObjectRef = new UnityEditorMemoObject();
                    ObjectRef.SetReference(obj);
                    e.Use();
                }
                IsContextClick = false;
                break;
            }
        }
 public UnityEditorMemo(string memo, int type, int tex)
 {
     Date      = DateTime.Now.RenderDate();
     Memo      = memo;
     Label     = ( UnityEditorMemoLabel )type;
     Tex       = ( UnityEditorMemoTexture )tex;
     ObjectRef = new UnityEditorMemoObject();
 }