VERSION 5.00
Begin VB.Form Form4 
   Caption         =   "Form4"
   ClientHeight    =   4185
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6450
   LinkTopic       =   "Form4"
   ScaleHeight     =   4185
   ScaleWidth      =   6450
   StartUpPosition =   1  'CenterOwner
   Begin VB.TextBox textSDKClientSecret 
      Height          =   375
      Left            =   1440
      TabIndex        =   10
      Text            =   "open_demo_secret"
      Top             =   2040
      Width           =   2535
   End
   Begin VB.TextBox textSDKClientID 
      Height          =   375
      Left            =   1440
      TabIndex        =   8
      Text            =   "open_demo_client"
      Top             =   1440
      Width           =   2535
   End
   Begin VB.TextBox textUserId 
      Height          =   375
      Left            =   1440
      TabIndex        =   4
      Text            =   "KAhgNnElkhjSIpjpwtz6o"
      Top             =   840
      Width           =   2535
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   840
      TabIndex        =   3
      Top             =   3360
      Width           =   1335
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   495
      Left            =   2400
      TabIndex        =   2
      Top             =   3360
      Width           =   1335
   End
   Begin VB.TextBox textExpiryDate 
      Height          =   375
      Left            =   1440
      TabIndex        =   1
      Text            =   "2099-12-31T23:59:59"
      Top             =   2760
      Width           =   2535
   End
   Begin VB.TextBox textOwner 
      Height          =   375
      Left            =   1440
      TabIndex        =   0
      Text            =   "test"
      Top             =   240
      Width           =   2535
   End
   Begin VB.Label Label6 
      Caption         =   "实际部署请勿使用本测试号"
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   4200
      TabIndex        =   13
      Top             =   1440
      Width           =   1695
   End
   Begin VB.Label Label5 
      Caption         =   "需确保每用户唯一"
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   4200
      TabIndex        =   12
      Top             =   960
      Width           =   1695
   End
   Begin VB.Label Label4 
      Caption         =   "SDKSecret："
      Height          =   375
      Left            =   360
      TabIndex        =   11
      Top             =   2040
      Width           =   975
   End
   Begin VB.Label Label3 
      Caption         =   "SDKClientID："
      Height          =   375
      Left            =   360
      TabIndex        =   9
      Top             =   1440
      Width           =   975
   End
   Begin VB.Label Label1 
      Caption         =   "用户号："
      Height          =   375
      Left            =   360
      TabIndex        =   7
      Top             =   840
      Width           =   975
   End
   Begin VB.Label Label2 
      Caption         =   "失效时间："
      Height          =   375
      Index           =   0
      Left            =   240
      TabIndex        =   6
      Top             =   2760
      Width           =   975
   End
   Begin VB.Label Label2 
      Caption         =   "持有人："
      Height          =   375
      Index           =   1
      Left            =   240
      TabIndex        =   5
      Top             =   360
      Width           =   975
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Public result As Integer

Private Sub Command1_Click()

result = 1
Me.Hide


End Sub

Private Sub Command2_Click()

Me.Hide

End Sub

Private Sub Form_Load()
result = 0

Dim endDate As Date
endDate = DateAdd("d", 1, Now())

textExpiryDate.Text = Format(DatePart("yyyy", endDate), "0000") & "-" & _
    Format(DatePart("m", endDate), "00") & "-" & _
    Format(DatePart("d", endDate), "00") & "T" & _
    "12:00:00.000+08:00"
    
    
End Sub


