📄 frmlook.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Begin VB.Form frmlook
BorderStyle = 3 'Fixed Dialog
Caption = "药房药品查看"
ClientHeight = 4620
ClientLeft = 45
ClientTop = 330
ClientWidth = 9480
Icon = "frmlook.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
Picture = "frmlook.frx":030A
ScaleHeight = 4620
ScaleWidth = 9480
ShowInTaskbar = 0 'False
Begin MSHierarchicalFlexGridLib.MSHFlexGrid Mroom
Height = 3975
Left = 120
TabIndex = 1
Top = 120
Width = 9255
_ExtentX = 16325
_ExtentY = 7011
_Version = 393216
BackColor = 16777215
ForeColor = 255
Cols = 9
FixedCols = 0
BackColorFixed = 16760767
ForeColorFixed = 0
BackColorSel = 10352125
ForeColorSel = 16711680
BackColorBkg = 16777215
GridColorFixed = 16428967
SelectionMode = 1
AllowUserResizing= 3
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_NumberOfBands = 1
_Band(0).Cols = 9
End
Begin VB.CommandButton Command1
Caption = "关闭&(C)"
Height = 350
Left = 8040
TabIndex = 0
Top = 4200
Width = 1200
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 5880
Top = 4200
Visible = 0 'False
Width = 1575
_ExtentX = 2778
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
End
Attribute VB_Name = "frmlook"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
On Error GoTo err1
frmlook.Top = (frmmain.Height - frmlook.Height) / 2 - 500
frmlook.Left = (frmmain.Width - frmlook.Width) / 2
Adodc1.ConnectionString = frmlogin.conn
Adodc1.RecordSource = "select 编号,名称,规格,单位,数量,零售价,失效期,调入日期,调拨人 from yaofang order by 编号"
Adodc1.Refresh
Set Mroom.DataSource = Adodc1
Exit Sub
err1:
MsgBox "数据库连接失败!"
End Sub
Private Sub Form_Unload(Cancel As Integer)
frmmain.StatusBar1.Panels(2) = "目前没有窗口被激活"
End Sub
Private Sub Form_Activate()
frmmain.StatusBar1.Panels(2) = "活动窗口:" & frmlook.Caption
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -