欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

clsdrugamount.cls

医院门诊医生工作站,vb6 SqlServer
CLS
字号:
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "clsDrugAmount"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "SavedWithClassBuilder" ,"Yes"
Attribute VB_Ext_KEY = "Top_Level" ,"Yes"
Option Explicit

Public ItemCode As String

Public ItemName As String

Public Amount As Long

Public BusStorage
Public InpatiStorage
Public OpenStorage

Private Sub Class_Initialize()
    BusStorage = Null
    InpatiStorage = Null
    OpenStorage = Null
End Sub
Public Property Get StorageDes() As String
    StorageDes = IIf(Storage = -1, "0", CStr(Storage))
End Property
Public Property Get Storage() As Long
    If IsNull(BusStorage) And IsNull(InpatiStorage) And IsNull(OpenStorage) Then
        Storage = -1
        Exit Property
    End If
    If Not IsNull(BusStorage) Then
        Storage = Storage + BusStorage
    End If
    If Not IsNull(InpatiStorage) Then
        Storage = Storage + InpatiStorage
    End If
    If Not IsNull(OpenStorage) Then
        Storage = Storage + OpenStorage
    End If
End Property


⌨️ 快捷键说明

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