Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing an array from another function ? Pin
OriginalGriff15-Jun-09 22:53
mveOriginalGriff15-Jun-09 22:53 
QuestionRoom Reservation Screen Pin
Amitkk319315-Jun-09 5:41
Amitkk319315-Jun-09 5:41 
AnswerRe: Room Reservation Screen Pin
Manas Bhardwaj15-Jun-09 6:04
professionalManas Bhardwaj15-Jun-09 6:04 
AnswerRe: Room Reservation Screen Pin
DaveyM6915-Jun-09 6:25
professionalDaveyM6915-Jun-09 6:25 
GeneralRe: Room Reservation Screen Pin
EliottA15-Jun-09 10:48
EliottA15-Jun-09 10:48 
QuestionCell Borders in DataGridViews Pin
MatthysDT15-Jun-09 4:55
MatthysDT15-Jun-09 4:55 
AnswerRe: Cell Borders in DataGridViews Pin
Henry Minute15-Jun-09 5:51
Henry Minute15-Jun-09 5:51 
AnswerRe: Cell Borders in DataGridViews Pin
Henry Minute15-Jun-09 9:26
Henry Minute15-Jun-09 9:26 
Have you seen this[^] from MSDN?

I have modified it slightly
public class DataGridViewCustomCell : DataGridViewTextBoxCell
{
    public override DataGridViewAdvancedBorderStyle AdjustCellBorderStyle(
        DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput,
        DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceHolder,
        bool singleVerticalBorderAdded,
        bool singleHorizontalBorderAdded,
        bool firstVisibleColumn,
        bool firstVisibleRow)
    {
        // Customize the top border of cells in every row except the first row and the
        // right border of cells in every column except the first column. Use the input style
        // for all other borders.
        dataGridViewAdvancedBorderStylePlaceHolder.Left =
            dataGridViewAdvancedBorderStyleInput.Left;
        dataGridViewAdvancedBorderStylePlaceHolder.Top =
            dataGridViewAdvancedBorderStyleInput.Top;

        dataGridViewAdvancedBorderStylePlaceHolder.Right = firstVisibleColumn ?
            DataGridViewAdvancedCellBorderStyle.Single :
            DataGridViewAdvancedCellBorderStyle.OutsetDouble;

        dataGridViewAdvancedBorderStylePlaceHolder.Bottom =
            DataGridViewAdvancedCellBorderStyle.None;

        return dataGridViewAdvancedBorderStylePlaceHolder;
    }
}


which works pretty well.

Still haven't found a way to do it at runtime though.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

Questioncreate excell file Pin
michaelgr115-Jun-09 4:51
michaelgr115-Jun-09 4:51 
AnswerRe: create excell file Pin
Simon P Stevens15-Jun-09 5:45
Simon P Stevens15-Jun-09 5:45 
AnswerRe: create excell file Pin
Rolf Jaeger15-Jun-09 17:33
Rolf Jaeger15-Jun-09 17:33 
QuestionGetting LINQtoSQL to work with FitNesse Pin
Nuz_UK15-Jun-09 4:44
Nuz_UK15-Jun-09 4:44 
QuestionTrashing the content of managed variables Pin
OriginalGriff15-Jun-09 4:18
mveOriginalGriff15-Jun-09 4:18 
AnswerRe: Trashing the content of managed variables Pin
led mike15-Jun-09 4:34
led mike15-Jun-09 4:34 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 4:44
mveOriginalGriff15-Jun-09 4:44 
GeneralRe: Trashing the content of managed variables Pin
Rob Philpott15-Jun-09 5:41
Rob Philpott15-Jun-09 5:41 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 5:59
mveOriginalGriff15-Jun-09 5:59 
GeneralRe: Trashing the content of managed variables Pin
led mike15-Jun-09 9:26
led mike15-Jun-09 9:26 
AnswerRe: Trashing the content of managed variables Pin
PIEBALDconsult15-Jun-09 5:47
mvePIEBALDconsult15-Jun-09 5:47 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 5:56
mveOriginalGriff15-Jun-09 5:56 
GeneralRe: Trashing the content of managed variables Pin
PIEBALDconsult15-Jun-09 8:18
mvePIEBALDconsult15-Jun-09 8:18 
QuestionAdd String attrribute to File Pin
hirenkshah15-Jun-09 2:37
hirenkshah15-Jun-09 2:37 
AnswerRe: Add String attrribute to File Pin
Nagy Vilmos15-Jun-09 2:44
professionalNagy Vilmos15-Jun-09 2:44 
AnswerRe: Add String attrribute to File Pin
OriginalGriff15-Jun-09 3:20
mveOriginalGriff15-Jun-09 3:20 
QuestionIs local administrator password is blank or not Pin
priyanka_jns15-Jun-09 2:03
priyanka_jns15-Jun-09 2:03 

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

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