Inheritance: ATMLCommonLibrary.forms.ATMLDocumentBaseForm, IATMLReaderConsumer
Beispiel #1
0
        public ATMLReaderToolWindow(IReaderNavigator navigator)
        {
            InitializeComponent();
            _navigator          = navigator;
            _readerOutputWindow = new ATMLReaderOutputWindow();
            _configurationForm  = new TestConfigurationForm();

            readerFrameControl.ParseDocument      += ReaderFrameParseDocument;
            readerFrameControl.OpenReaderDocument += ReaderFrameOpenReaderDocument;

            _configurationForm.TestConfigurationSaved += _configurationForm_TestConfigurationSaved;
            _navigator.SelectATMLTestConfiguration    += _navigator_SelectATMLTestConfiguration;
            _navigator.SelectReaderDocument           += _navigator_SelectReaderDocument;
            _readerOutputWindow.DocumentSaved         += _readerOutputWindow_DocumentSaved;

            _configurationForm.AtmlObjectAction += _configurationForm_AtmlObjectAction;

            //_configurationForm.AtmlUutAction += new AtmlActionDeligate<UUTDescription>(_configurationForm_AtmlUutAction);
            //_configurationForm.AtmlTestConfigurationAction += new AtmlActionDeligate<TestConfiguration15>(_configurationForm_AtmlTestConfigurationAction);
        }
        public ATMLReaderToolWindow( IReaderNavigator navigator )
        {
            InitializeComponent();
            _navigator = navigator;
            _readerOutputWindow = new ATMLReaderOutputWindow();
            _configurationForm = new TestConfigurationForm();

            readerFrameControl.ParseDocument += ReaderFrameParseDocument;
            readerFrameControl.OpenReaderDocument += ReaderFrameOpenReaderDocument;

            _configurationForm.TestConfigurationSaved += _configurationForm_TestConfigurationSaved;
            _navigator.SelectATMLTestConfiguration += _navigator_SelectATMLTestConfiguration;
            _navigator.SelectReaderDocument += _navigator_SelectReaderDocument;
            _readerOutputWindow.DocumentSaved += _readerOutputWindow_DocumentSaved;

            _configurationForm.AtmlObjectAction += _configurationForm_AtmlObjectAction;

            //_configurationForm.AtmlUutAction += new AtmlActionDeligate<UUTDescription>(_configurationForm_AtmlUutAction);
            //_configurationForm.AtmlTestConfigurationAction += new AtmlActionDeligate<TestConfiguration15>(_configurationForm_AtmlTestConfigurationAction);
        }