using object in multiple function
Posted
by nixon
on Stack Overflow
See other posts from Stack Overflow
or by nixon
Published on 2010-06-02T12:42:51Z
Indexed on
2010/06/02
12:54 UTC
Read the original article
Hit count: 229
Hi. How can i use object from one function in another ?
main()
{
private void button1_click {
MyClass object = new MyClass();
object.blabla();
}
private void button2_click {
// how can i use object from button1_click ??
}
}
© Stack Overflow or respective owner