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; } }
What is meant by Delegate?
Elucidate Role based security?
By Visual Studio in ASP.Net, illustrate namespaces which are imported automatically?
What are the chief built in objects in Asp.net?
Write the use of MaxDate and MinDate properties of a MonthCalender control?
State the difference between the WindowsDefaultBounds and WindowsDefaultLocation properties?
Describe managed extensibility framework?
Name the latest features of the ADO.NET Entity Framework 4.0?
Write ASP.NET configuration options that are supported in ASP.NET implementation on shared Web hosting platform?
What do you mean by the Extender controls?
18,76,764
1949484 Asked
3,689
Active Tutors
1436183
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!