public void Dispose() { if (_CommandManager != null) { _CommandManager.Dispose(); _CommandManager = null; } }
public ScopeJoinManager(FlowAreaControl flowAreaControl, Command.CommandManager commandManager, MoveManager moveManager) { this.flowAreaControl = flowAreaControl; this.commandManager = commandManager; this.moveManager = moveManager; commandSet = new CommandSet(); moveManager.ControlPressed += moveManager_ControlPressed; moveManager.MoveEnd += moveManager_MoveEnd; }
public PositionAdjuster(SourceControl[] sources, Command.CommandManager commandManager) { this.sources = sources; this.commandManager = commandManager; sourceDict = sources.ToDictionary(s => s.CurrentSource, s => s); }
public MoveManager(PositionableControl[] controls, Command.CommandManager commandManager) { this.commandManager = commandManager; this.controls = controls; }
public MainViewModel() { UpdateViewCommand = new UpdateViewCommand(this); LanguageSetCommand = new Command.CommandManager(languageSet); }