Hi all.
I need to retrieve the name of a Control object (i.e a textbox) from a class object as string, and then manipulate that object using the usual methods but i seem to lack the exact way of doing this.
Example:
string objectName = newObjectAttributes.getName();
myForm.objectName.Location = newObjectAttributes.getPoint();
I've tried casting the string but, basically I don't have c# experience yet to do this easily.
Any help would be appreciated, I have googled the problem to no avail.
I need to retrieve the name of a Control object (i.e a textbox) from a class object as string, and then manipulate that object using the usual methods but i seem to lack the exact way of doing this.
Example:
string objectName = newObjectAttributes.getName();
myForm.objectName.Location = newObjectAttributes.getPoint();
I've tried casting the string but, basically I don't have c# experience yet to do this easily.
Any help would be appreciated, I have googled the problem to no avail.