BuildingCoder.CmdStatusBar.ShowBalloonTip C# (CSharp) Метод

ShowBalloonTip() публичный статический Метод

public static ShowBalloonTip ( string category, string title, string text ) : void
category string
title string
text string
Результат void
        public static void ShowBalloonTip(
            string category,
            string title,
            string text)
        {
            Autodesk.Internal.InfoCenter.ResultItem ri
            = new Autodesk.Internal.InfoCenter.ResultItem();

              ri.Category = category;
              ri.Title = title;
              ri.TooltipText = text;

              // Optional: provide a URL, e.g. a
              // website containing further information.

              ri.Uri = new System.Uri(
            "http://www.yourContextualHelp.de" );

              ri.IsFavorite = true;
              ri.IsNew = true;

              // You also could add a click event.

              ri.ResultClicked += new EventHandler<
            Autodesk.Internal.InfoCenter.ResultClickEventArgs>(
              ri_ResultClicked );

              Autodesk.Windows.ComponentManager
            .InfoCenterPaletteManager.ShowBalloon( ri );
        }