title: c# error The type or namespace name 'SampleMain' does not exist in the namespace
body: <blockquote>
    <p>Error 7   The type or namespace name
    'SampleMain' does not exist in the
    namespace
    'System.Windows.Forms.DataVisualization.Charting.Utilities'
    (are you missing an assembly
    reference?)</p>
  </blockquote>
  
  <p>i am getting this error on this line:</p>
  
  <pre><code>        System.Windows.Forms.DataVisualization.Charting.Utilities.SampleMain.MainForm mainForm = (System.Windows.Forms.DataVisualization.Charting.Utilities.SampleMain.MainForm)this.ParentForm;
  </code></pre>
  
  <p>what am i doing wrong?</p>