有人可以解释一下吗? [英] Can Someone explain this?
本文介绍了有人可以解释一下吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是希望有人向我解释此代码
I just want someone to explain this code to me
Private Sub ButtonLock_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonLock.Click
status = arr(0)
If FolderBrowserDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
Dim d As DirectoryInfo = New DirectoryInfo(FolderBrowserDialog1.SelectedPath)
Dim selectedpath As String = d.Parent.FullName + d.Name
ProgressBar1.Value = 40
If FolderBrowserDialog1.SelectedPath.LastIndexOf(".{") = -1 Then
If (Not d.Root.Equals(d.Parent.FullName)) Then
d.MoveTo(d.Parent.FullName & "\" & d.Name & status)
Else
d.MoveTo(d.Parent.FullName + d.Name & status)
End If
TextBox1.Text = FolderBrowserDialog1.SelectedPath
ProgressBar1.Value = 75
ProgressBar1.Value = 100
Else
status = getstatus(status)
d.MoveTo(FolderBrowserDialog1.SelectedPath.Substring(0, FolderBrowserDialog1.SelectedPath.LastIndexOf(".")))
TextBox1.Text = FolderBrowserDialog1.SelectedPath.Substring(0, FolderBrowserDialog1.SelectedPath.LastIndexOf("."))
End If
End If
End Sub
推荐答案
您好
我只是想让别人向我解释这个代码....
I just want someone to explain this code to me ....
status = arr(0)
什么是Arr内容?
What is Arr contents?
这篇关于有人可以解释一下吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文