⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmadd.frm

📁 VB写PC端ISP程序W78E516UpdataOfVB,请配合本人用C51写的华邦8位单片机ISP程序w78e516_ISPofC51使用
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmAdd 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "编辑地址设置"
   ClientHeight    =   3795
   ClientLeft      =   45
   ClientTop       =   315
   ClientWidth     =   5790
   Icon            =   "FrmAdd.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3795
   ScaleWidth      =   5790
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Fram 
      Caption         =   "目标地址"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1335
      Index           =   1
      Left            =   240
      TabIndex        =   9
      Top             =   2280
      Visible         =   0   'False
      Width           =   4215
      Begin VB.TextBox TextAdd 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   3
         Left            =   2040
         MaxLength       =   5
         TabIndex        =   10
         Text            =   "00000"
         Top             =   480
         Width           =   1455
      End
      Begin VB.Label Label1 
         Caption         =   "H"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   7
         Left            =   3600
         TabIndex        =   13
         Top             =   480
         Width           =   255
      End
      Begin VB.Label Label1 
         Caption         =   " "
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   6
         Left            =   4680
         TabIndex        =   12
         Top             =   1080
         Width           =   255
      End
      Begin VB.Label LB 
         Caption         =   "目标地址"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   3
         Left            =   120
         TabIndex        =   11
         Top             =   480
         Width           =   2895
      End
   End
   Begin VB.Frame Fram 
      Caption         =   "源地址"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1815
      Index           =   0
      Left            =   240
      TabIndex        =   2
      Top             =   240
      Width           =   4215
      Begin VB.TextBox TextAdd 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   2
         Left            =   2520
         MaxLength       =   2
         TabIndex        =   15
         Text            =   "FF"
         Top             =   1920
         Width           =   855
      End
      Begin VB.TextBox TextAdd 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   1
         Left            =   1920
         MaxLength       =   5
         TabIndex        =   4
         Text            =   "FFFFF"
         Top             =   1080
         Width           =   1455
      End
      Begin VB.TextBox TextAdd 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   0
         Left            =   1920
         MaxLength       =   5
         TabIndex        =   3
         Text            =   "00000"
         Top             =   360
         Width           =   1455
      End
      Begin VB.Label Label1 
         Caption         =   "H"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   2
         Left            =   3480
         TabIndex        =   16
         Top             =   1920
         Width           =   255
      End
      Begin VB.Label LB 
         Caption         =   "填充字节"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   2
         Left            =   120
         TabIndex        =   14
         Top             =   1920
         Width           =   1935
      End
      Begin VB.Label LB 
         Caption         =   "末地址"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   1
         Left            =   120
         TabIndex        =   8
         Top             =   1080
         Width           =   2415
      End
      Begin VB.Label LB 
         Caption         =   "首地址"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   0
         Left            =   120
         TabIndex        =   7
         Top             =   480
         Width           =   2415
      End
      Begin VB.Label Label1 
         Caption         =   "H"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   0
         Left            =   3480
         TabIndex        =   6
         Top             =   1080
         Width           =   255
      End
      Begin VB.Label Label1 
         Caption         =   "H"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Index           =   1
         Left            =   3480
         TabIndex        =   5
         Top             =   360
         Width           =   255
      End
   End
   Begin VB.CommandButton CMD 
      Caption         =   "取消"
      Height          =   495
      Index           =   1
      Left            =   4680
      TabIndex        =   1
      Top             =   1320
      Width           =   855
   End
   Begin VB.CommandButton CMD 
      Caption         =   "确定"
      Height          =   495
      Index           =   0
      Left            =   4680
      TabIndex        =   0
      Top             =   480
      Width           =   855
   End
End
Attribute VB_Name = "FrmAdd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmd_Click(Index As Integer)
Select Case Index
      Case 0
        SourceStrAdd = CLng("&h" + TextAdd(0).Text)
        SourceEndAdd = CLng("&h" + TextAdd(1).Text)
        FillData = CByte("&H" + TextAdd(2).Text)
        DestStrAdd = CLng("&H" + TextAdd(3).Text)
     '   DestEndAdd = CLng("&H" + TextAdd(4).Text)
        OKFlag = True
        Unload FrmAdd
     Case 1
        OKFlag = False
       Unload FrmAdd
End Select
End Sub

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
 'OKFlag = False
       Unload FrmAdd
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -