C#程序设计期末考试卷附答案.doc
文本预览下载声明
C#程序设计期末考试卷附答案
引用ListBox(列表框)当前被选中的数据项应使用()语句
A.ListBox1.Items[ListBox1.Items.Count]
B.ListBox1.Items[ListBox1.SelectedIndex](正确答案)
C.ListBox1.Items[ListBox1.Items.Count-1]
D.ListBox1.Items[ListBox1.SelectedIndex-1]
下面()代码可以显示一个消息框。
A.Dialog.Show();
B.MessageBox.Show();(正确答案)
C.Form.Show();
D
显示全部