GrapeCity.Win.Components 名前空間 > GcBalloonTip クラス > Show メソッド : Show(Point,BalloonTipInformation) メソッド |
Public Overloads Sub Show( _ ByVal position As Point, _ ByVal tipInfo As BalloonTipInformation _ )
public void Show( Point position, BalloonTipInformation tipInfo )
次のサンプルコードは、このメソッドの使用方法を示します。
このサンプルコードは、GcBalloonTip クラスに示されている詳細なコード例の一部を抜粋したものです。
private void button3_MouseEnter(object sender, EventArgs e) { BalloonTipInformation tipInfo = new BalloonTipInformation(); tipInfo.Text = "Show the tip of button!"; tipInfo.Caption = "GcBalloonTip Samples"; this.gcBalloonTip1.Show(new Point(0, 0), tipInfo); }
Private Sub button3_MouseEnter(sender As Object, e As EventArgs) Dim tipInfo As New BalloonTipInformation() tipInfo.Text = "Show the tip of button!" tipInfo.Caption = "GcBalloonTip Samples" Me.gcBalloonTip1.Show(New Point(0, 0), tipInfo) End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2