--
Dim flm As WinForm.PictureViewer = e.Form.Controls("PictureViewer1")
Dim ftp1 As New FtpClient
ftp1.Host="192.168.1.1"
ftp1.Account = "fox"
ftp1.Password = "8888888Ftp"
\'------------------PictureViewer照片管理器设置-------------
flm.OpenCommand.Visible = False \'打开文件按钮
flm.AddCommand.Visible = False \'禁用增加文件按钮
flm.DeleteCommand.Visible = False \'禁用删除文件按钮
flm.ClearCommand.Visible = False \'禁用清除文件按钮
flm.SaveAsCommand.Visible = False \'禁用另存文件按钮
flm.FullViewCommand.Visible = False \'全屏
flm.StretchCommand.Visible = False \'缩放
flm.ManagerCommand.Visible = False \'禁用管理文件按钮
flm.UpdateCommand.Visible = False \'更新
flm.ConnectCommand.Visible = False \'重连
\'-----------------ftp管理器设置--------------
ftp1.DeleteEnabled = False \'禁用删除文件按钮
ftp1.RenameEnabled = False \'禁用重命名文件按钮
ftp1.MakerDirEnabled = False \'禁用新建文件夹按钮
flm.FTPclient = ftp1
下面这三个没起作用,如何办?
flm.ManagerCommand.Visible = False \'禁用管理文件按钮
flm.UpdateCommand.Visible = False \'更新
flm.ConnectCommand.Visible = False \'重连