职场火锅的博客I have a dataGridView control in Window Form Application. Three columns are added to the dataGridView. I added 20 empty rows into dataGridView in order to show some blank cells.(Otherwise dataGridView...
雨水霂的博客 } 或者,如果控件是winForm自带的控件,比如TextBox textBox1.Focus(); foreach (Control c in this.Controls) //获取页面中的所有控件 { if (c.GetType().ToString() == "System.Windows.Forms.TextBox")//如果是...