GrapeCity.Win.Components 名前空間 > GcBalloonTip クラス > Show メソッド : Show(Control,TipPosition,BalloonTipInformation) メソッド |
Public Overloads Sub Show( _ ByVal control As Control, _ ByVal tipPosition As TipPosition, _ ByVal tipInfo As BalloonTipInformation _ )
public void Show( Control control, TipPosition tipPosition, BalloonTipInformation tipInfo )
例外 | 解説 |
---|---|
System.ArgumentNullException | controlはnullに設定できません。 |
次のサンプルコードは、このメソッドの使用方法を示します。
このサンプルコードは、GcBalloonTip クラスに示されている詳細なコード例の一部を抜粋したものです。
private void button2_MouseEnter(object sender, EventArgs e) { BalloonTipInformation tipInfo = new BalloonTipInformation(); tipInfo.Text = "Show the tip at the bottom right of button!"; tipInfo.Caption = "GcBalloonTip Samples"; this.gcBalloonTip1.Show(this.button2, TipPosition.BottomRight, tipInfo); }
Private Sub button2_MouseEnter(sender As Object, e As EventArgs) Dim tipInfo As New BalloonTipInformation() tipInfo.Text = "Show the tip at the bottom right of button!" tipInfo.Caption = "GcBalloonTip Samples" Me.gcBalloonTip1.Show(Me.button2, TipPosition.BottomRight, 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