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

📄 form5.frm

📁 该系统为空车计量系统.完成对空车的自动计量.附串口处理程序.
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         Y2              =   6000
      End
      Begin VB.Line Line2
         Index           =   1
         X1              =   6480
         X2              =   6480
         Y1              =   5040
         Y2              =   6000
      End
      Begin VB.Line Line6
         Index           =   1
         X1              =   5520
         X2              =   8160
         Y1              =   5520
         Y2              =   5520
      End
      Begin VB.Label Label5
         BackStyle       =   0  'Transparent
         Caption         =   "现在计量"
         Height          =   255
         Index           =   1
         Left            =   5640
         TabIndex        =   16
         Top             =   5640
         Width           =   735
      End
      Begin VB.Label Label1
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "山东微山崔庄煤矿空车过磅单"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Index           =   1
         Left            =   2700
         TabIndex        =   15
         Top             =   120
         Width           =   3120
      End
      Begin VB.Label Label6
         BackStyle       =   0  'Transparent
         Caption         =   "皮  重"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   1
         Left            =   4440
         TabIndex        =   14
         Top             =   1440
         Width           =   735
      End
      Begin VB.Label Label15
         BackStyle       =   0  'Transparent
         Caption         =   "Label15"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   1
         Left            =   2760
         TabIndex        =   13
         Top             =   1440
         Width           =   975
      End
      Begin VB.Label Label18
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         Caption         =   "Label18"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   1
         Left            =   6600
         TabIndex        =   12
         Top             =   1800
         Width           =   975
      End
      Begin VB.Label Label23
         BackStyle       =   0  'Transparent
         Caption         =   "Label23"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   1
         Left            =   5520
         TabIndex        =   11
         Top             =   2760
         Width           =   1095
      End
      Begin VB.Label Label25
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "Label25"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   1
         Left            =   2280
         TabIndex        =   10
         Top             =   2760
         Width           =   840
      End
      Begin VB.Label Label29
         BackStyle       =   0  'Transparent
         Caption         =   "检斤时间:"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   0
         Left            =   1200
         TabIndex        =   9
         Top             =   720
         Width           =   1215
      End
      Begin VB.Line Line1
         Index           =   1
         X1              =   1200
         X2              =   8160
         Y1              =   1080
         Y2              =   1080
      End
      Begin VB.Line Line9
         Index           =   0
         X1              =   2520
         X2              =   2520
         Y1              =   720
         Y2              =   2040
      End
      Begin VB.Line Line4
         Index           =   1
         X1              =   4080
         X2              =   4080
         Y1              =   1080
         Y2              =   2040
      End
      Begin VB.Line Line5
         Index           =   1
         X1              =   5520
         X2              =   5520
         Y1              =   1080
         Y2              =   2040
      End
      Begin VB.Line Line8
         Index           =   0
         X1              =   6480
         X2              =   6480
         Y1              =   1080
         Y2              =   2040
      End
      Begin VB.Label Label9
         Alignment       =   1  'Right Justify
         BackStyle       =   0  'Transparent
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   0
         Left            =   6600
         TabIndex        =   8
         Top             =   1320
         Width           =   1335
      End
      Begin VB.Label Label8
         BackStyle       =   0  'Transparent
         Caption         =   "上次计量"
         Height          =   255
         Index           =   0
         Left            =   5640
         TabIndex        =   7
         Top             =   1320
         Width           =   855
      End
      Begin VB.Label Label5
         BackStyle       =   0  'Transparent
         Caption         =   "现在计量"
         Height          =   255
         Index           =   0
         Left            =   5640
         TabIndex        =   6
         Top             =   1800
         Width           =   735
      End
      Begin VB.Line Line6
         Index           =   0
         X1              =   5520
         X2              =   8160
         Y1              =   1680
         Y2              =   1680
      End
      Begin VB.Line Line2
         Index           =   0
         X1              =   6480
         X2              =   6480
         Y1              =   1200
         Y2              =   2160
      End
      Begin VB.Line Line5
         Index           =   0
         X1              =   5520
         X2              =   5520
         Y1              =   1200
         Y2              =   2160
      End
      Begin VB.Line Line4
         Index           =   0
         X1              =   4080
         X2              =   4080
         Y1              =   1200
         Y2              =   2160
      End
      Begin VB.Line Line3
         Index           =   0
         X1              =   2520
         X2              =   2520
         Y1              =   1200
         Y2              =   2640
      End
      Begin VB.Shape Shape2
         BackColor       =   &H0000FF00&
         BorderColor     =   &H00000000&
         BorderWidth     =   2
         Height          =   2535
         Index           =   0
         Left            =   1200
         Top             =   720
         Width           =   7035
      End
      Begin VB.Label Label30
         BackStyle       =   0  'Transparent
         Caption         =   "Label30"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   1
         Left            =   3720
         TabIndex        =   3
         Top             =   720
         Width           =   4080
      End
      Begin VB.Label Label14
         BackStyle       =   0  'Transparent
         Caption         =   "负责人:"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   0
         Left            =   1200
         TabIndex        =   2
         Top             =   2760
         Width           =   990
      End
      Begin VB.Label Label12
         BackStyle       =   0  'Transparent
         Caption         =   "司  磅 :"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   0
         Left            =   4320
         TabIndex        =   1
         Top             =   2760
         Width           =   1215
      End
      Begin VB.Label Label3
         BackStyle       =   0  'Transparent
         Caption         =   "车  号"
         BeginProperty Font
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   255
         Index           =   0
         Left            =   1320
         TabIndex        =   0
         Top             =   1440
         Width           =   855
      End
   End
   Attribute VB_Name = "Form5"
   Attribute VB_GlobalNameSpace = False
   Attribute VB_Creatable = False
   Attribute VB_PredeclaredId = True
   Attribute VB_Exposed = False
'CODE Manger By BcodeXRose



'##################################################################
'## 过程名称:Command3_Click
'## 参数: 无
'##################################################################
Private Sub Command3_Click()
    'Form1.Show
    Command3.Visible = False
    Command4(0).Visible = False
    Me.PrintForm
    Command3.Visible = True
    Command4(0).Visible = True
    Unload Me
End Sub
    
'##################################################################
'## 过程名称:Command4_Click
'## 参数:Index 为Integer型
'##################################################################
Private Sub Command4_Click(Index As Integer)
    Unload test
End Sub
    
'##################################################################
'## 过程名称:Form_Load
'## 参数: 无
'##################################################################
Private Sub Form_Load()
    On Error Resume Next
    For i = 0 To 2
        Label1(i) = jl_qym & "空车过磅单"
        'Label27(1).Caption = "存    根"
        'Label27
        
        'For i = 0 To 0
        Label15(i).Caption = Form1.Label11.Caption
        Label9(i).Caption = Form1.Label13.Caption
        Label18(i).Caption = Form1.Label12.Caption
        Label23(i).Caption = Form1.Label18.Caption
        Label10(i).Caption = Form1.Label14.Caption
        Label25(i).Caption = Form1.Label17.Caption
        Label30(i).Caption = Format(Now, "yyyy年mm月dd日hh时mm分")
        
    Next i
    test.Show
    
End Sub
    
'##################################################################
'## 过程名称:Form_Unload
'## 参数:Cancel 为Integer型
'##################################################################
Private Sub Form_Unload(Cancel As Integer)
    jl_pz1 = 0
    jl_pz = 0
    ''jl_zg = 0
    '‘mainfrm.Picture1.Visible = True
End Sub
    

⌨️ 快捷键说明

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