public virtual bool CanExecuteCommand(string action) { if (_ieBrowser.Visible) { return(_ieBrowser.CanExecuteCommand(action)); } if (_editRtfBody.Visible) { return(_editRtfBody.CanExecuteCommand(action)); } return(false); }
public bool CanExecuteCommand(string command) { return(_richTextBox.CanExecuteCommand(command)); }