How create processing events for array of TextBox

Posted by ScarX on Stack Overflow See other posts from Stack Overflow or by ScarX
Published on 2010-03-21T18:28:29Z Indexed on 2010/03/21 18:31 UTC
Read the original article Hit count: 288

Filed under:
|

I create array:

TextBox[] textarray = new TextBox[100];

Then in cycle set this params, all items array situated in uniformGrid1

textarray[i] = new TextBox();
        textarray[i].Height = 30;
        textarray[i].Width = 50;
        uniformGrid1.Children.Add(textarray[i]);

How create events Click or DoubleClick that all items array?
Sorry my English.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf