示例#1
0
 public void Dispose()
 {
     if (_CommandManager != null)
     {
         _CommandManager.Dispose();
         _CommandManager = null;
     }
 }
示例#2
0
 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;
 }
示例#3
0
 public PositionAdjuster(SourceControl[] sources, Command.CommandManager commandManager)
 {
     this.sources        = sources;
     this.commandManager = commandManager;
     sourceDict          = sources.ToDictionary(s => s.CurrentSource, s => s);
 }
示例#4
0
 public MoveManager(PositionableControl[] controls, Command.CommandManager commandManager)
 {
     this.commandManager = commandManager;
     this.controls       = controls;
 }
示例#5
0
 public MainViewModel()
 {
     UpdateViewCommand  = new UpdateViewCommand(this);
     LanguageSetCommand = new Command.CommandManager(languageSet);
 }