单项选择题

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.

相关考题

单项选择题 You are creating a Windows Forms application for a financial service provider by using the .NET Framework 3.5. You have to implement a multiple document interface (MDI) in the application to allow users to open multiple financial documents simultaneously.You need to ensure that whenever the child MDI form is created, the application displays a message in the title bar of the parent MDI that a child form has received focus.   What should you do?()

多项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.TheapplicationdisplaysemployeenamesbyusingtheTreeViewcontrol.YouneedtoimplementthedraganddropfunctionalityintheTreeViewcontrol.Whichtwoactionsshouldyouperform?()

单项选择题 You create Windows Forms applications by using the .NET Framework 3.5. You plan to deploy a new application by using the ClickOnce technology.During deployment, the application performs the following tasks: (1)Modifies registry keys   (2)Modifies the files located in the %PROGRAM FILES% folder  (3)Administrative permissions are not granted to users who install the application    You need to ensure that the following requirements are met:  (1)The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain  (2)When the application is deployed, users are not prompted to elevate their permissions    What should you do?()