Reputation: 1
I am developing in Visual Studio with Windows Forms on Windows Server 2008 R2 Standard, and when I want to run on Windows 10, I see a bug in the backcolor. I use TabPages, into each page I have a DataGridView and some elements, and the problem is only on index=0. This change its backcolor to white, and I don't know why (but into the GroupBoxes or PictureBoxes not does).
I put a capture:
But when I am developing on the server, I see it well:
Someone know what can be it?
Thanks!
This is the Main code on Program.cs:
[STAThread]
static void Main()
{
bool activo;
System.Threading.Mutex mutex = new System.Threading.Mutex(true, "SistemaDePagos", out activo);
if (!activo)
{
MessageBox.Show("Ya hay una instancia de la aplicación abierta.", "Sistema de Pagos - SIDOM S.A.");
Application.Exit();
}
else
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormPresentacion()); // FormPresentacion
}
// Liberamos la exclusión mutua
mutex.ReleaseMutex();
}
Upvotes: 0
Views: 108