ColorDialog box
How a color is picked from the ColorDialog box?
Expert
In order to pick a color from color dialog box, it is required to create an instance of ColorDialog box and calls the ShowDialog() method. Code required to show the color dialog box and to set BackColor property of the Label control same as 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; } }
Distinguish between read-only and constants variables which is used in the programs?
State the function of the “Try-Catch-Finally” block
What are the steps involve in Assembly execution?
Briefly explain about identifier.
What are literals and name the different types of literals in visual basic?
Write the main difference between a RichTextBox and TextBox control.
What are HTTP handlers in ASP.NET?
Describe the role of the JIT compiler in .NET Framework?
Write the different types of literals used in C #?
Can more than one line be entered in a TextBox control?
18,76,764
1955729 Asked
3,689
Active Tutors
1450807
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!