?? frm_ylhwdd.frm
字號:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frm_ylhwdd
BackColor = &H00FFFFFF&
BorderStyle = 4 'Fixed ToolWindow
ClientHeight = 4860
ClientLeft = 45
ClientTop = 270
ClientWidth = 8220
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4860
ScaleWidth = 8220
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text10
BorderStyle = 0 'None
DataField = "金額"
DataSource = "Adodc1"
Height = 300
Left = 6360
Locked = -1 'True
TabIndex = 22
Top = 2205
Width = 1455
End
Begin VB.TextBox Text11
BorderStyle = 0 'None
DataField = "單位"
DataSource = "Adodc1"
Height = 300
Left = 1320
Locked = -1 'True
TabIndex = 21
Top = 2205
Width = 975
End
Begin VB.TextBox Text5
BorderStyle = 0 'None
DataField = "供應商編號"
DataSource = "Adodc1"
Height = 300
Left = 1320
Locked = -1 'True
TabIndex = 20
Top = 1725
Width = 1335
End
Begin VB.TextBox Text9
BorderStyle = 0 'None
DataField = "單價"
DataSource = "Adodc1"
Height = 315
Left = 2940
Locked = -1 'True
TabIndex = 19
Top = 2205
Width = 975
End
Begin VB.TextBox Text8
BorderStyle = 0 'None
DataField = "發單時間"
DataSource = "Adodc1"
Height = 300
Left = 6360
Locked = -1 'True
TabIndex = 18
Top = 1725
Width = 1455
End
Begin VB.TextBox Text4
BorderStyle = 0 'None
DataField = "收貨日期"
DataSource = "Adodc1"
Height = 300
Left = 3720
Locked = -1 'True
TabIndex = 17
Top = 1725
Width = 1575
End
Begin VB.TextBox Text1
BorderStyle = 0 'None
DataField = "單號"
DataSource = "Adodc1"
Height = 300
Left = 1320
Locked = -1 'True
TabIndex = 4
Top = 1125
Width = 1335
End
Begin VB.TextBox Text2
BorderStyle = 0 'None
DataField = "貨物名稱"
DataSource = "Adodc1"
Height = 300
Left = 3720
Locked = -1 'True
TabIndex = 3
Top = 1125
Width = 1575
End
Begin VB.TextBox Text3
BorderStyle = 0 'None
DataField = "批號"
DataSource = "Adodc1"
Height = 300
Left = 6360
Locked = -1 'True
TabIndex = 2
Top = 1125
Width = 1455
End
Begin VB.TextBox Text6
BorderStyle = 0 'None
DataField = "數量"
DataSource = "Adodc1"
Height = 300
Left = 4680
Locked = -1 'True
TabIndex = 1
Top = 2205
Width = 855
End
Begin VB.TextBox Text7
BorderStyle = 0 'None
DataField = "備注"
DataSource = "Adodc1"
Height = 1785
Left = 1320
Locked = -1 'True
TabIndex = 0
Top = 2640
Width = 6495
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 3000
Top = 3600
Width = 2775
_ExtentX = 4895
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=cggl"
OLEDBString = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=cggl"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from Table_cgdd"
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
Begin VB.Line Line17
X1 = 2340
X2 = 2340
Y1 = 2040
Y2 = 2520
End
Begin VB.Line Line16
X1 = 2880
X2 = 2880
Y1 = 2040
Y2 = 2520
End
Begin VB.Line Line15
X1 = 3960
X2 = 3960
Y1 = 2040
Y2 = 2520
End
Begin VB.Line Line14
X1 = 4560
X2 = 4560
Y1 = 2040
Y2 = 2520
End
Begin VB.Line Line13
X1 = 5640
X2 = 5640
Y1 = 2040
Y2 = 2520
End
Begin VB.Line Line12
X1 = 7920
X2 = 7920
Y1 = 960
Y2 = 4560
End
Begin VB.Line Line11
X1 = 6285
X2 = 6285
Y1 = 960
Y2 = 2520
End
Begin VB.Line Line10
X1 = 5340
X2 = 5340
Y1 = 960
Y2 = 2040
End
Begin VB.Line Line9
X1 = 3645
X2 = 3645
Y1 = 960
Y2 = 2040
End
Begin VB.Line Line8
X1 = 2685
X2 = 2685
Y1 = 960
Y2 = 2040
End
Begin VB.Line Line7
X1 = 285
X2 = 7915
Y1 = 2520
Y2 = 2520
End
Begin VB.Line Line6
X1 = 285
X2 = 7915
Y1 = 2040
Y2 = 2040
End
Begin VB.Line Line5
X1 = 285
X2 = 7915
Y1 = 1440
Y2 = 1440
End
Begin VB.Line Line4
X1 = 1275
X2 = 1275
Y1 = 960
Y2 = 4560
End
Begin VB.Line Line3
X1 = 285
X2 = 7910
Y1 = 4560
Y2 = 4560
End
Begin VB.Line Line2
X1 = 285
X2 = 285
Y1 = 960
Y2 = 4560
End
Begin VB.Line Line1
X1 = 285
X2 = 7920
Y1 = 960
Y2 = 960
End
Begin VB.Label Label12
BackStyle = 0 'Transparent
Caption = "貨物訂單明細表"
BeginProperty Font
Name = "宋體"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 3000
TabIndex = 16
Top = 360
Width = 2535
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "貨物名稱"
ForeColor = &H00000000&
Height = 255
Left = 2760
TabIndex = 15
Top = 1125
Width = 975
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "批號"
ForeColor = &H00000000&
Height = 255
Left = 5520
TabIndex = 14
Top = 1125
Width = 615
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "收貨日期"
ForeColor = &H00000000&
Height = 255
Left = 2760
TabIndex = 13
Top = 1725
Width = 975
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "發單日期"
ForeColor = &H00000000&
Height = 255
Left = 5400
TabIndex = 12
Top = 1725
Width = 855
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "單價"
ForeColor = &H00000000&
Height = 375
Left = 2400
TabIndex = 11
Top = 2220
Width = 735
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "數量"
ForeColor = &H00000000&
Height = 255
Left = 4080
TabIndex = 10
Top = 2220
Width = 495
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
Caption = "備注"
ForeColor = &H00000000&
Height = 195
Left = 600
TabIndex = 9
Top = 2640
Width = 615
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "單號"
ForeColor = &H00000000&
Height = 255
Left = 600
TabIndex = 8
Top = 1125
Width = 495
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "供應商編號"
ForeColor = &H00000000&
Height = 495
Left = 600
TabIndex = 7
Top = 1560
Width = 615
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "單位"
ForeColor = &H00000000&
Height = 255
Left = 600
TabIndex = 6
Top = 2220
Width = 615
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "金額"
ForeColor = &H00000000&
Height = 195
Left = 5760
TabIndex = 5
Top = 2220
Width = 735
End
Begin VB.Menu file
Caption = "文件"
Visible = 0 'False
Begin VB.Menu print
Caption = "打印"
End
End
End
Attribute VB_Name = "frm_ylhwdd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim c
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
frm_ylhwdd.PopupMenu file, 2
Else
End If
End Sub
Private Sub print_Click()
c = MsgBox("您確認要打印該信息么?", 33, "采購管理系統")
If c = vbOK Then
frm_ylhwdd.PrintForm
Else
End If
End Sub
Private Sub Text7_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
frm_ylhwdd.PopupMenu file, 2
Else
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -