# C1.Win.Schedule.Forms.GoToDate.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Schedule_Forms_GoToDate__ctor_" data-uid="C1.Win.Schedule.Forms.GoToDate.#ctor*">GoToDate Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Schedule_Forms_GoToDate__ctor_" data-uid="C1.Win.Schedule.Forms.GoToDate.#ctor*"></a>
<h4 id="C1_Win_Schedule_Forms_GoToDate__ctor_System_String_System_DateTime_" data-uid="C1.Win.Schedule.Forms.GoToDate.#ctor(System.String,System.DateTime)">GoToDate(string, DateTime)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.Forms.GoToDate.html">GoToDate</a> form.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GoToDate(string dateFormat, DateTime initialDate)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(dateFormat As String, initialDate As Date)</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.string">string</a></td>
      <td><span class="parametername">dateFormat</span></td>
      <td><p>Format string for displaying dates.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></td>
      <td><span class="parametername">initialDate</span></td>
      <td><p>Initial date selected in the dialog.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Schedule_Forms_GoToDate__ctor_" data-uid="C1.Win.Schedule.Forms.GoToDate.#ctor*"></a>
<h4 id="C1_Win_Schedule_Forms_GoToDate__ctor_C1_Win_Schedule_C1Schedule_System_String_System_DateTime_" data-uid="C1.Win.Schedule.Forms.GoToDate.#ctor(C1.Win.Schedule.C1Schedule,System.String,System.DateTime)">GoToDate(C1Schedule, string, DateTime)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.Forms.GoToDate.html">GoToDate</a> form.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GoToDate(C1Schedule schedule, string dateFormat, DateTime initialDate)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(schedule As C1Schedule, dateFormat As String, initialDate As Date)</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="C1.Win.Schedule.C1Schedule.html">C1Schedule</a></td>
      <td><span class="parametername">schedule</span></td>
      <td><p>The owning <a class="xref" href="C1.Win.Schedule.C1Schedule.html">C1Schedule</a> control.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dateFormat</span></td>
      <td><p>Format string for displaying dates.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></td>
      <td><span class="parametername">initialDate</span></td>
      <td><p>Initial date selected in the dialog.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
