示例#1
0
 public ProjectModel(TaskRunner runner, OptionsModel options)
 {
     _runner                = runner;
     _options               = options;
     _runner.TaskComplete  += new Action <ITask, Exception>(OnTaskComplete);
     _depFileSystemWatchers = new Dependent(UpdateFileSystemWatchers);
     _updater               = new GuiUpdateHelper(_depFileSystemWatchers);
 }
示例#2
0
        public TestingForm(ProjectVM tree)
        {
            _tree = tree;

            InitializeComponent();

            _tvAdvModel         = new TreeViewAdvModel(tree, _testTreeView);
            _testTreeView.Model = _tvAdvModel;

            _updater = new GuiUpdateHelper(Options_PropertyChanged);
        }