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;
}
How we can dynamically add the user controls to the page?
Explain how would you implement the inheritance by using VB.NET/C#?
State different types of data providers existing in .NET Framework?
Illustrate Hybrid and Community cloud.
Explain the chief built-in objects in the ASP.NET?
Explain Hashtable?
Illustrate some of the points regarding CustomControls in WPF?
Write the basic difference between ASP and ASP.NET?
Write all names of public properties well-defined in the WebService class.
Define the term “Array”.
18,76,764
1931160 Asked
3,689
Active Tutors
1426987
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!