form1.frm

来自「Gestion de una pizza rapida y sencilla」· FRM 代码 · 共 519 行 · 第 1/2 页

FRM
519
字号
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000040C0&
      Height          =   195
      Left            =   5520
      TabIndex        =   10
      Top             =   4560
      Width           =   960
   End
   Begin VB.Label Label6 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      Caption         =   "UNIT PRICE"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000040C0&
      Height          =   195
      Left            =   3960
      TabIndex        =   9
      Top             =   4560
      Width           =   1080
   End
   Begin VB.Label LPIZZA 
      AutoSize        =   -1  'True
      BackColor       =   &H80000009&
      Caption         =   "PIZA NAME"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   195
      Index           =   0
      Left            =   480
      TabIndex        =   8
      Top             =   5160
      Width           =   1020
   End
   Begin VB.Label Label5 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      Caption         =   "PIZZA"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000040C0&
      Height          =   195
      Left            =   480
      TabIndex        =   7
      Top             =   4440
      Width           =   555
   End
   Begin VB.Line Line2 
      X1              =   240
      X2              =   8640
      Y1              =   4920
      Y2              =   4920
   End
   Begin VB.Line Line1 
      X1              =   240
      X2              =   8640
      Y1              =   4320
      Y2              =   4320
   End
   Begin VB.Shape Shape1 
      Height          =   615
      Left            =   120
      Top             =   1200
      Width           =   3375
   End
   Begin VB.Label LARD 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      Caption         =   "ADDRESS"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   195
      Left            =   1200
      TabIndex        =   6
      Top             =   3240
      Width           =   900
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackColor       =   &H8000000E&
      Caption         =   "DELEVERY TO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000040C0&
      Height          =   240
      Left            =   240
      TabIndex        =   5
      Top             =   2160
      Width           =   1590
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackColor       =   &H8000000E&
      Caption         =   "ORDER NO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000040C0&
      Height          =   240
      Left            =   360
      TabIndex        =   4
      Top             =   1440
      Width           =   1215
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackColor       =   &H8000000E&
      Caption         =   "VENKY'S  PIZZA HOUSE"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   555
      Left            =   960
      TabIndex        =   3
      Top             =   360
      Width           =   5850
   End
   Begin VB.Label LCUS 
      AutoSize        =   -1  'True
      BackColor       =   &H80000009&
      Caption         =   "CUSTOMER NAME"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   195
      Left            =   1080
      TabIndex        =   2
      Top             =   2640
      Width           =   1635
   End
   Begin VB.Label LPH 
      AutoSize        =   -1  'True
      BackColor       =   &H80000009&
      Caption         =   "PHONE NO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   195
      Left            =   1200
      TabIndex        =   1
      Top             =   3720
      Width           =   990
   End
   Begin VB.Label LONO 
      AutoSize        =   -1  'True
      BackColor       =   &H80000009&
      Caption         =   "ORDER NO"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   195
      Left            =   2040
      TabIndex        =   0
      Top             =   1440
      Width           =   1005
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Command2_Click()
Command2.Visible = False
On Error GoTo HAND
     Form1.PrintForm
       MsgBox ("Send to Printer")
     Unload Me
     Exit Sub
HAND:
     MsgBox "Printer not connected or switched off", vbCritical, "VENKY'S PIZZA HOUSE"
      Command2.Visible = True
End Sub

Private Sub Form_Load()
Label10.Caption = Date
End Sub

⌨️ 快捷键说明

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