.NET - Windows Controls

How is anchoring different from docking?
Docking refers to attaching a control to either an edge (top, right, bottom, or left) or the client area of the parent control. On the other hand, anchoring is a process in which you need to specify the distance that each edge of your control maintains from the edges of the parent control.

How can you display a default value in the text box of an input box?
You can display a default value in the text box of an input box by using the DefaultResponse argument of the InputBox() function.

How will you pick a color from the ColorDialog box?
To pick a color from the color dialog box, you need to create an instance of the ColorDialog box and invoke to the ShowDialog() method. The code to display the color dialog box and set the BackColor property of the Label control similar to the color selected in the color dialog box control is:

private void button1_Click(object sender, EventArgs e)
 if (colorDialog1.ShowDialog() != DialogResult.Cancel)
 label1.Text = "Here's my new color!";
 label1.BackColor = colorDialog1.Color; 

How can you get or set the time between Timer ticks?
There is an Interval property, which is responsible to get and set the time in milliseconds.