【VB开源代码栏目提醒】:网学会员,鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“FMMAIN.frm”一文,供大家参考学习!
VERSION 5.00
Begin VB.Form FMMAIN
Caption = "零售业后台管理
程序"
ClientHeight = 6240
ClientLeft = 165
ClientTop = 450
ClientWidth = 8670
LinkTopic = "Form1"
ScaleHeight = 6240
ScaleWidth = 8670
StartUpPosition = 2 '屏幕中心
Begin VB.Label Label2
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "用户名为:0001 密码:1111"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 300
Left = 1800
TabIndex = 1
Top = 4560
Width = 4335
End
Begin VB.Label Label1
Caption = "Label1"
Height = 255
Left = 240
TabIndex = 0
Top = 360
Width = 3255
End
Begin
VB.Menu LOGIN
Caption = "登录
系统"
End
End
Attribute VB_Name = "FMMAIN"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public USERNAME As String
Private Sub Form_Activate()
If FMLOGIN.LoginSucceeded = False Then
Load FMLOGIN
FMLOGIN.Show vbModal
End If
Label1.Caption = "目前用户为 : " & USERNAME
End Sub
Private Sub LOGIN_Click()
Load FMLOGIN
FMLOGIN.Show vbModal
End Sub