小编shu*_*ubu的帖子

我可以将VB代码转换为C++代码

我可以将VB代码转换为C++吗?我该怎么做?

这是我的VB代码:

Dim OpenFileDialog1 As New OpenFileDialog

With OpenFileDialog1
    .CheckFileExists = True
    .ShowReadOnly = False
    .Filter = "All Files|*.*|Bitmap Files (*)|*.bmp;*.gif;*.jpg"
    .FilterIndex = 2
    If .ShowDialog = DialogResult.OK Then
        ' Load the specified file into a PictureBox control.
        PictureBox1.Image = Image.FromFile(.FileName)
    End If
End With
Run Code Online (Sandbox Code Playgroud)

c++ vb.net translation

2
推荐指数
1
解决办法
735
查看次数

标签 统计

c++ ×1

translation ×1

vb.net ×1