Možná to by mohlo stačit k nakopnutí. string strType = ""; foreach( Control c in this.Controls ) { strType = c.GetType().ToString(); if (strType=="System.Windows.Forms.TextBox") { strType = "Nasel jsem:" + strType; } } ------------------------------------------------------- vývoj software http://visualprog.cz