求焦点的获得。 tabpage1.selected=true;daragridview1.rows[0].cells[0].focus大概这个意思 具体没去查 语法有些变动 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 TabControl.SelectedIndex = 0;//将tabpage1设置为活动选项卡datagridview1.CurrentCell = dataGridView1.Rows[0].Cells[0]; this.tabControl1.SelectedIndex=0;tabControl1.pannel[1].findControl("dgv").Focus(); dgv.CurrentCell = dgv[0, 0]; 都出了,不过要注意下Datagrid的行选择模式 this.tabControl1.SelectedIndex=0; tabControl1.pannel[1].findControl("dgv").Focus(); dgv.CurrentCell = dgv[0, 0]; 顶 TabControl.SelectedIndex = 0;//将tabpage1设置为活动选项卡 datagridview1.CurrentCell = dataGridView1.Rows[0].Cells[0];应该是这个,以前用过,顶 this.tabControl1.SelectedIndex=0; tabControl1.pannel[1].findControl("dgv").Focus(); dgv.CurrentCell = dgv[0, 0]; this.tabControl1.SelectedIndex=0; tabControl1.pannel[1].findControl("dgv").Focus(); dgv.CurrentCell = dgv[0, 0]; 求解devexpress控件中的spinEdit控件用法 UrlReWriter 路径问题!!!线上等! Dictionary <TKey, TValue>.Keys添加值是如何实现的???? 谁有C#相关的学习资料啊~想编一些窗口应用程序 关于combobox小问题! remoting两问题!!! WinForm中怎么加GIF图片? 如何删除记录的同时删除文件? 急急急!极度挑战送分,如何将国标码GB2312转换为String型 对于一个form窗口的程序怎么打包? C#写SQL语句的问题 有一個sighhash 程序. 我不知為何不能過?
datagridview1.CurrentCell = dataGridView1.Rows[0].Cells[0];
tabControl1.pannel[1].findControl("dgv").Focus();
dgv.CurrentCell = dgv[0, 0];
tabControl1.pannel[1].findControl("dgv").Focus();
dgv.CurrentCell = dgv[0, 0]; 顶
datagridview1.CurrentCell = dataGridView1.Rows[0].Cells[0];应该是这个,以前用过,顶
tabControl1.pannel[1].findControl("dgv").Focus();
dgv.CurrentCell = dgv[0, 0];
tabControl1.pannel[1].findControl("dgv").Focus();
dgv.CurrentCell = dgv[0, 0];