I am in d form1 code and i would like to initialize d current..

form1 frm = ....

help pls how can i do so?

can you please explain what you want to do?

??
Yes? some resonable explanation?

can you please explain what you want to do?

i am in form1 and i would like to initialize form1 it self in the code.. because i need it to pass it through the constructor

Then you dont need to initialize it (it already is!).
All you have to do, is to pass the form`s reference (this):

//SomeConstructor(this)
{

}

Then you dont need to initialize it (it already is!).
All you have to do, is to pass the form`s reference (this):

//SomeConstructor(this)
{

}

thx :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.