protected virtual void OnProjectOpened(string testProgramSetName) { _uutWatcher = new UutWatcher(); ATMLContext.CurrentProjectName = testProgramSetName; ProjectOpenDelegate handler = ProjectOpened; if (handler != null) { handler(testProgramSetName); } }
protected virtual void OnProjectClosed() { ProjectDelegate handler = ProjectClosed; if (handler != null) { handler(); } if (_uutWatcher != null) { _uutWatcher.Close(); } ATMLContext.CurrentProjectName = null; _uutWatcher = null; }