多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add 100 controls at run time in the Load event handler of the form.  Users report that the form takes a long time to get displayed. You need to improve the performance of the form. What should you do?()

  • A、Call the InitLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.
  • B、Call the InitLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.
  • C、Call the SuspendLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.
  • D、Call the SuspendLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题