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

📄 frmprint.frm

📁 本软件是人事管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form frmPrint 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "打印可选项"
   ClientHeight    =   2505
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4470
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   9
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmPrint.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2505
   ScaleWidth      =   4470
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmdPrint 
      Caption         =   "打印..."
      Default         =   -1  'True
      Height          =   350
      Index           =   1
      Left            =   2100
      TabIndex        =   4
      Top             =   2100
      Width           =   1095
   End
   Begin VB.CommandButton cmdPrint 
      Caption         =   "打印机选项"
      Height          =   350
      Index           =   0
      Left            =   900
      TabIndex        =   3
      Top             =   2100
      Width           =   1095
   End
   Begin VB.CommandButton cmdPrint 
      Caption         =   "关闭(&C)"
      Height          =   350
      Index           =   2
      Left            =   3300
      TabIndex        =   1
      Top             =   2100
      Width           =   1095
   End
   Begin TabDlg.SSTab stbPrint 
      Height          =   1935
      Left            =   60
      TabIndex        =   0
      Top             =   60
      Width           =   4335
      _ExtentX        =   7646
      _ExtentY        =   3413
      _Version        =   393216
      Style           =   1
      Tabs            =   1
      TabsPerRow      =   1
      TabHeight       =   520
      TabCaption(0)   =   "职工登记表"
      TabPicture(0)   =   "frmPrint.frx":000C
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "lblName(1)"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).Control(1)=   "lblName(2)"
      Tab(0).Control(1).Enabled=   0   'False
      Tab(0).Control(2)=   "txtName(0)"
      Tab(0).Control(2).Enabled=   0   'False
      Tab(0).Control(3)=   "txtName(2)"
      Tab(0).Control(3).Enabled=   0   'False
      Tab(0).ControlCount=   4
      Begin VB.TextBox txtName 
         Height          =   300
         Index           =   2
         Left            =   1080
         TabIndex        =   6
         Text            =   "职  工  登  记  表"
         Top             =   1140
         Width           =   3015
      End
      Begin VB.TextBox txtName 
         Height          =   300
         Index           =   0
         Left            =   1080
         TabIndex        =   2
         Top             =   600
         Width           =   3015
      End
      Begin VB.Label lblName 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "副标题"
         Height          =   180
         Index           =   2
         Left            =   360
         TabIndex        =   7
         Top             =   1140
         Width           =   540
      End
      Begin VB.Label lblName 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "主标题"
         Height          =   180
         Index           =   1
         Left            =   360
         TabIndex        =   5
         Top             =   660
         Width           =   540
      End
   End
End
Attribute VB_Name = "frmPrint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdPrint_Click(Index As Integer)
    Select Case Index
    Case 0:
        frmInfo.cdgMain.ShowPrinter
    Case 1:
        drtUser.Show
    Case 2:
        Unload Me
    End Select
End Sub

Private Sub Form_Load()
    txtName(0).Text = Trim(frmInfo.Caption)
End Sub

Private Sub Form_Unload(Cancel As Integer)
    frmInfo.Enabled = True
End Sub

⌨️ 快捷键说明

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