コード例 #1
0
        public override void Load(SettingsStorage storage)
        {
            var strategy = new EmulationDiagramStrategy();

            strategy.Load(storage);

            Strategy = strategy;

            base.Load(storage);
        }
コード例 #2
0
        private void OpenEmulation(CompositionItem item)
        {
            var strategy = new EmulationDiagramStrategy
            {
                Composition = _strategiesRegistry.Clone(item.Element)
            };

            var content = new EmulationStrategyControl
            {
                Strategy = strategy
            };

            _layoutManager.OpenDocumentWindow(content);
        }
コード例 #3
0
		public override void Load(SettingsStorage storage)
		{
			var strategy = new EmulationDiagramStrategy();
			strategy.Load(storage);

			Strategy = strategy;

			base.Load(storage);
		}
コード例 #4
0
		private void OpenEmulation(CompositionItem item)
		{
			var strategy = new EmulationDiagramStrategy
			{
				Composition = _strategiesRegistry.Clone(item.Element)
			};

			var content = new EmulationStrategyControl
			{
				Strategy = strategy
			};

			_layoutManager.OpenDocumentWindow(content);
		}