示例#1
0
        private void OpenEmulation(CompositionItem item)
        {
            var strategy = new EmulationDiagramStrategy
            {
                Composition = _strategiesRegistry.Clone(item.Element)
            };

            var content = new EmulationStrategyControl
            {
                Strategy = strategy
            };

            _layoutManager.OpenDocumentWindow(content);
        }
		private void OpenEmulation(CompositionItem item)
		{
			var strategy = new EmulationDiagramStrategy
			{
				Composition = _strategiesRegistry.Clone(item.Element)
			};

			var content = new EmulationStrategyControl
			{
				Strategy = strategy
			};

			_layoutManager.OpenDocumentWindow(content);
		}