Other 70-526GB2312CSharp Exams :
70-526GB2312CSharp Exam
Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
- Exam Number/Code : 70-526GB2312CSharp
- Exam Name : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
- Questions and Answers : 76 Q&As
- Update Time: 2011-03-30
- Price:
$ 120.00$ 99.00
Free 70-526GB2312CSharp Demo Download
pass999.info offers free demo for MCTS 70-526GB2312CSharp exam (Microsoft .NET Framework 2.0 - Windows-based Client Development is in development). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.
Download 70-526GB2312CSharp Exam Testing Engine
70-526GB2312CSharp Exam Description
It is well known that latest 70-526GB2312CSharp exam test is the hot exam of Microsoft certification. pass999.info offer you all the Q&A of the 70-526GB2312CSharp real test . It is the examination of the perfect combination and it will help you pass 70-526GB2312CSharp exam at the first time!
Exam : Microsoft 70-526 GB2312CSharp
Title : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
1. 您正在创建一个 Windows 窗体。您将名为 pnlLayout 的 TableLayoutPanel 控件添加到窗体中。将 pnlLayout 的属性设置为它的大小能随窗体一起调整。
您需要创建一个具有三列的布局方式,其中的左列和右列是固定列。调整窗体大小时,每个固定列的宽度必须保持为 50 像素。调整窗体大小时,窗体宽度的其余部分必须由中间列填充。您在设计器中添加了三列。
您应该使用哪个代码段在运行时设置列的格式?
A. pnlLayout.ColumnStyles.Clear();
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize, 100F));
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
B. pnlLayout.ColumnStyles[0].Width = 50F;
pnlLayout.ColumnStyles[0].SizeType = SizeType.Absolute;
pnlLayout.ColumnStyles[2].Width = 50F;
pnlLayout.ColumnStyles[2].SizeType = SizeType.Absolute;
C. pnlLayout.ColumnStyles[0].Width = 50F;
pnlLayout.ColumnStyles[0].SizeType = SizeType.Absolute;
pnlLayout.ColumnStyles[1].Width = 100F;
pnlLayout.ColumnStyles[1].SizeType = SizeType.AutoSize;
pnlLayout.ColumnStyles[2].Width = 50F;
pnlLayout.ColumnStyles[2].SizeType = SizeType.Absolute;
D. pnlLayout.ColumnStyles.Clear();
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
Answer: D
2. 您正在自定义一个 Windows 窗体。该窗体包括一个具有若干 ToolStripMenuItem 控件的菜单。已配置了一个事件处理程序来为所有 ToolStripMenuItem 控件处理 Click 事件。该事件处理程序具有以下签名。
private void mnu_Click(object sender, EventArgs e)
窗体类包含具有以下签名的方法。
private void LogClick(string ctlName)
您需要添加代码,以便当用户单击 ToolStripMenuItem 控件时,mnu_Click 方法调用 LogClick 方法。必须将调用 LogClick 方法的 ctlName 参数设置为 ToolStripMenuItem 控件的菜单文本。
您应该使用哪个代码段?
A. ToolStripMenuItem mnuItem = (ToolStripMenuItem)sender;
LogClick(mnuItem.Text);
B. LogClick(e.ToString());
C. LogClick(this.Text);
D. ToolStripMenuItem mnuItem = (ToolStripMenuItem)
this.GetContainerControl();
LogClick(mnuItem.Text);
Answer: A
3. 您正在创建一个 Windows 窗体,该窗体包含名为 txtDate 的 TextBox 控件。
当用户在文本框内右击时,您想要应用程序显示 MonthCalendar 控件。
您需要实现提供此功能的上下文菜单。
您应该怎么做?
A. 将以下代码添加到窗体初始化代码块中。
MonthCalendar cal = new MonthCalendar();
ContextMenuStrip mnuContext = new ContextMenuStrip();
ToolStripControlHost host = new
ToolStripControlHost(mnuContext);
txtDate.ContextMenuStrip = mnuContext;
B. 将以下代码添加到窗体初始化代码块中。
ContextMenuStrip mnuContext = new ContextMenuStrip();
MonthCalendar cal = new MonthCalendar();
ToolStripControlHost host = new
ToolStripControlHost(cal);
mnuContext.Items.Add(host);
txtDate.ContextMenuStrip = mnuContext;
C. 将以下代码添加到窗体初始化代码块中。
ToolStripContainer ctr = new ToolStripContainer();
MonthCalendar cal = new MonthCalendar();
ctr.ContentPanel.Controls.Add(cal);
txtDate.Controls.Add(ctr);
为 TextBox 控件添加包含以下代码的 MouseClick 事件处理程序。
if (e.Button == MouseButtons.Right) {
txtDate.Controls[0].Show();
}
D. 为 TextBox 控件添加包含以下代码的 MouseClick 事件处理程序。
if (e.Button == MouseButtons.Right) {
ContextMenuStrip mnuContext = new ContextMenuStrip();
MonthCalendar cal = new MonthCalendar();
ToolStripControlHost host = new
ToolStripControlHost(cal);
mnuContext.Items.Add(host);
txtDate.ContextMenuStrip = mnuContext;
}
Answer: B
4. 您正在创建一个 Windows 窗体应用程序。您将名为 erpErrors 的 ErrorProvider 组件以及名为 dtpStartDate 的 DateTimePicker 控件添加到该应用程序中。该应用程序还包含其他控件。
您需要配置该应用程序,以便当用户输入的日期在当前日期之后时在 dtpStartDate 旁边显示错误通知图标。
您应该执行哪两项操作?(每个正确答案都仅给出了部分解决方案。请选择两个答案。)
A. 为 dtpStartDate 的 Validating 事件创建名为 VerifyStartDate 的事件处理程序。
B. 为 dtpStartDate 的 Validated 事件创建名为 VerifyStartDate 的事件处理程序。
C. 在 dtpStartDate 的"属性"窗口中,将 erpErrors 上的 Error 值设置为 Date out of range。
D. 在 VerifyStartDate 中,如果 dtpStartDate.Value 的值在当前日期之后,则调用
erpErrors.SetError(dtpStartDate, "Date out of range")。
E. 在 VerifyStartDate 中,如果 dtpStartDate.Value 的值在当前日期之后,则调用
erpErrors.SetError(dtpStartDate, null)。
Answer: DA
5. 您正在自定义一个 Windows 窗体。当用户单击任意一个按钮时,您想要应用程序通过调用包含以下签名的方法来记录有关用户操作的信息。
public void ctl_Click(object sender, EventArgs e)
您想让窗体当且仅当用户单击任意一个 Button 控件时调用此方法。
您需要修改窗体以在不妨碍应用程序现有操作的情况下调用该方法。
您应该怎么做?
A. 将以下代码添加到窗体初始化代码块中。
foreach (Control ctl in this.Controls) {
if (ctl is Button){
ctl.Click += new EventHandler(ctl_Click);
}}
B. 将以下代码添加到窗体初始化代码块中。
this.Click += new EventHandler(ctl_Click);
C. 使用"属性"对话框将窗体上每个 Button 控件的 Click 事件设置为 ctl_Click 方法。
D. 使用"属性"对话框将窗体的 Click 事件设置为 ctl_Click 方法。
Answer: A
What's pass999.info and what pass999.info can do?
pass999.info provides high quality IT exam practice questions and answers. Especially, Cisco CCNA CCDA CCNP CCIE, Checkpoint CCSE, CompTIA A+ Network+ certification practice exams and so on. We promise that you can pass any IT exam at the first try using pass999.info Testing Engine, or else give you a FULL REFUND. In pass999.info, you also can find latest exam releases about real certification exam resources from most famous IT companies, and we recommend some hot exams for you.
About Microsoft 70-526GB2312CSharp exam
There are many ways to prepare for your 70-526GB2312CSharp Certification Exam. pass999.info provides the most reliable training tools to prepare for your next 70-526GB2312CSharp Certification Exam. Our 70-526GB2312CSharp Certification Study Material includes 70-526GB2312CSharp test questions, 70-526GB2312CSharp practice exam, 70-526GB2312CSharp Practice Testing Software, 70-526GB2312CSharp Audio Learning and Preparation Labs. We will meet the needs of all about IT certification in pass999.info.
The 70-526GB2312CSharp test questions give you possibility to work in any country of the world because they are acknowledged in all countries equally. This pass999.info 70-526GB2312CSharp torrent certificate helps not only to improve your knowledge and skills, but it also helps your career, gives a possibility for qualified usage of pass999.info 70-526GB2312CSharp exam products under different conditions.
Once you purchase our 70-526GB2312CSharp PDF,we will offer you the best service.After you purchase we will offer free update in time for 90 days.No matter any questions you have we will help you solve it. And in 3 weeks we will offer you free updates,so please pay attention our site at all times.
