# C1.GanttView.ResourceStorage.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_GanttView_ResourceStorage__ctor_" data-uid="C1.GanttView.ResourceStorage.#ctor*">ResourceStorage Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_GanttView_ResourceStorage__ctor_" data-uid="C1.GanttView.ResourceStorage.#ctor*"></a>
<h4 id="C1_GanttView_ResourceStorage__ctor_C1_Schedule_StorageComponent_C1_Win_GanttView_C1GanttView_" data-uid="C1.GanttView.ResourceStorage.#ctor(C1.Schedule.StorageComponent,C1.Win.GanttView.C1GanttView)">ResourceStorage(StorageComponent, C1GanttView)</h4>
<div class="markdown level1 summary"><p>Initializes the new instance of the <a class="xref" href="C1.GanttView.ResourceStorage.html">ResourceStorage</a> component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected ResourceStorage(StorageComponent storage, C1GanttView control)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(storage As StorageComponent, control As C1GanttView)</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><span class="xref">StorageComponent</span></td>
      <td><span class="parametername">storage</span></td>
      <td><p>The owning <span class="xref">C1.Schedule.StorageComponent</span> component.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.GanttView.C1GanttView.html">C1GanttView</a></td>
      <td><span class="parametername">control</span></td>
      <td><p>The <a class="xref" href="C1.Win.GanttView.C1GanttView.html">C1GanttView</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
