Exemplo n.º 1
0
 protected override void OnBeforeCommand(BeforeCommandEventArgs e)
 {
     if (e.Command.StartsWith("title", System.StringComparison.OrdinalIgnoreCase))
     {
         OutputTextBox Output = (OutputTextBox)OutputBox;
         Output.PermanentCaption = null;
         if ((e.Command.Length > 5) && (e.Command[5] == ' '))
         {
             Output.PermanentCaption = e.Command.Substring(6).Trim();
         }
         Output.UpdateTabCaption();
     }
     base.OnBeforeCommand(e);
 }