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

📄 frmnew.frm

📁 针对各种管理系统提供有的VB源代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmNew 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "对话框标题"
   ClientHeight    =   6195
   ClientLeft      =   2040
   ClientTop       =   1260
   ClientWidth     =   8235
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6195
   ScaleWidth      =   8235
   ShowInTaskbar   =   0   'False
   Begin VB.Data datPrimaryRS 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "D:\MyProducts\Programs\Manager\Manager.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   0
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "向导表"
      Top             =   5700
      Visible         =   0   'False
      Width           =   1065
   End
   Begin VB.CommandButton cmdNext 
      Caption         =   ">>"
      Height          =   375
      Left            =   5550
      TabIndex        =   4
      Top             =   5700
      Width           =   1215
   End
   Begin VB.CommandButton cmdPrev 
      Caption         =   "<<"
      Height          =   375
      Left            =   4200
      TabIndex        =   3
      Top             =   5700
      Width           =   1215
   End
   Begin VB.PictureBox Picture1 
      Height          =   5565
      Left            =   75
      ScaleHeight     =   5505
      ScaleWidth      =   7980
      TabIndex        =   2
      Top             =   0
      Width           =   8040
      Begin VB.Frame Frame1 
         Caption         =   "[选择]"
         Height          =   1665
         Left            =   75
         TabIndex        =   8
         Top             =   75
         Width           =   7815
         Begin VB.CommandButton cmdApply 
            Caption         =   "应用"
            Height          =   390
            Left            =   6300
            TabIndex        =   13
            Top             =   750
            Width           =   1215
         End
         Begin VB.ComboBox Combo2 
            Height          =   300
            Left            =   2100
            TabIndex        =   12
            Text            =   "Combo2"
            Top             =   825
            Width           =   3390
         End
         Begin VB.ComboBox Combo1 
            Height          =   300
            Left            =   2100
            TabIndex        =   11
            Text            =   "Combo1"
            Top             =   225
            Width           =   3390
         End
         Begin VB.Label Label3 
            Caption         =   "主题:"
            Height          =   315
            Left            =   225
            TabIndex        =   10
            Top             =   900
            Width           =   1365
         End
         Begin VB.Label Label2 
            Caption         =   "类别:"
            Height          =   315
            Left            =   225
            TabIndex        =   9
            Top             =   300
            Width           =   1590
         End
      End
      Begin VB.CheckBox Check1 
         Caption         =   "是否选择"
         DataField       =   "是否选择"
         DataSource      =   "datPrimaryRS"
         Height          =   315
         Left            =   6375
         TabIndex        =   6
         Top             =   5100
         Width           =   1515
      End
      Begin VB.Label Label1 
         BackColor       =   &H00C0C000&
         Caption         =   "Label1"
         DataField       =   "步骤说明"
         DataSource      =   "datPrimaryRS"
         Height          =   3015
         Left            =   4725
         TabIndex        =   7
         Top             =   1875
         Width           =   3165
      End
      Begin VB.OLE OLE1 
         Appearance      =   0  'Flat
         BackColor       =   &H00C0FFFF&
         DataField       =   "步骤样本"
         DataSource      =   "datPrimaryRS"
         Height          =   3615
         Left            =   75
         TabIndex        =   5
         Top             =   1875
         Width           =   4515
      End
   End
   Begin VB.CommandButton CancelButton 
      Caption         =   "取消"
      Height          =   375
      Left            =   2850
      TabIndex        =   1
      Top             =   5700
      Width           =   1215
   End
   Begin VB.CommandButton OKButton 
      Caption         =   "确定"
      Height          =   375
      Left            =   6900
      TabIndex        =   0
      Top             =   5700
      Width           =   1215
   End
End
Attribute VB_Name = "frmNew"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit

Private Sub cmdNext_Click()
    datPrimaryRS.Recordset.MoveNext
End Sub

Private Sub cmdPrev_Click()
    datPrimaryRS.Recordset.MovePrevious
End Sub

Private Sub Form_Load()
datPrimaryRS.DatabaseName = conn
End Sub

⌨️ 快捷键说明

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