frmCustomer loForm = new frmCustomer(Param1, Param2...);
loForm.Show();
2. The constructor of the Form receives the parameters. In this case,public frmCustomer(Param1, Param2....) { //Other Code }3. You can store the return value in a public property/variable and use it like this:
frmCustomer loForm = new frmCustomer(Param1, Param2...); loForm.Show(); //Assuming return value is Integer.. int myvalue = (int) loForm.xReturnValue;>I have a few questions on parameters and returning an object from a form: