示例#1
0
        internal ConfigurationEditorWindow(IConfigurationManager configurationManager, LabStateManager serviceInfoManager)
        {
            this.Closed += ConfigurationEditorWindow_Closed;
            _viewModel   = new ConfigurationEditorWindowViewModel(this, configurationManager, serviceInfoManager);

            this.DataContext = _viewModel;

            InitializeComponent();
        }
        internal ConfigurationEditorWindow( IConfigurationManager configurationManager, LabStateManager serviceInfoManager )
        {
            this.Closed += ConfigurationEditorWindow_Closed;
            _viewModel = new ConfigurationEditorWindowViewModel( this, configurationManager, serviceInfoManager );

            this.DataContext = _viewModel;

            InitializeComponent();
        }