You use Visual Studio .NET to a Windows-based application.Your apllication a form
named CertkillerInformation, which enables users to edit information stored in a file #
What should you do?
A -
Include this.Activate in the Closing event handler of CertkillerInformation
B -
Include this.Activate in the Leave event handler of CertkillerInformation
C -
Change a property of the System.ComponentModel.CancelEventArgs parameter in the Closing event handler of CertkillerInformation
D -
Include this.Activate in the Closed event handler of CertkillerInformation
2-
You develop a Windows-based application that includes a submenu item named
helpCKOption. In the Click event handler for helpOption, you write code to open a Web browser
loaded with a context-sensitive Help file #
Which two code segments should you use?
A -
ContextMenu1.MenuItems.Clear(): ContextMenu1.MenuItems[0].Click += new System.EventHandler(helpCKOption_Click)
B -
ContextMenu1.MenuItems.Add("&Display Help"): ContextMenu1.MenuItems[0].Click += new System.EventHandler(helpCKOption_Click)
C -
ContextMenu1.MenuItems.Clear(): ContextMenu1.Popup += new System.EventHandler(helpCKOption_Click)
You use Visual Studio .NET to create a Windows-based application. The application
includes a form named Certkiller. Certkiller contains 15 control that enable users to #
Which two action should you take to configure Certkiller Form?
A -
Set the MinimumSize property to "500,600" Set the Size property to "500,600"
B -
Set the MinimumSize property to "500,600" Set the Size property to "650,700"
C -
Set the MinimumSize property to "500,600" Set the MaximumBox property to True
D -
Set the MinimumSize property to "650,700" Set the MaximumBox property to True
4-
You use Visual Studio .NET to create an accounting application. Within this
application, you are debugging a function named CompanyValidate. This function contains #
What should you do?
A -
Open the Locals window
B -
From the Command window, print the contents of bValidationStatus by using ?bValidationStatus
C -
Add a watch expression for bValidationStatus
D -
Open the QuickWatch dialog box for bValidationStatus
5-
You develop an application XYZApp that generates random numbers to test statistical
data. XYApp uses the following code segment:
Random rnd = new Random(); #
You want to accomplish this goal bu writing the minimum amount of code. Which code segment
should you use?
You use Visual Studio .NET to create a control that will be used on several forms in
your application. It is a custom label control that #
You need to add code to the Load event of the control to fulfill these requirements. Which two
code segments should you use?
You develop a Windows-based application by using Visual Studio .NET. The
application includes a form named myForm and a class named Student. #
Which code segment should you use?
A -
Student student = new Object();
B -
Student student = new Student();
C -
Object student = new Student();
D -
None of the above
8-
You use Visual Studio .NET to create a Windows-based application that will track
Certkiller sales. The applications main object is named Certkiller.#
Which code segment whould you use?
A -
public Certkiller()
B -
public void Certkiller()
C -
public bool Certkiller()
D -
public New()
9-
You want to remove the last item from the listbox Ist. Select valid code.
A -
Ist.Items.RemoveAt(Ist.Items.Count);
B -
Ist.Items.RemoveAt(Ist.Items.Count-1);
C -
Ist.Items.Remove(Ist.Items.Count-1);
D -
Ist.Items.Remove(Ist.Items.Count);
10-
You want to populate a ListBox named Lst with integer values from 1..100. Select
valid segment code.