Question: CS 1 7 2 9 ' Form 3 ' does not contain a constructor that takes 8 arguments . How do I fix this error.

CS
1
7
2
9
'Form
3
'
does not contain a constructor that takes
8
arguments. How do I fix this error.
private void button1_Click(object sender, EventArgs e)
{
string[,] zip2D = getInfoZip();
string[,] size2D = getInfoSize();
string[,] patch2D = getPatch();
string[,] extras2D = getExtras();
Form3 form3= new Form3(this.Text.ToString(), txtInvNum.Text, txtEmail.Text, txtCost.Text, zip2D, size2D, patch2D, extras2D);
form3.Show();
}
public Form3(String clientdetails, string invnum, string email, string cost, string[,] zip2D, string[,] size2D,
string[,] patch2D, string[,] extras2D)
{
InitializeComponent();
this.Text = clientdetails;
txtInvNum.Text = invnum;
lblClientEmail.Text = email;
lblClientInfo.Text = clientdetails;
lblCost.Text = cost;
addItemsToGrid(size2D);
addItemsToGrid(zip2D);
addItemsToGrid(patch2D);
addItemsToGrid(extras2D);
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!