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

📄 manprint.frm

📁 一个用PIC做的无线点菜系统的系统
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form manPrinter 
   Caption         =   "打印机管理"
   ClientHeight    =   1665
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4485
   LinkTopic       =   "Form1"
   ScaleHeight     =   1665
   ScaleWidth      =   4485
   StartUpPosition =   1  '所有者中心
   Begin VB.CheckBox CheckAccount 
      Caption         =   "账台打印机:"
      Height          =   375
      Left            =   120
      TabIndex        =   6
      Top             =   1200
      Width           =   1575
   End
   Begin VB.CheckBox CheckKicthen 
      Caption         =   "厨房打印机:"
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   720
      Width           =   1575
   End
   Begin VB.CheckBox CheckService 
      Caption         =   "服务台打印机:"
      Height          =   180
      Left            =   120
      TabIndex        =   3
      Top             =   240
      Width           =   1575
   End
   Begin VB.TextBox txtAccountPrinter 
      Height          =   270
      Left            =   1800
      TabIndex        =   2
      Top             =   1200
      Width           =   2535
   End
   Begin VB.TextBox txtKicthenPrinter 
      Height          =   270
      Left            =   1800
      TabIndex        =   1
      Top             =   720
      Width           =   2535
   End
   Begin VB.TextBox txtServicePrinter 
      Height          =   270
      Left            =   1800
      TabIndex        =   0
      Top             =   240
      Width           =   2535
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   4320
      Top             =   120
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "服务台打印机:"
      Height          =   180
      Index           =   0
      Left            =   360
      TabIndex        =   4
      Top             =   240
      Width           =   1740
   End
End
Attribute VB_Name = "manPrinter"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub CheckAccount_Click()
AccPrtEnabled = CheckAccount
End Sub

Private Sub CheckKicthen_Click()
KitPrtEnabled = CheckKicthen
End Sub

Private Sub CheckService_Click()
SerPrtEnabled = CheckService
End Sub

Private Sub Form_Load()
    CheckService = SerPrtEnabled
    CheckKicthen = KitPrtEnabled
    CheckAccount = AccPrtEnabled
    txtAccountPrinter = AccountPrinterName
    txtKicthenPrinter = KicthenPrinterName
    txtServicePrinter = ServicePrinterName
End Sub

Private Sub Form_Unload(Cancel As Integer)

saveREG
End Sub

Private Sub txtAccountPrinter_Click()
    CommonDialog1.ShowPrinter
    txtAccountPrinter = Printer.DeviceName
    AccountPrinterName = Printer.DeviceName
    SaveSetting App.CompanyName, App.Revision, "AccountPrinterName", AccountPrinterName
End Sub

Private Sub txtKicthenPrinter_Click()
    CommonDialog1.ShowPrinter
    txtKicthenPrinter = Printer.DeviceName
    KicthenPrinterName = Printer.DeviceName
    SaveSetting App.CompanyName, App.Revision, "KicthenPrinterName", KicthenPrinterName
End Sub

Private Sub txtServicePrinter_Click()
    CommonDialog1.ShowPrinter
    txtServicePrinter = Printer.DeviceName
    ServicePrinterName = Printer.DeviceName
    SaveSetting App.CompanyName, App.Revision, "ServicePrinterName", ServicePrinterName
End Sub

⌨️ 快捷键说明

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