3
Answers

How to fix does not contain a constructor arguments?

Resign Designs

Resign Designs

9y
519
1
Hi,
 
 I have two windows forms.One form is having arguments on constructor like this.
 
string[] args;
public GroupWindow(string[] args)
{
}
 
I have another form which I used to open above form when click a button.I have written a code

GroupWindow gW = new GroupWindow();
gW.Show();
 
and the highlighted part gives me this error
 
does not contain a constructor that takes 0 arguments 
 
I dont want to pass any arguments from this page to another.How do I fix.
 
Thanks

Answers (3)
Next Recommended Forum