title: System.Windows.Forms.DataGridViewCellFormattingEventArgs' does not contain a constructor that takes 1 arguments
body: <p>I keep getting the following error message when I compile my code:</p>
  
  <pre><code>Error   1   'System.Windows.Forms.DataGridViewCellFormattingEventArgs' does not contain a constructor that takes 1 arguments
  </code></pre>
  
  <p>What could be causing it - this is my code so far:</p>
  
  <p>Form1.Designer.cs</p>
  
  <pre><code>this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellFormattingEventArgs(this.dataGridView1_CellClick);
  </code></pre>
  
  <p>Form1.cs</p>
  
  <pre><code> private void dataGridView1_CellClick(object sender, DataGridViewCellFormattingEventArgs e)
          {
              if (this.dataGridView1.Columns[e.ColumnIndex].Name == "DriverNo")
              {
                  MessageBox.Show("Hello");
              }
          }
  </code></pre>