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

📄 frmbj.frm

📁 驾驶员考试系统界面不错在98下运行C/S模式
💻 FRM
字号:
VERSION 5.00
Object = "{CAD43299-78DF-495D-ABF2-2582C5C95407}#1.0#0"; "jcFrame.ocx"
Object = "{A245333E-5FFF-4742-BADC-F4D61052562E}#1.0#0"; "XPButton.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmbj 
   AutoRedraw      =   -1  'True
   BackColor       =   &H00D8E9EC&
   Caption         =   "更改背景"
   ClientHeight    =   8775
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   10890
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   585
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   726
   WindowState     =   2  'Maximized
   Begin VB.PictureBox PicTop 
      BackColor       =   &H00808080&
      BorderStyle     =   0  'None
      Height          =   450
      Left            =   45
      ScaleHeight     =   30
      ScaleMode       =   3  'Pixel
      ScaleWidth      =   540
      TabIndex        =   6
      TabStop         =   0   'False
      Top             =   0
      Width           =   8100
      Begin VB.Image imgIcon 
         Height          =   240
         Left            =   60
         Picture         =   "frmbj.frx":0000
         Top             =   120
         Width           =   240
      End
      Begin VB.Label Label28 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "更换背景"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FFFFFF&
         Height          =   210
         Left            =   600
         TabIndex        =   7
         Top             =   120
         Width           =   900
      End
   End
   Begin jcFramesOCX.jcFrames jcFrames1 
      Height          =   2655
      Left            =   2400
      Top             =   480
      Width           =   5775
      _ExtentX        =   10186
      _ExtentY        =   4683
      FrameColor      =   192
      FillColor       =   15186848
      TextBoxColor    =   11595760
      Style           =   2
      RoundedCornerTxtBox=   -1  'True
      Caption         =   "更改背景       "
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "楷体_GB2312"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Begin XPButton.ccXPButton Cancel 
         Height          =   375
         Left            =   4440
         TabIndex        =   9
         Top             =   2040
         Width           =   975
         _ExtentX        =   1720
         _ExtentY        =   661
         Caption         =   "退出"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "楷体_GB2312"
            Size            =   14.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin XPButton.ccXPButton OK 
         Height          =   375
         Left            =   2880
         TabIndex        =   8
         Top             =   2040
         Width           =   975
         _ExtentX        =   1720
         _ExtentY        =   661
         Caption         =   "更改"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "楷体_GB2312"
            Size            =   14.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin Project1.FTextBox txtlj 
         Height          =   300
         Left            =   1200
         TabIndex        =   5
         Top             =   525
         Width           =   3255
         _ExtentX        =   5741
         _ExtentY        =   529
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         FontName        =   "宋体"
         FontSize        =   9
      End
      Begin Project1.xpradiobutton radio2 
         Height          =   255
         Left            =   4560
         TabIndex        =   4
         Top             =   1320
         Width           =   855
         _ExtentX        =   1508
         _ExtentY        =   450
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "楷体_GB2312"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Caption         =   "平铺"
         BackColor       =   15186848
         ForeColor       =   8388608
      End
      Begin Project1.xpradiobutton radio1 
         Height          =   255
         Left            =   2640
         TabIndex        =   3
         Top             =   1320
         Width           =   855
         _ExtentX        =   1508
         _ExtentY        =   450
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "楷体_GB2312"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Value           =   -1  'True
         Caption         =   "拉伸"
         BackColor       =   15186848
         ForeColor       =   8388608
      End
      Begin Project1.xpcheckbox check 
         Height          =   255
         Left            =   120
         TabIndex        =   2
         Top             =   1320
         Width           =   1335
         _ExtentX        =   2355
         _ExtentY        =   450
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "楷体_GB2312"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Caption         =   "默认背景"
         BackColor       =   15186848
         ForeColor       =   8388608
      End
      Begin XPButton.ccXPButton xpbutxz 
         Height          =   375
         Left            =   4680
         TabIndex        =   1
         Top             =   480
         Width           =   855
         _ExtentX        =   1508
         _ExtentY        =   661
         Caption         =   "选择"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "Verdana"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "图片路径:"
         BeginProperty Font 
            Name            =   "楷体_GB2312"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Left            =   120
         TabIndex        =   0
         Top             =   600
         Width           =   1335
      End
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   5880
      Top             =   1080
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
End
Attribute VB_Name = "frmbj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Cancel_Click()
Unload Me
End Sub

Private Sub Form_Load()
 On Error Resume Next
    Dim ls_Path
    ls_Path = GetSetting("OrientZiXun", "BackGround", "PathValue")
    Dim ls_tmp As String
    '读取注册的设置,是拉伸还是平铺,然后设置菜单项
    ls_tmp = GetSetting("OrientZiXun", "BackGround", "LaShen")
    If ls_tmp = "True" Then
        radio1.Value = True
    Else
        radio2.Value = True
    End If
    If ls_Path = "" Then
       check.Value = Checked
    Else
       check.Value = Unchecked
    End If
End Sub

Private Sub Form_Resize()
    PicTop.Width = Width / 15 - 16
    Cls
    Line (2, 2)-(Width / 15 - 14, Height / 15 - 29), 10921638, B
End Sub

Private Sub OK_Click()
If radio1.Value = True Then
   SaveSetting "OrientZiXun", "BackGround", "LaShen", "True"
End If
If radio2.Value = True Then
   SaveSetting "OrientZiXun", "BackGround", "LaShen", "False"
End If
If check.Value = Checked Then
   SaveSetting "OrientZiXun", "BackGround", "PathValue", ""
End If
 frmWelcome.SetBack
 frmWelcome.Hide
End Sub

Private Sub xpbutxz_Click()
On Error GoTo ExitNow
    CommonDialog1.Filter = "所有文件 (*.*)|*.*"
    CommonDialog1.FilterIndex = 2
    CommonDialog1.DefaultExt = "bmp"
    CommonDialog1.DialogTitle = "选择一个图片文件"
    CommonDialog1.CancelError = True
    CommonDialog1.ShowOpen
    currentImageFile = CommonDialog1.FileName
    SaveSetting "OrientZiXun", "BackGround", "PathValue", currentImageFile
    txtlj.Text = currentImageFile
ExitNow:
End Sub

⌨️ 快捷键说明

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