Пример #1
0
 /// <summary>
 /// Called to update the current status of the command.
 /// </summary>
 protected override void OnBeforeQueryStatus()
 {
     Enabled = OpenDocuments.Any();
 }