private void dgvContacts_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { try { if (e.RowIndex == -1) { GUIBase.GridDrawCustomHeaderColumns(dgvContacts, e, Properties.Resources.Button_Gray_Stripe_01_050); } if (e.ColumnIndex == -1) { GUIBase.GridDrawCustomHeaderColumns(dgvContacts, e, Properties.Resources.Button_Gray_Stripe_01_050); } } catch (Exception exc) { Utill.Common.ExceptionLogger.writeException("Contacts", exc.StackTrace); MessageBox.Show(Utill.Common.CommonMessage.ExceptionMesg, "Exception"); } }