71
118
442
中级会员
您需要 登录 才可以下载或查看,没有账号?立即注册 微信登陆
举报
admin 发表于 2023-4-19 10:10 tbl.Rows[m_lastRow].IsNode VB.Net的代码在转C#语言的过程中,最常错的就是索引的括号类型。Vb.net都统一 ...
107
499
3076
管理员
李泰蜜 发表于 2023-4-19 10:34 新的错误提示
李泰蜜 发表于 2023-4-19 13:28 我让GPT帮我写了一份代码,如下:帮忙看看可以么? 可以使用以下代码实现:
private void c1FlexGrid1_MouseEnterCell(object sender, MouseEventArgs e) { BaseGrid c1FlexGrid1=sender as BaseGrid; c1FlexGrid1.Rows[c1FlexGrid1.Row].Style = c1FlexGrid1.Styles.Highlight; } private void c1FlexGrid1_MouseLeaveCell(object sender, MouseEventArgs e) { BaseGrid c1FlexGrid1=sender as BaseGrid; c1FlexGrid1.Rows[c1FlexGrid1.Row].Style = c1FlexGrid1.Styles.Normal; }复制代码
本版积分规则 发表回复 回帖后跳转到最后一页
|Archiver|手机版|小黑屋|苏州三木软件科技有限公司 ( 苏ICP备2022038390号 )
苏公网安备 32058502010732号
GMT+8, 2025-7-25 10:39 , Processed in 0.095902 second(s), 20 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.