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;
}
By which method we can add or remove rows from a DataTable object of DataSet?
Mention the basic steps to perform the LINQ query.
State the components of WF 4.0?
Explain the use of App_Code folder in ASP.NET?
Explain the term neutral culture?
Explain the services which UDDI offers to the Web applications.
List some of the new controls which are introduced in the ASP.NET AJAX Control Toolkit?
Illustrate the Session state in the ASP.NET.
Describe in brief regarding the visual basic?
Explain Common Type System (CTS)?
18,76,764
1958193 Asked
3,689
Active Tutors
1450475
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!