title: How to embed Nlog richtexbox in window form?
body: <p>I am using Nlog for managing logging in my application.I am having a Form which does sometask and a richtextbox is there where I want to show the Log details.Configuration of Nlog.config file is:</p>
  
  <pre><code>   &lt;target name="name" formName="FormName" controlName="RichTextBoxName" xsi:type="RichTextBox" layout="${date} | ${message}" &gt;&lt;/target&gt; //this is target tag
  
   &lt;logger name="*"  level ="Info" writeTo="name"&gt;&lt;/logger&gt; //this logger tag
  </code></pre>
  
  <p>The thing is that when I am running the application I am getting two forms : </p>
  
  <p>*<em>The form which I created *</em> and</p>
  
  <p>*<em>another form which displays the log *</em></p>
  
  <p>I want to <strong>embed the Log form to richtextbox of my form(formname)</strong> or want to bind the data of the log form to the richextbox.</p>