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

📄 zxsp.frm

📁 煤炭销售管理系统.完成煤炭销售的日常管理工作,和重车计量系统空车计量系统配合使用.
💻 FRM
📖 第 1 页 / 共 3 页
字号:
         Width           =   3735
         Begin VB.PictureBox Picture12 
            BackColor       =   &H00C0C0C0&
            Height          =   1695
            Left            =   480
            ScaleHeight     =   1644
            ScaleWidth      =   2724
            TabIndex        =   16
            Top             =   1320
            Width           =   2775
            Begin MSComCtl2.Animation Animation3 
               Height          =   1095
               Left            =   0
               TabIndex        =   17
               Top             =   480
               Width           =   495
               _ExtentX        =   868
               _ExtentY        =   1926
               _Version        =   393216
               BackColor       =   12632256
               FullWidth       =   41
               FullHeight      =   91
            End
            Begin MSComCtl2.Animation Animation2 
               Height          =   495
               Left            =   205
               TabIndex        =   18
               Top             =   0
               Width           =   975
               _ExtentX        =   1715
               _ExtentY        =   868
               _Version        =   393216
               AutoPlay        =   -1  'True
               BackColor       =   12632256
               FullWidth       =   81
               FullHeight      =   41
            End
            Begin MSComCtl2.Animation Animation1 
               Height          =   855
               Left            =   480
               TabIndex        =   19
               Top             =   480
               Width           =   2175
               _ExtentX        =   3831
               _ExtentY        =   1503
               _Version        =   393216
               BackColor       =   12632256
               FullWidth       =   181
               FullHeight      =   71
            End
         End
         Begin VB.TextBox Text3 
            BackColor       =   &H80000006&
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   12
               Charset         =   134
               Weight          =   700
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            ForeColor       =   &H000000FF&
            Height          =   375
            Left            =   600
            TabIndex        =   3
            Top             =   600
            Width           =   1455
         End
         Begin VB.TextBox Text4 
            BackColor       =   &H80000006&
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   12
               Charset         =   134
               Weight          =   700
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            ForeColor       =   &H000000FF&
            Height          =   375
            Left            =   2520
            TabIndex        =   2
            Top             =   600
            Width           =   1095
         End
         Begin VB.Line Line3 
            BorderColor     =   &H00C0FFFF&
            X1              =   0
            X2              =   3600
            Y1              =   480
            Y2              =   480
         End
         Begin VB.Label Label3 
            Alignment       =   2  'Center
            BackStyle       =   0  'Transparent
            Caption         =   "皮带秤监视屏"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   14.4
               Charset         =   134
               Weight          =   700
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            ForeColor       =   &H000000FF&
            Height          =   255
            Left            =   720
            TabIndex        =   6
            Top             =   120
            Width           =   1815
         End
         Begin VB.Label Label4 
            BackStyle       =   0  'Transparent
            Caption         =   "累计"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   12
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            ForeColor       =   &H0080FF80&
            Height          =   375
            Left            =   0
            TabIndex        =   5
            Top             =   600
            Width           =   495
         End
         Begin VB.Label Label5 
            BackStyle       =   0  'Transparent
            Caption         =   "流量"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   12
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            ForeColor       =   &H0000FF00&
            Height          =   375
            Left            =   2040
            TabIndex        =   4
            Top             =   600
            Width           =   495
         End
      End
      Begin VB.Image Image3 
         Height          =   384
         Left            =   9840
         Picture         =   "zxsp.frx":0CDB
         ToolTipText     =   "退出"
         Top             =   120
         Width           =   384
      End
      Begin VB.Label Label15 
         BackStyle       =   0  'Transparent
         Caption         =   "销售情况"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   21.6
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF0000&
         Height          =   495
         Left            =   3960
         TabIndex        =   15
         Top             =   0
         Width           =   2655
      End
      Begin VB.Line Line14 
         X1              =   0
         X2              =   11280
         Y1              =   600
         Y2              =   600
      End
   End
   Begin VB.Label Label8 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "重车过磅详情"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.4
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   360
      TabIndex        =   23
      Top             =   4200
      Width           =   11295
   End
