对话框是Window类的子类
对话框和一般窗口的区别在于它依赖于其他窗口
对话框分为模式和非模式两种
文件对话框的构造方法为:Filedialog fdlg=new FileDialog(filedialog);
第1题:
( 13 ) AWT 中用来表示对话框的类是
A ) Font
B ) Color
C ) Panel
D ) Dialog
第2题:
此题为判断题(对,错)。
第3题:
A.通用对话框是Visual Basic 6.0的内部标准控件
B.要使用CommonDialog控件,必须在“工程”菜单下的“部件”对话框中选定“Microsoft Common Dialog Control 6.0”
C.打开“部件”对话框只有一种方法
D.程序运行过程中,通用对话框在窗体中是可见的
第4题:
在Word 2000中,关于“字体”对话框,以下说法是正确的()。
A.可以移动对话框的位置
B.可以关闭该对话框
C.能能将对话框缩成图标
D.可以改变该对话框的大小
第5题:
在C#_Windows表单应用程序中,如何将一个对话框对象myDialog显示为模态对话框?
A. 调用myDialog.Show();
B. 调用myDialog.ShowDialog ();
C. 调用System.Forms.Dialog.Show(myDialog);
D. 调用System.Forms.Dialog.Show Dialog (myDialog);
第6题:
此题为判断题(对,错)。
第7题:
A.AlertDialog dialog=new AlertDialog(context);
B.AlertDialog.Builder builder=new AlertDialog.Builder(context);
C.ProgressDialog dialog=new ProgressDialog();
D.ProgressDialog.Builder builder=new ProgressDialog.Builder(context);
第8题:
A.调用myDialog.Show();
B.调用myDialog.ShowDialog();
C.调用System.s.Dialog.Show(myDialog);
D.调用System.s.Dialog.ShowDialog(myDialog);
第9题:
以下( )事件过程可以将打开的对话框的标题改变为“新标题”。
A.Private Sub Commandl_Click() Common Dialog1.DialogTitle="新标题" Common Dialog1.ShowFont End Sub
B.Private Sub Commandl_Crick() CommonDialog1.DialogTifie="新标题" CommonDialog1.ShowOpen End Sub
C.Private Sub Commandl_Click() Common Dialog1.DialogTitle="新标题" Common Dialog1.ShowClose End Sub
D.Private Sub Commandl_Click() CommonDialogl.DialogTitle="新标题" CommonDialogl.ShowColor End Sub
第10题:
调用Common Dialog控件的( )方法可以显示“字体”对话框。
A、ForeColor
B、Fore
C、ShowFont
D、 Font