public void SetCommand(LayoutCommand command) { this._command = command; this.Status = this._command.GetStatus(); }
private void SetLayoutCommand(bool isChecked, LayoutCommand command) { _logger.Debug("SetLayoutCommand({0},{1})", isChecked, command.GetStatus()); this._layoutControl.SetCommand(command); this._layoutControl.SwitchLayout(); if (isChecked) { DisplayImage(); } }