Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

I need to get a line of VB.Net converted to WPF in C#

$
0
0

Here is the line of code in VB

CType(frm.Controls("Label" & begin + 1), Label).Text = DescLine(seclist(begin))

Below for loop, assinging string to labels in a form.

For begin As Integer = 0 To seclist.Count - 1
            CType(frm.Controls("Label" & begin + 1), Label).Text = DescLine(seclist(begin))
            specifyLength.Add(DescLine(seclist(begin)))
            lengthString.Add(specifyLength(begin).Length)
        Next


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>