Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

language: c# chose the correct answer give me the only answer please 31. The correct code segment to set the displayLabel color to blue is:

language: c# chose the correct answer give me the only answer please

image text in transcribed

31. The correct code segment to set the displayLabel color to blue is: A. displayLabel. Color = Color.Blue; B. displayLabel. ForeColor = Color.Blue; C. ForeColor.displayLabel = Color. Blue; D. displayLabel. ForeColor = Blue; 32. To set Times New Roman font for the displayLabel you need to write the following code segment: A. displayLabel.Font = new Font("Times New Roman", displayLabel.Font.Style, 14 ); B. displayLabel.Font = new Font("Times New Roman", 14, displayLabel.Font.Style ), C. displayLabel.Font = new Font("Times New Roman", 14, displayLabel.Style ); D. displayLabel.Font = new Font("Times New Roman", 14, Font.Style ); In Date TimePicker Control, to retrieve the selected date from the DateTimePicker's Value propeny the, insert the statement: A. Date Time dropOffDate = dateTimePickerDropOff. Value; B. Date Time dropOffDate = date TimePickerDropOff.Current; C. DateTime dropOffDate = date TimePickerDropOff.Now; D. Date Time dropOffDate = date TimePickerDropOff. Today; 34. In Date TimePicker Control, user can only select days up to one year in the future, insert the statement: A. dateTimePickerDropOff.Date = DateTime. Today. AddYears (1); B. dateTimePickerDropOff.MaxDate = DateTime. AddYears. Today (1); C. dateTimePickerDropOff.MaxDate = DateTime. Today. AddYears( 1 ; ; D. date TimePickerDropOff.MaxDate = DateTime. AddYears( 1 ); 35. The LinkLabel control displays links to other resources. We use LinkClicked event to open the web page www.deitel.com in the user's default web browser. The correct code segment to that is: A. System.Diagnostics.Start.Process ( "http://www.deitel.com"); B. System. Process. Diagnostics.Start( "http://www.deitel.com"), C. System.Diagnostics. Process.Start( "http // www.deitel.com"); D. System. Diagnostics.Process.Open( "http://www.deitel.com"); To add an items to a CheckedListBox, we could write A myListBox.liems.Append(myListitem ); B. myListBox.Items.Add (myListitem ); C myListBox Add. Items (myListltem); D. myListBox. Items .Selectedindex.Add( myListltem ); 27. To create Pen using color DarkRed A. Pen myPen = new Pen(DarkRed ); B. Pen myPen = new Pen ( Color. DarkRed ); C. Pen myPen = new Color ( Pen DarkRed ); D. Pen myPen = new DrawingPen (Color.DarkRed); 38. To draw a square, we could write A. myGraphics.DrawRectangle( myPen, 150, 150); B. myGraphics. DrawRectangle( myPen, 40, 50, 150, 150 ); C. myGraphics. DrawRectangle( myPen, 50,50,105,150 ); D. myGraphics. FillRectangle( mySolidBrush, 50,50,150,150 )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 1 Lncs 8055

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013 Edition

3642402844, 978-3642402845

More Books

Students also viewed these Databases questions

Question

Describe the types of power that effective leaders employ

Answered: 1 week ago

Question

Describe how leadership styles should be adapted to the situation

Answered: 1 week ago