Beispiel #1
0
        protected virtual void OnProjectOpened(string testProgramSetName)
        {
            _uutWatcher = new UutWatcher();
            ATMLContext.CurrentProjectName = testProgramSetName;
            ProjectOpenDelegate handler = ProjectOpened;

            if (handler != null)
            {
                handler(testProgramSetName);
            }
        }
Beispiel #2
0
        protected virtual void OnProjectClosed()
        {
            ProjectDelegate handler = ProjectClosed;

            if (handler != null)
            {
                handler();
            }
            if (_uutWatcher != null)
            {
                _uutWatcher.Close();
            }
            ATMLContext.CurrentProjectName = null;
            _uutWatcher = null;
        }