重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
Option Explicit On
创新互联建站是一家专注于网站设计、成都网站建设与策划设计,太湖网站建设哪家好?创新互联建站做网站,专注于网站建设十载,网设计领域的专业建站公司;建站业务涵盖:太湖等地区。太湖做网站价格咨询:18980820575
Option Strict On
Imports System
Module Program
Sub Main()
Dim y,m,t As Integer
begin:
' 输入数据时一行一个
y=CInt(Console.ReadLine())
m=CInt(Console.ReadLine())
t=CInt(Console.ReadLine())
If y
200 Then
Console.WriteLine("ERROR")
goto begin
End If
pr(y,m,t)
Console.Write("Press any key to continue . . . ")
Console.ReadKey(True)
End Sub
Function pr(y As Integer,m As Integer,t As Integer) As Integer
Dim ye,[Me],i As Integer
ye=CInt((m+t-2)/12+y)
[Me]=(m+t-2) Mod 12+1
End If
End Function
Function mday(y As Integer,m As Integer) As Integer
Dim day As Integer()={0,31,28,31,30,31,30,31,31,30,31,30,31}
Dim ad As I
private withevents connectWork as new BackgroundWorker()
addhandler connectWork.DoWork addressof connectWork_DoWork
意思是Game1继承自Microsoft.Xna.Framework.Game类
对应的VB.NET代码为
Public Class Game1
Inherits Microsoft.Xna.Framework.Game
Public Overrides Sub VerifyRenderingInServerForm(control As Control)
'MyBase.VerifyRenderingInServerForm(control)
End Sub