T
~toki
I have a class called OBJ
public class OBJ : Editor {
public System.Windows.Forms.Button btn;
public OBJ() {
btn = new System.Windows.Forms.Button();
}
}
The Editor class extends a Windows.Forms.Form and have a "save" button.
When it is pressed i need to serialize the "btn" object, but of course
itsn't visible from the Editor Class.
Any way (or trick) to get access to the "btn" object?
public class OBJ : Editor {
public System.Windows.Forms.Button btn;
public OBJ() {
btn = new System.Windows.Forms.Button();
}
}
The Editor class extends a Windows.Forms.Form and have a "save" button.
When it is pressed i need to serialize the "btn" object, but of course
itsn't visible from the Editor Class.
Any way (or trick) to get access to the "btn" object?