M
Mark Seabourne
Hello,
Does anybody know how I can change the background color of a button from
grey to white?
The property is not in the designer but I can access it from code using the
code below but this does not make a difference when I run the program.
this.btnClose.BackColor = System.Drawing.Color.White;
this.btnClose.Font = new System.Drawing.Font("Tahoma", 9F,
System.Drawing.FontStyle.Regular);
this.btnClose.Location = new System.Drawing.Point(168, 240);
this.btnClose.Size = new System.Drawing.Size(64, 24);
this.btnClose.Text = "Close";
Thanks,
Mark.
Does anybody know how I can change the background color of a button from
grey to white?
The property is not in the designer but I can access it from code using the
code below but this does not make a difference when I run the program.
this.btnClose.BackColor = System.Drawing.Color.White;
this.btnClose.Font = new System.Drawing.Font("Tahoma", 9F,
System.Drawing.FontStyle.Regular);
this.btnClose.Location = new System.Drawing.Point(168, 240);
this.btnClose.Size = new System.Drawing.Size(64, 24);
this.btnClose.Text = "Close";
Thanks,
Mark.