70-526 MCTS Braindump
ExamSoon 70-526 Exams
Microsoft Microsoft .NET Framework 2.0 - Windows-based Client Development is in
development
O rder : 70-526 Exam
Practice Exam: 70-526
Exam Number/Code: 70-526
Exam Name: Microsoft .NET Framework 2.0 - Windows-based Client Development
is in development
Questions and Answers: 132 Q&As
Free 70-526 Braindumps
Exam : Microsoft 70-526
Title : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
1. You are creating a Windows Form. You add a TableLayoutPanel control named pnlLayout to the form. You set the
properties of pnlLayout so that it will resize with the form.
You need to create a three-column layout that has fixed left and right columns. The fixed columns must each remain
50 pixels wide when the form is resized. The middle column must fill the remainder of the form width when the form is
resized. You add the three columns in the designer.
Which code segment should you use to format the columns at run time?
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. You are creating a Windows Forms application. You want th