Choose color from ColorDialog box
How we can choose the color from a ColorDialog box?
Expert
To choose color from a color dialog box, we must create the instance of a ColorDialog box and invoke to the ShowDialog() method. Code to display color dialog box and put the BackColor property of a Label control similar to a color selected in a color dialog box control is as follows:
private void button1_Click(object sender, EventArgs e)
{
if (colorDialog1.ShowDialog() != DialogResult.Cancel)
label1.Text = "Here's my new color!";
label1.BackColor = colorDialog1.Color;
}
State some of technologies that are utilized within the AJAX?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
What improvements are prepared in CAS in .NET 4.0?
Is it possible to post and access view state in the other application?
What is Object?
Name the interface that executes the standard query operators in the LINQ?
Write few characteristics of ADO.NET Entity Framework 4.0.
Provide a detailed introduction on the Side-by-side execution. May two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executable?
Write down some of the Features of WPF in brief.
Specify the requirements to run ASP.NET AJAX applications on the server?
18,76,764
1941375 Asked
3,689
Active Tutors
1454857
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!