图像路径测试脚本源码

附件:11.bmp

运行环境:分辨率:1920×1080 色深:32位 操作系统:Windows 7 Ultimate 按键精灵版本:9.30.11197

Event Form1.Button1.Click  
    Dim 路径  
    Rem a  
    路径=Plugin.File.SelectFile()  
    If 路径<>"" then  
        If (LCase(Right(路径,4)) = ".jpg" or LCase(Right(路径,4)) = ".bmp" or LCase(Right(路径,4)) = ".gif") Then  
            Form1.PictureBox1.Picture = 路径  
        Else  
            MsgBox "请选择(.jpg)、(.bmp)或(.gif)格式图片!!!"  
            Goto a  
        End If  
    End If  
End Event  
Event Form1.Button2.Click  
    Form1.PictureBox1.Picture =  "Attachment:\11.bmp"   
End Event  
  
  
  
Event Form1.PictureBox1.Click  
    MessageBox 1  
End Event
相关文件下载地址
©下载资源版权归作者所有;本站所有资源均来源于网络,仅供学习使用,请支持正版!

图像路径测试脚本源码》有0个想法

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注