Exemplo n.º 1
0
    protected void EventMeauCopyClip(object param)
    {
        EditorClipMaker editorMaker = param as EditorClipMaker;

        editorMaker.BeginChange();
        editorMaker.ListClip.Add(this.Clone());
        editorMaker.EndChange();
    }
Exemplo n.º 2
0
    protected void EventMeauDeleteClip(object param)
    {
        EditorClipMaker editorMaker = param as EditorClipMaker;

        editorMaker.BeginChange();
        editorMaker.ListClip.Remove(this);
        editorMaker.EndChange();
    }
Exemplo n.º 3
0
    //	上移
    private void MeauEventMoveUpClip(object param)
    {
        EditorClipMaker editorMaker = param as EditorClipMaker;

        editorMaker.BeginChange();
        int idx = editorMaker.ListClip.IndexOf(this);

        switchListItem(editorMaker.ListClip, idx, idx - 1);
        editorMaker.EndChange();
    }