📄 mdifmain.frm
字号:
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 10.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 保险秘书.isButton isButton9
Height = 660
Left = 9065
TabIndex = 15
Top = 0
Visible = 0 'False
Width = 975
_ExtentX = 1720
_ExtentY = 1164
Icon = "MDIFmain.frx":7476
Style = 2
Caption = "发送邮件"
IconSize = 20
iNonThemeStyle = 0
Enabled = 0 'False
USeCustomColors = -1 'True
BackColor = 16431549
HighlightColor = 16759485
Tooltiptitle = ""
ToolTipIcon = 0
ToolTipType = 0
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 10.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 保险秘书.isButton isButton5
Height = 660
Left = 6030
TabIndex = 16
Top = 0
Width = 975
_ExtentX = 1720
_ExtentY = 1164
Icon = "MDIFmain.frx":7D50
Style = 2
Caption = "工作日志"
IconSize = 20
iNonThemeStyle = 0
USeCustomColors = -1 'True
BackColor = 16431549
HighlightColor = 16759485
Tooltiptitle = ""
ToolTipIcon = 0
ToolTipType = 0
ttForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 10.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 11
X1 = 11670
X2 = 11670
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 11
X1 = 11660
X2 = 11660
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 10
X1 = 11065
X2 = 11065
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 10
X1 = 11050
X2 = 11050
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 9
X1 = 10045
X2 = 10045
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 9
X1 = 10030
X2 = 10030
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 8
X1 = 9045
X2 = 9045
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 8
X1 = 9030
X2 = 9030
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 7
X1 = 8025
X2 = 8025
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 7
X1 = 8010
X2 = 8010
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 6
X1 = 7025
X2 = 7025
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 6
X1 = 7010
X2 = 7010
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 5
X1 = 6015
X2 = 6015
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 5
X1 = 6000
X2 = 6000
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 4
X1 = 5005
X2 = 5005
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 4
X1 = 4990
X2 = 4990
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 3
X1 = 4000
X2 = 4000
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 3
X1 = 3990
X2 = 3990
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 2
X1 = 2990
X2 = 2990
Y1 = 0
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 2
X1 = 3000
X2 = 3000
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 1
X1 = 1980
X2 = 1980
Y1 = -120
Y2 = 840
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 1
X1 = 1990
X2 = 1990
Y1 = -120
Y2 = 840
End
Begin VB.Line Line2
BorderColor = &H80000005&
Index = 0
X1 = 990
X2 = 990
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
Index = 0
X1 = 980
X2 = 980
Y1 = 0
Y2 = 960
End
End
End
Begin VB.Menu helpmen
Caption = "popmenu"
NegotiatePosition= 2 'Middle
Visible = 0 'False
Begin VB.Menu menabout
Caption = "关于..."
End
End
End
Attribute VB_Name = "MDIFmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Bbdgl_Click()
FbdNew.SetFocus
FbdNew.Show
' Fbd.SetFocus
'Fbd.Show
End Sub
Private Sub Bkhgl_Click()
FKhgl.SetFocus
FKhgl.Show
End Sub
Private Sub isButton1_Click()
' Fzygl.SetFocus
' Fzygl.Show
fZyglnew.SetFocus
fZyglnew.Show
End Sub
Private Sub isButton10_Click()
Fsys.SetFocus
Fsys.Show
End Sub
Private Sub isButton11_Click()
' PopupMenu helpmen
'FHelp.SetFocus
FHelp.Show
End Sub
Private Sub isButton12_Click()
Call FClose
End Sub
Private Sub isButton2_Click()
FlpNew.SetFocus
FlpNew.Show
'Flp.SetFocus
'Flp.Show
End Sub
Private Sub isButton3_Click()
Fyjgl.SetFocus
Fyjgl.Show
End Sub
Private Sub isButton4_Click()
Fjrts.SetFocus
Fjrts.Show
End Sub
Private Sub isButton5_Click()
Fgzrz.SetFocus
Fgzrz.Show
End Sub
Private Sub isButton6_Click()
Fzkh.SetFocus
Fzkh.Show
End Sub
Private Sub isButton7_Click()
Fzdkh.SetFocus
Fzdkh.Show
End Sub
Private Sub isButton8_Click()
Fsms.SetFocus
Fsms.Show
End Sub
Private Sub isButton9_Click()
'frmMailSender.SetFocus
'frmMailSender.Show
End Sub
Private Sub MDIForm_Load()
'Call timecheck
Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2
Call ExplodeForm(Me, 500)
Call resezef
SBmsg.Panels(4).Text = "当前用户:" & loginuser
Fmain.Show
End Sub
Private Sub MDIForm_Resize()
Select Case Me.WindowState
Case vbMaximized
Case vbMinimized
Case Else
If Me.Width < 11980 Then Me.Width = 11980
Me.Height = 500 * 15
End Select
If Me.WindowState <> 1 Then
Fmain.Top = 0
Fmain.Height = Me.ScaleHeight
Fmain.Width = Me.ScaleWidth
End If
Call resezef
Picatop.SetFocus
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
Call ImplodeForm(Me, 400, 800, 800)
End Sub
Private Sub resezef()
SBmsg.Width = Me.ScaleWidth
SBmsg.Panels(1).Text = Now()
Frame1.Width = Me.ScaleWidth
End Sub
Private Sub timecheck()
Dim RemainDay As Long
RemainDay = GetSetting("MyApp", "set", "day", 0)
If RemainDay = 30 Then
MsgBox "试用期已过,请联系月影穹苍 QQ:7440942"
Unload Me
End If
'MsgBox "现在剩下:" & 30 - RemainDay & "试用天数,好好珍惜!"
If Day(Now) - RemainDay > 0 Then RemainDay = RemainDay + 1
SaveSetting "MyApp", "set", "times", RemainDay
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -