Esempio n. 1
0
        public ScheduleModule()
        {
            InitializeComponent();

            InitializeActions();
            manager = new TaskManager();
            manager.OnTaskStatusChanged += TaskStatusChanged;

            // add controllers
            manager.TaskControllers.Add(new PowerTaskController(manager, this));
            HideDetailsPanel();
            LoadTasks();
        }
 public PowerTaskController(TaskManager parent, Control baseControl)
     : this()
 {
     _parent = parent;
     BaseControl = baseControl;
 }
 public PowerTaskController(TaskManager parent)
     : this()
 {
     _parent = parent;
 }