Exemple #1
0
        private void OpenLive(CompositionItem item)
        {
            var strategy = new DiagramStrategy
            {
                Composition = _strategiesRegistry.Clone(item.Element)
            };

            var content = new LiveStrategyControl
            {
                Strategy = strategy
            };

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

			var content = new LiveStrategyControl
			{
				Strategy = strategy
			};

			_layoutManager.OpenDocumentWindow(content);
		}