コード例 #1
0
 /// <summary>
 ///     Raises the <see cref="Click" /> event.
 /// </summary>
 /// <param name="e">An <see cref="ClickTextDrawEventArgs" /> that contains the event data. </param>
 public virtual void OnClick(ClickTextDrawEventArgs e)
 {
     if (Click != null)
     {
         Click(this, e);
     }
 }
コード例 #2
0
ファイル: TextDraw.cs プロジェクト: CyberSys/SampSharp
 /// <summary>
 ///     Raises the <see cref="Click" /> event.
 /// </summary>
 /// <param name="e">An <see cref="ClickTextDrawEventArgs" /> that contains the event data. </param>
 public virtual void OnClick(ClickTextDrawEventArgs e)
 {
     Click?.Invoke(this, e);
 }