成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

c轉(zhuǎn)vb.net c轉(zhuǎn)vbnet

C語(yǔ)言轉(zhuǎn)換為VB.NET

Option Explicit On

巴中網(wǎng)站建設(shè)公司成都創(chuàng)新互聯(lián)公司,巴中網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為巴中1000多家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\成都外貿(mào)網(wǎng)站建設(shè)公司要多少錢,請(qǐng)找那個(gè)售后服務(wù)好的巴中做網(wǎng)站的公司定做!

Option Strict On

Imports System

Module Program

Sub Main()

Dim y,m,t As Integer

begin:

' 輸入數(shù)據(jù)時(shí)一行一個(gè)

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

C# to vb.net 代碼轉(zhuǎn)換

System.Runtime.InteropServices.DllImport("user32.dll") _

Public Shared Function SetWindowLong(hWnd As IntPtr, nIndex As Integer, wndproc As Integer) As Integer

End Function

System.Runtime.InteropServices.DllImport("user32.dll") _

Public Shared Function GetWindowLong(hWnd As IntPtr, nIndex As Integer) As Integer

End Function

Public Const GWL_STYLE As Integer = -16

Public Const WS_DISABLED As Integer = H8000000

Public Shared Sub SetControlEnabled(c As Control, enabled As Boolean)

If enabled Then

SetWindowLong(c.Handle, GWL_STYLE, (Not WS_DISABLED) And GetWindowLong(c.Handle, GWL_STYLE))

Else

SetWindowLong(c.Handle, GWL_STYLE, WS_DISABLED + GetWindowLong(c.Handle, GWL_STYLE))

End If

End Sub

授人以漁:

這個(gè)網(wǎng)站超牛逼

C#轉(zhuǎn)VB.NET高手幫忙!

Private?Sub?AddTab(sender?As?Object,?ea?As?EventArgs)

Dim?dh?As?IDesignerHost?=?DirectCast(GetService(GetType(IDesignerHost)),?IDesignerHost)

If?dh?IsNot?Nothing?Then

Dim?i?As?Integer?=?ytc.SelectedIndex

Dim?name?As?String?=?GetNewTabName()

Dim?ytp?As?YaTabPage?=?TryCast(dh.CreateComponent(GetType(YaTabPage),?name),?YaTabPage)

ytp.Text?=?name

ytc.Controls.Add(ytp)

ytc.SelectedTab?=?ytp

RaiseComponentChanging(TypeDescriptor.GetProperties(Control)("SelectedIndex"))

RaiseComponentChanged(TypeDescriptor.GetProperties(Control)("SelectedIndex"),?i,?ytc.SelectedIndex)

End?If

End?Sub

分享文章:c轉(zhuǎn)vb.net c轉(zhuǎn)vbnet
轉(zhuǎn)載注明:http://jinyejixie.com/article30/dopspso.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)網(wǎng)站建設(shè)、面包屑導(dǎo)航、網(wǎng)站導(dǎo)航、企業(yè)建站、Google

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

網(wǎng)站托管運(yùn)營(yíng)
河东区| 翁源县| 济源市| 玉树县| 阜南县| 安乡县| 清镇市| 周至县| 巴里| 紫云| 固安县| 左权县| 富阳市| 海宁市| 宁晋县| 乌鲁木齐市| 蓬莱市| 佛冈县| 古田县| 新沂市| 锡林郭勒盟| 法库县| 宁晋县| 昭平县| 乌拉特中旗| 甘谷县| 吴川市| 隆林| 天等县| 阿拉善盟| 遵义县| 平定县| 光山县| 丽江市| 广灵县| 灌云县| 永丰县| 兴国县| 商水县| 张家港市| 浏阳市|