Color.White : Color « System.Drawing « C# / C Sharp by API






Color.White

   



using System;
using System.Drawing;
using System.Windows.Forms;
   
class InheritTheForm: Form
{
     public static void Main()
     {
          InheritTheForm form = new InheritTheForm();
          form.Text = "Inherit the Form";
          form.BackColor = Color.White;
   
          Application.Run(form);
     }
}

   
    
    
  








Related examples in the same category

1.Color.AliceBlue
2.Color.Chocolate
3.Color.FromArgb (int r, int g, int b)
4.Color.FromArgb(100, Color.Blue)
5.Color.FromArgb(77, color.R, color.G, color.B)
6.Color.FromKnownColor
7.Color.FromName
8.Color.LightGray
9.Color.Tomato