⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module1.vb

📁 学习vb过程中老师讲过的所有案例!还有课程设计
💻 VB
字号:
Imports System.Windows.Forms
Module Module1
    Public Function Multiple(ByVal a As Integer, ByVal b As Integer) As String
        If a <> 0 Then
            If (b Mod a = 0) Then
                Return True
            Else
                Return False
            End If
        Else
            Return False
        End If
    End Function

    Sub Main()
        Dim x, y As Integer
        Dim output As String
        x = InputBox("请输入第一个数", "输入对话框")
        y = InputBox("请输入第二个数", "输入对话框")
        output = Multiple(x, y)
        MessageBox.Show(output)
    End Sub

End Module

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -