I have written the following code to apply it to VB.NET:
Now, why can not it be done in C #?
class TBdata {public string [] aTextBoxes = new string [3]; public text box [] txtBox = new text box [] (form 1. Textbox 1, form 1 Textbox 2, form 1 Textbox3, form 1 Textbox4}; Public Zero Datatouro (for ((EyeI = 0; I & lt; 4; i ++) {A Textbox (I) = TTTbox (I). Text;}}} < / Div>
The problem is here:
public text box [] txtBox = new text box [] (Form 1. Textbox 1, Form 1. Textbox 2, Form 1. Textbox 3, Form 1. Textbox 4}; If you refer to it by class,
form
No comments:
Post a Comment