Resign Designs

Resign Designs

  • NA
  • 31
  • 29.9k

How to fix does not contain a constructor arguments?

Jun 18 2015 2:02 AM
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)