We are moving an applicaton programmed in C# from NetDCU8 and NetDCU11 to NetDCU14.
Some of our buttons have a background color. This works on the NetDCU8 and NetDCU11. But on the NetDCU14 the button is displayed in white and the text on the button is light grey.
This is the code from the designer:
this.CmdYes.BackColor = System.Drawing.Color.Green;
this.CmdYes.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
this.CmdYes.ForeColor = System.Drawing.Color.Lavender;
this.CmdYes.Location = new System.Drawing.Point(0, 14);
this.CmdYes.Name = "CmdYes";
this.CmdYes.Size = new System.Drawing.Size(48, 83);
this.CmdYes.TabIndex = 15;
this.CmdYes.Text = "JA";
this.CmdYes.Click += new System.EventHandler(this.CmdYes_Click);
Display Properties -> Appearance -> Scheme is set to Windows Standard.
Is there any visual styles setting I have to set?