Hi ppl

Actually I mean a form object passing to method.

By that I can create instance of that object inside that method. I want to catch the form object in a veriable. and make a form instance by using that varible.
Exml:

void showForm( catch the form object)
{
objectName frm = new objectName();// create an intance here.
}

public void button_click(..)
{
showForm(formObject);\\ formObject is a type by this i can creat form instance.
}

If you cant get inform me.

Thanks