public void CreateActor()
        {
            IGuiActorView actorView = GuiFactory.CreateActorView(window);

            if (actorView.ShowDialog() == (int)Gtk.ResponseType.Ok)
            {
                Actor newActor = (Actor)TaskManager.CreateActor();
                if (newActor == null)
                {
                    return;
                }
                newActor.Name  = actorView.ActorName;
                newActor.Email = actorView.ActorEmail;
                newActor.Save();
                Tracker.ActorSource = TaskManager.ActorSource;
                Tracker.BindActor();
                if (autosave)
                {
                    SaveProject();
                }
            }
        }
        public void EditActor(int actorID)
        {
            Actor actor = (Actor)TaskManager.GetActor(actorID);

            if (actor == null)
            {
                return;
            }
            IGuiActorView actorView = GuiFactory.CreateActorView(window, TaskManager, actor);

            if (actorView.ShowDialog() == (int)Gtk.ResponseType.Ok)
            {
                actor.Name  = actorView.ActorName;
                actor.Email = actorView.ActorEmail;
                actor.Save();
                Tracker.ActorSource = TaskManager.ActorSource;
                Tracker.BindActor();
                if (autosave)
                {
                    SaveProject();
                }
            }
        }