int i = this.Controls.GetChildIndex(this.Label1);
While I'm not a windows form programmer, this should work. Just iterate through all the controls.
Thus spake the master programmer: After three days without programming, life becomes meaningless. - The Zen of Programming
int i = this.Controls.GetChildIndex(this.Label1);
No comments:
Post a Comment