End
Attribute VB_Name = "zxsp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose

Dim sl As Double

Dim dh As Integer
Dim miaoshu(5) As String
Dim ls(5) As Long
Dim lj(5) As Double

'##################################################################
'## 过程名称:Form_Load
'## 参数: 无
'##################################################################
Private Sub Form_Load()
    'On Error Resume Next
    Adodc1.RecordSource = "select * from jlk where sj='" & Format(Now, "yyyy-mm-dd") & "'"
    Adodc1.Refresh
End Sub
    
'##################################################################
'## 过程名称:Text11_Change
'## 参数: 无
'##################################################################
Private Sub Text11_Change()
    sl = Val(Text11.Text)
End Sub
    
Private Sub Form_Unload(Cancel As Integer)
 MDIForm1.Toolbar1.Visible = True
End Sub

'##################################################################
'## 过程名称:Image3_Click
'## 参数: 无
'##################################################################
Private Sub Image3_Click()
    Unload Me
End Sub
    
'##################################################################
'## 过程名称:Text2_Change
'## 参数: 无
'##################################################################
Private Sub Text2_Change()
    On Error Resume Next
    If Image2.Left > 3495 Or Val(Text2.Text) = 0 Then
        Image2.Left = 0
        Exit Sub
    End If
    'For ii = 0 To 30
    Image2.Left = Image2.Left + 60
    'Next ii
    
End Sub
    
'##################################################################
'## 过程名称:Text4_Change
'## 参数: 无
'##################################################################
Private Sub Text4_Change()
    If Val(Text4.Text) > 0 Then
        Animation1.Open App.Path & "\image\d0.avi"
        Animation2.Open App.Path & "\image\d1.avi"
        Animation3.Open App.Path & "\image\dem.avi"
        Animation1.AutoPlay = True
        Animation2.AutoPlay = True
        Animation3.AutoPlay = True
    Else
        Animation1.AutoPlay = False
        Animation2.AutoPlay = False
        Animation3.AutoPlay = False
        
        
    End If
End Sub
    
'##################################################################
'## 过程名称:Text5_Change
'## 参数: 无
'##################################################################
Private Sub Text5_Change()
    On Error Resume Next
    If Image1.Left > 3495 Or Val(Text5.Text) = 0 Then
        Image1.Left = 0
        Exit Sub
    End If
    'For ii = 0 To 30
    Image1.Left = Image1.Left + 60
    'Next ii
    If Image1.Left > 3495 Or Text5 = 0 Then Image1.Left = 0
    
End Sub
    
    
'##################################################################
'## 过程名称:Timer1_Timer
'## 参数: 无
'##################################################################
Private Sub Timer1_Timer()
   On Error Resume Next
    Adodc3.Refresh
    Text3.Text = Adodc3.Recordset.Fields("累重示数")
    Text4.Text = Adodc3.Recordset.Fields("流量示数")
    
    
End Sub
    
'##################################################################
'## 过程名称:Timer2_Timer
'## 参数: 无
'##################################################################
Private Sub Timer2_Timer()
    'On Error Resume Next
    Adodc1.RecordSource = "select * from jlk where sj like '%" & Format(Now, "yyyy-mm-dd") & "%'"
    Adodc1.Refresh
    DataGrid1.Refresh
    Adodc1.Recordset.MoveLast
    Adodc2.RecordSource = "select zhongliang from chetmp where id=1"
    Adodc2.Refresh
    If Adodc2.Recordset.EOF Then
        Text5.Text = 0
    Else
        Text5.Text = Adodc2.Recordset.Fields(0)
    End If
    Adodc2.RecordSource = "select zhongliang from chetmp where id=2"
    Adodc2.Refresh
    If Adodc2.Recordset.EOF Then
        Text2.Text = 0
    Else
        
        Text2.Text = Adodc2.Recordset.Fields(0)
    End If
End Sub

⌨️ 快捷键说明

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