adplus-dvertising
frame-decoration

Question

Which of the following is the correct way of assigning value “centerscreen” for form’s startposition property.

a.

StartPosition.Form1=FormStartPosition.CenterScreen

b.

Form1.StartPosition=CenterScreen.FormStartPosition

c.

Form1.StartPosition=FormStartPosition.CenterScreen

d.

Form1.StartPosition=FormStartPosition.Location.CenterScreen

Posted under Web Technologies

Answer: (c).Form1.StartPosition=FormStartPosition.CenterScreen

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is the correct way of assigning value “centerscreen” for form’s startposition property.

Similar Questions

Discover Related MCQs

Q. ………….. class is built into the .Net Framework to display messages and accept input from the user.

Q. …………….. is a string expression displayed as the message in the dialog box.

Q. Which of the following is/are the possible values of MsgBoxResult returned from MsgBox function.
i) Ok ii) Cancel iiii) Abort iv) Retry v) Ignore

Q. ………………… is one of the MessageBoxDefaultButton enumeration values that specifies which is the default button for the message box.

Q. Which of the following is NOT the MessageBoxButtons enumeration value.

Q. Which of the following is/are the MessageBoxIcon enumeration values.
i) Astrisk ii) Error iii) Hand iv) Ok

Q. ……………… property returns a value of the ……………….. enumeration when the dialog box is closed.

Q. ……………… property of windows form sets the padding used between docked controls and the form’s edge.

Q. The Get and Set methods in the …………….. property to get and set the text in the text box.

Q. In mouse cursor option ………………. is a cursor for mouse wheel operations when the mouse is moving and the window is scrolling horizontally and vertically downward to the left.

Q. In mouse cursor option …………….. is a cursor for mouse wheel operations when the mouse is moving and the window is scrolling vertically in an upward direction.

Q. ………………… is a signed count of the number of rotation of the mouse wheel.

Q. Most of the functionally of  the text box control is simply inherited from the …………….. class, which is also the a base class for the rich text box control.

Q. …………….. control is generally used for editable text although it can also made read only.

Q. We can limit the amount of text entered into TextBox control by setting ……………… property to a specific number of characters.

Q. TextBox controls also can be used to accept password if the …………….. property is used to mask characters.

Q. Each hyperlink is a object of the ………………. class and is stored in a collection called links.

Q. Which of the following is NOT the public properties of TextBox objects.

Q. Which of the following is/are the public methods of TextBox objects.

i) Clear    ii) Paste   iii) LoadFile   iv) Paste

Q. Which of the following is NOT the public events of TextBox objects.