# C1.Win.SuperTooltip.IconClickEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_SuperTooltip_IconClickEventArgs__ctor_" data-uid="C1.Win.SuperTooltip.IconClickEventArgs.#ctor*">IconClickEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_SuperTooltip_IconClickEventArgs__ctor_" data-uid="C1.Win.SuperTooltip.IconClickEventArgs.#ctor*"></a>
<h4 id="C1_Win_SuperTooltip_IconClickEventArgs__ctor_System_Windows_Forms_Control_System_String_System_Windows_Forms_MouseButtons_System_Int32_System_Drawing_Point_" data-uid="C1.Win.SuperTooltip.IconClickEventArgs.#ctor(System.Windows.Forms.Control,System.String,System.Windows.Forms.MouseButtons,System.Int32,System.Drawing.Point)">IconClickEventArgs(Control, string, MouseButtons, int, Point)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.Win.SuperTooltip.IconClickEventArgs.html">IconClickEventArgs</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IconClickEventArgs(Control control, string error, MouseButtons button, int clicks, Point location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(control As Control, [error] As String, button As MouseButtons, clicks As Integer, location As Point)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></td>
      <td><span class="parametername">control</span></td>
      <td><p>Control that has an associated error.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">error</span></td>
      <td><p>Error description text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.mousebuttons">MouseButtons</a></td>
      <td><span class="parametername">button</span></td>
      <td><p>Button that was clicked on the icon.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">clicks</span></td>
      <td><p>Number of times the mouse button was clicked.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>Location of the mouse in screen coordinates.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
