您现在的位置:在线题库 >> 计算机类 >> 软件开发工具
  • ID:9422-2709

    可以使用ADO.NET类从数据库中检索只读、只进的数据流。

  • 相关试题查看更多

  • ID:9422-2715

    下面不是算术运算符的是:( )

    A. + B. - C. & D. mod

    查看解析

  • ID:9422-2710

    程序阅读

    Public Class Form1

    Private Sub Form1_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Resize

    Dim x As Integer = Size.Width()

    Dim y As Integer = Size.Height()

    Label1.Text = "窗体的大小为(" & Str(x) & " , " & Str(y) & ""

    End Sub

    End Class

    (1)Form1中的Form1_Resize过程实现的是一个什么功能?

    (2)函数str是实现什么功能?

    Public Class Form1

    Private count As Integer = 1

    Private Sub NewToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripMenuItem.Click

    Dim frm As New Child()

    frm.Text = "MDI子窗体" & Str(count) ' 设置窗体的标题

    count += 1

    frm.MdiParent = Me

    frm.Activate()

    frm.Show()

    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    MenuStrip1.MdiWindowListItem = WindowsToolStripMenuItem

    End Sub

    End Class

    (3)写出语句Dim frm As New Child()的作用 (4)写出语句frm.MdiParent = Me的作用。 (5) MenuStrip1.MdiWindowListItem = WindowsToolStripMenuItem语句的作用。

    查看解析

  • ID:9422-2706
    多文档窗体界面允许在一个Parent Container中打开多个窗口,多用在以为中心的应用程序中。

    查看解析

  • ID:9422-2695
    下列关键词中,不能用于循环结构的是:(

    A. for B. for each C. while D. object

    查看解析

  • ID:9422-2725

    简述面向对象编程方法的优点。

    查看解析