0

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

form1 frm = ....

help pls how can i do so?

3
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by xanawa
0

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

0

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)
{

}

Edited by Mitja Bonca: n/a

0

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 :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.