1. 观察计算机显示系统构成

源代码在线查看: frm试用期.frm

软件大小: 722 K
上传用户: spy0207
关键词: 计算机 显示系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				VERSION 5.00
				Begin VB.Form frm试用期 
				   Caption         =   "试用期"
				   ClientHeight    =   3135
				   ClientLeft      =   60
				   ClientTop       =   405
				   ClientWidth     =   4680
				   LinkTopic       =   "Form1"
				   ScaleHeight     =   3135
				   ScaleWidth      =   4680
				   StartUpPosition =   3  '窗口缺省
				End
				Attribute VB_Name = "frm试用期"
				Attribute VB_GlobalNameSpace = False
				Attribute VB_Creatable = False
				Attribute VB_PredeclaredId = True
				Attribute VB_Exposed = False
				Option Explicit
				
				
				Private Sub Form_Load()
				  Dim hKey As Long
				  Dim time1 As Long
				  Dim lendata As Long
				  Dim ret As Long
				  Me.Hide
				    Dim retvalue As Date
				    retvalue = GetSetting(App.Title, "Settings", "datevalue", Date)
				    If retvalue = Date Then
				        SaveSetting App.Title, "settings", "datevalue", Date
				    ElseIf Date - retvalue + 1 > 365 Then
				        MsgBox "软件已过期" & 365 - (Date - retvalue) & " 天,注册请联系作者!QQ:826509803", vbExclamation, "客户管理系统试用版,请注册使用!"
				        End
				    End If
				    MsgBox "本程序的试用期还有:" & 365 - (Date - retvalue) & " 天", vbInformation, "客户管理系统试用版"
				    Load frm主窗体
				    frm登录.Show
				End Sub
				
							

相关资源