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; } }
How we can populate the dataset before querying the DataSet object by using LINQ to DataSet?
Illustrate the terms User Control as well as Custom Control?
Write the chief features of the Cloud services?
Differentiate between sliding-time expiration and absolute expiration?
Differentiate between the ASP.NET session and a ASP session?
Differentiate between int32 and int?
Write about the classes are supported to make an XML DOM?
In what way we can auto size the button to fit the text?
Briefly describe navigation controls. List the navigation controls that are present in ASP.NET 4.0?
Write the different types of literals used in C #?
18,76,764
1956178 Asked
3,689
Active Tutors
1417187
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!