| 查看: 195 | 回复: 1 | |||
| 当前主题已经存档。 | |||
[交流]
【求助】帮忙把vb转成c#
|
|||
|
Sample TextSample Text 求助高手帮忙把这段vb代码转成c#,谢谢了。 Private Function ForewardReason(node As afNode, str As String) Dim strReason As String Dim tt As Integer Dim i As Integer Dim zz As Integer Dim link As afLink Dim strPin As String Dim nodx As afNode Dim VitSeq As Integer Dim VitSeqc As Integer Dim str1 As String Dim LocalForeWardArray() As String str1 = str For Each link In node.InLinks str1 = str If link.Rigid = False Then Set nodx = link.Org If Not nodx Is Nothing Then i = InStr(1, str, nodx.Key) If i = 0 Then If node.Tag = "Sensor" And node.UserData - 1 >= 0 And node.Key <> "" And nodx.Tag = "Sensor" And nodx.Key <> "" And nodx.UserData - 1 >= 0 Then If (PVCurrentBias(nodx.UserData - 1) > 0 And PVCurrentBias(node.UserData - 1) > 0 And link.UserData = 1) Then AbnormalVisited(nodx.UserData - 1) = True link.DrawWidth = 2 zz = InStr(1, str1, "→" ![]() If zz = 0 Then str1 = nodx.Key & "偏高" + "→" + str1 & "偏高" ElseIf zz > 0 Then str1 = nodx.Key & "偏高" + "→" + str1 End If ForewardReason nodx, str1 |
» 猜你喜欢
2026年面上项目中了,2A+B, 会评顺利通过
已经有4人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有4人回复
面上项目2026年人工智能评审意见,不知道是否上会
已经有9人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有4人回复
大家好,校样时候的紧急求助,请各位帮帮忙了
已经有7人回复
昨日死,今日生
已经有7人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有7人回复
27年博士招生信息
已经有13人回复
植酸TLC薄层色谱爬板
已经有6人回复
单宁酸
已经有3人回复
woshilsh
荣誉版主 (职业作家)
- 应助: 43 (小学生)
- 贵宾: 10.33
- 金币: 21115.1
- 散金: 737
- 红花: 22
- 帖子: 3777
- 在线: 639.7小时
- 虫号: 293038
- 注册: 2006-11-04
- 专业: 计算机应用技术
- 管辖: 仿真模拟

2楼2009-07-10 21:57:15












回复此楼