src/FingersDance.ActionFactory/ActionFactory.cs
author cavaliet
Tue, 13 Oct 2009 10:43:39 +0200
changeset 140 fc7c12f9da30
parent 135 84b3bf5ee3d2
child 156 e16c8c913c65
permissions -rw-r--r--
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FingersDance.ActionFactory
{
    public class ActionFactory
    {
        private static ActionGenerator _Factory;

        public ActionFactory()
        { }

        public ActionGenerator GetGenerator()
        {
            if (_Factory == null)
            {
                _Factory = new ActionGenerator();
            }
            return _Factory;
        }
    }
}