|
-
December 19th, 2006, 04:35 AM
#1
Calling Form controls from Other classes
Hi All,
Here I have some problem. my main form become too bit, It has lot of controls, And one timer is running in it, for loading and performing some tasks it is taking time, For that I want to redesign(Reaggange) my application structure,
"Mainly i want to move some controls code to different class", Is there any way of accessing Form controls from other class. Like
class Class1
{
private string text="Hello";
public void AccessFromControls()
{
button1.Text=text; //Like this
}
}
Please provide some way to proceed.
Regards
Ravi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|