国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
vb 6.0 簡(jiǎn)單計(jì)算其代碼

這只是初步的代碼,我還準(zhǔn)備修改的,有些地方還有多余日后再回頭看看

Dim a As Long
Dim u As Integer


Private Sub Command1_Click()
Text1.Text = "0"
Text2.Text = ""
Label2.Caption = ""
End Sub


具體界面
Private Sub Command2_Click()
End
End Sub

Private Sub Command3_Click()
x = "sqr"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub Command4_Click()
x = "1/"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d0_Click()
a = 0
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d1_Click()
a = "1"
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d11_Click()
x = "."
Text1.Text = x
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
Text1.Text = Text2.Text & x
End Sub

Private Sub d12_Click()
x = "+"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d13_Click()
x = "-"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d14_Click()
x = "*"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d15_Click()
x = "/"
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d16_Click()
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
Text1.Text = ScriptControl1.eval_r(Label2.Caption)
Text2.Text = ""
Label2.Caption = Text1.Text
End Sub

Private Sub d17_Click()
x = "("

Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d18_Click()
x = ")"
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & x
End Sub

Private Sub d2_Click()
a = "2"
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d3_Click()
a = "3"
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d4_Click()
setfous = Text1.Text
a = "4"
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d5_Click()
a = 5
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d6_Click()
a = 6
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d7_Click()
a = 7
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d8_Click()
a = 8
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub d9_Click()
a = 9
Text1.Text = a
Text2.Text = Label2.Caption
Label2.Caption = Text2.Text & a
End Sub

Private Sub Form_Load()
Label2.Caption = ""
Text2.Visible = False
End Sub

Private Sub ScriptControl1_Error()

End Sub

Private Sub Text2_Change()
Text2.Visible = False
End Sub
純?cè)瓌?chuàng),希望看到的,有興趣的 朋友給予斧正。。。

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
利用四種循環(huán)求解10!的階乘程序問(wèn)題
VB6 Treeview的添加節(jié)點(diǎn)子節(jié)點(diǎn)、Treeview打開、Treeview關(guān)閉
vb查找字符串代碼
學(xué)生基本信息窗體錄入VBA代碼
計(jì)算機(jī)技術(shù)基礎(chǔ)(第五章 選擇結(jié)構(gòu)程序設(shè)計(jì) )
《Visual Basic程序設(shè)計(jì)(第4版)》第4章 順序結(jié)構(gòu)程序設(shè)計(jì)
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服