title: Getting Current Class's Name
body: <p>I have the following class:</p>
  
  <pre><code>public class dlgBoughtNote : dlgSpecifyNone
  {
      public com.jksb.reports.config.cases.BoughtNoteReport _ReportSource;
  
      public dlgBoughtNote()
      {
          btnPreview.Click += new EventHandler(Extended_LaunchReport);
          this.Text = "Bought Note Print";
      }
  
      protected override void InitReport()
      {
          _ReportSource = new com.jksb.reports.config.cases.BoughtNoteReport(null);
          ReportSourceName = _ReportSource;
      }
  }
  </code></pre>
  
  <p>Technically, If I called the following constructor dlgBoughtNote() </p>
  
  <pre><code>public dlgBoughtNote()
  {
      btnPreview.Click += new EventHandler(Extended_LaunchReport);
      this.Text = "Bought Note Print";
      MessageBox.Show(this.Name);
  }
  </code></pre>
  
  <p>I should be getting the result as "dlgBoughtNote" but I'm getting as "dlgSpecifyNone". Is there any way I could get the current class's name other than the way I'm doing.</p>