# C1.C1Preview.Forms.WarningForm

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Forms_WarningForm" data-uid="C1.C1Preview.Forms.WarningForm" class="text-break">WarningForm Class
</h1>
  <div class="markdown level0 summary"><p>Represents a form used to show a warning.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.scrollablecontrol">ScrollableControl</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.containercontrol">ContainerControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a></div>
    <div class="level7"><a class="xref" href="C1.C1Preview.Forms.BaseForm.html">BaseForm</a></div>
    <div class="level8"><span class="xref">WarningForm</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.icontainercontrol">IContainerControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.Forms.html">C1.C1Preview.Forms</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_Forms_WarningForm_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WarningForm : BaseForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WarningForm
    Inherits BaseForm
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm__ctor" data-uid="C1.C1Preview.Forms.WarningForm.#ctor">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.-ctor.html#C1_C1Preview_Forms_WarningForm__ctor">WarningForm()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TagStringInputParams.html">TagStringInputParams</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_m_btnOk" data-uid="C1.C1Preview.Forms.WarningForm.m_btnOk">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.m_btnOk.html">m_btnOk</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_m_chkDisableWarning" data-uid="C1.C1Preview.Forms.WarningForm.m_chkDisableWarning">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.m_chkDisableWarning.html">m_chkDisableWarning</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_m_lblWarningText" data-uid="C1.C1Preview.Forms.WarningForm.m_lblWarningText">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.m_lblWarningText.html">m_lblWarningText</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_Dispose_System_Boolean_" data-uid="C1.C1Preview.Forms.WarningForm.Dispose(System.Boolean)">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.Dispose.html#C1_C1Preview_Forms_WarningForm_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_IsWarningDisabled_System_String_" data-uid="C1.C1Preview.Forms.WarningForm.IsWarningDisabled(System.String)">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.IsWarningDisabled.html#C1_C1Preview_Forms_WarningForm_IsWarningDisabled_System_String_">IsWarningDisabled(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether warnings of a certain kind are disabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Forms_WarningForm_ShowWarning_System_String_System_String_" data-uid="C1.C1Preview.Forms.WarningForm.ShowWarning(System.String,System.String)">
          <a class="xref" href="C1.C1Preview.Forms.WarningForm.ShowWarning.html#C1_C1Preview_Forms_WarningForm_ShowWarning_System_String_System_String_">ShowWarning(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Shows a warning.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
