Click here to Skip to main content
11,718,016 members (83,242 online)

Windows Forms

 
GeneralRe: about c# Pin
Eddy Vluggen7-Sep-12 2:54
memberEddy Vluggen7-Sep-12 2:54 
QuestionSQL Connection problem in Windows Service Pin
Member 799263524-Aug-12 0:17
memberMember 799263524-Aug-12 0:17 
AnswerRe: SQL Connection problem in Windows Service Pin
Pete O'Hanlon24-Aug-12 0:21
protectorPete O'Hanlon24-Aug-12 0:21 
GeneralRe: SQL Connection problem in Windows Service Pin
dojohansen10-Oct-12 5:19
memberdojohansen10-Oct-12 5:19 
GeneralRe: SQL Connection problem in Windows Service Pin
Pete O'Hanlon10-Oct-12 5:32
protectorPete O'Hanlon10-Oct-12 5:32 
Questionstrategy for correcting the side-effects of using Dock (which ignore Margin settings) Pin
BillWoodruff14-Aug-12 0:08
memberBillWoodruff14-Aug-12 0:08 
AnswerRe: strategy for correcting the side-effects of using Dock (which ignore Margin settings) Pin
dojohansen10-Oct-12 6:01
memberdojohansen10-Oct-12 6:01 
QuestionEditingPanel Erasing Top Cell Border Pin
Mark Regal13-Aug-12 19:06
memberMark Regal13-Aug-12 19:06 
This maybe academic but here goes anyway...

I'm drawing custom borders for a datagridview in the datagridview's paint event, the one in a Windows form. That works fine until I edit a cell.

When I edit a cell, the top and left grid borders (which are drawn by me in the grid's paint event) are over-layed by the EditingPanel control of the datagridview class.

So the borders disappears and the cell looks like it has only two borders...bottom...and right.

I subsequently created a custom column and cell template for the grid but no matter what I've tried so far, I can't get to the event that's overwriting my borders to either have it paint the missing borders themselves, or stop it from overwriting the ones that I'm drawing.

It would seem that this type of task needs to be accomplished all the time and I just don't know how...so I'm totally missing the boat on this one.

Would someone please let me in on the secret of how to (the proper procedures) for painting custom borders around the datagridview cell I'm editing?

The borders should be in alignment with the grid's boarders and have the ability to be drawn in different colors.

Please advise and thanks!!!

Mark
AnswerRe: EditingPanel Erasing Top Cell Border Pin
Mark Regal14-Aug-12 3:14
memberMark Regal14-Aug-12 3:14 
QuestionVS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Member 269415310-Aug-12 9:05
memberMember 269415310-Aug-12 9:05 
AnswerRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Dave Kreskowiak10-Aug-12 14:19
mvpDave Kreskowiak10-Aug-12 14:19 
GeneralRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Member 269415313-Aug-12 2:18
memberMember 269415313-Aug-12 2:18 
AnswerRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
ictxiangxin13-Aug-12 4:03
memberictxiangxin13-Aug-12 4:03 
QuestionWrapping of Data Grid View column Pin
ukraju5-Aug-12 20:58
memberukraju5-Aug-12 20:58 
AnswerRe: Wrapping of Data Grid View column Pin
Member 908236510-Aug-12 12:59
memberMember 908236510-Aug-12 12:59 
QuestionWindows Form Pin
DSPNEOqqq3-Aug-12 9:15
memberDSPNEOqqq3-Aug-12 9:15 
RantRe: Windows Form Pin
Eddy Vluggen3-Aug-12 9:30
memberEddy Vluggen3-Aug-12 9:30 
GeneralRe: Windows Form OT Pin
Wes Aday3-Aug-12 9:41
memberWes Aday3-Aug-12 9:41 
GeneralRe: Windows Form OT Pin
Eddy Vluggen3-Aug-12 10:01
memberEddy Vluggen3-Aug-12 10:01 
AnswerRe: Windows Form Pin
Christian Amado6-Aug-12 10:47
memberChristian Amado6-Aug-12 10:47 
AnswerRe: Windows Form Pin
BillWoodruff11-Aug-12 15:27
memberBillWoodruff11-Aug-12 15:27 
GeneralRe: Windows Form Pin
Eddy Vluggen12-Aug-12 3:43
memberEddy Vluggen12-Aug-12 3:43 
QuestionWindows Form Application Size Issue Pin
ukraju29-Jul-12 19:45
memberukraju29-Jul-12 19:45 
AnswerRe: Windows Form Application Size Issue Pin
Simon_Whale29-Jul-12 20:11
memberSimon_Whale29-Jul-12 20:11 
AnswerRe: Windows Form Application Size Issue Pin
Bernhard Hiller29-Jul-12 22:07
memberBernhard Hiller29-Jul-12 22:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid