Click here to Skip to main content
14,385,667 members
   

C#

 
GeneralRe: Drag and Drop Ms-Word,Excel and PowerPoint Pin
Eddy Vluggen15-Jun-19 3:48
mveEddy Vluggen15-Jun-19 3:48 
GeneralRe: Drag and Drop Ms-Word,Excel and PowerPoint Pin
Member 1370632015-Jun-19 4:20
MemberMember 1370632015-Jun-19 4:20 
QuestionCatching exceptions in fire&forget tasks Pin
Bernhard Hiller14-Jun-19 3:58
MemberBernhard Hiller14-Jun-19 3:58 
AnswerRe: Catching exceptions in fire&forget tasks Pin
BillWoodruff14-Jun-19 12:58
mveBillWoodruff14-Jun-19 12:58 
AnswerRe: Catching exceptions in fire&forget tasks Pin
Eddy Vluggen14-Jun-19 14:37
mveEddy Vluggen14-Jun-19 14:37 
GeneralRe: Catching exceptions in fire&forget tasks Pin
Bernhard Hiller16-Jun-19 21:49
MemberBernhard Hiller16-Jun-19 21:49 
QuestionRe: Catching exceptions in fire&forget tasks Pin
Eddy Vluggen16-Jun-19 23:45
mveEddy Vluggen16-Jun-19 23:45 
AnswerRe: Catching exceptions in fire&forget tasks Pin
Gerry Schmitz14-Jun-19 21:59
mveGerry Schmitz14-Jun-19 21:59 
GeneralRe: Catching exceptions in fire&forget tasks Pin
Bernhard Hiller16-Jun-19 21:53
MemberBernhard Hiller16-Jun-19 21:53 
AnswerRe: Catching exceptions in fire&forget tasks Pin
jschell15-Jun-19 4:56
Memberjschell15-Jun-19 4:56 
GeneralRe: Catching exceptions in fire&forget tasks Pin
Bernhard Hiller16-Jun-19 21:59
MemberBernhard Hiller16-Jun-19 21:59 
GeneralRe: Catching exceptions in fire&forget tasks Pin
jschell23-Jun-19 6:42
Memberjschell23-Jun-19 6:42 
Questionsome bugs don't retire Pin
BillWoodruff12-Jun-19 14:40
mveBillWoodruff12-Jun-19 14:40 
AnswerRe: some bugs don't retire Pin
Dave Kreskowiak12-Jun-19 15:52
mveDave Kreskowiak12-Jun-19 15:52 
GeneralRe: some bugs don't retire Pin
#realJSOP13-Jun-19 8:46
mve#realJSOP13-Jun-19 8:46 
GeneralRe: some bugs don't retire Pin
Dave Kreskowiak13-Jun-19 11:02
mveDave Kreskowiak13-Jun-19 11:02 
GeneralRe: some bugs don't retire Pin
BillWoodruff18-Jun-19 18:59
mveBillWoodruff18-Jun-19 18:59 
QuestionProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
Member 1449598412-Jun-19 3:46
MemberMember 1449598412-Jun-19 3:46 
AnswerRe: ProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
OriginalGriff12-Jun-19 5:05
mveOriginalGriff12-Jun-19 5:05 
GeneralRe: ProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
BillWoodruff12-Jun-19 5:57
mveBillWoodruff12-Jun-19 5:57 
AnswerRe: ProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
#realJSOP12-Jun-19 6:03
mve#realJSOP12-Jun-19 6:03 
AnswerRe: ProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
Gerry Schmitz12-Jun-19 7:15
mveGerry Schmitz12-Jun-19 7:15 
GeneralRe: ProcessId from ShDocVw.InternetExplorer(ShDocVw.ShellDocs) Pin
Eddy Vluggen12-Jun-19 12:12
mveEddy Vluggen12-Jun-19 12:12 
QuestionDraw vertical bold lines between some columns in datagridview Pin
henryvuong10-Jun-19 16:48
Memberhenryvuong10-Jun-19 16:48 
AnswerRe: Draw vertical bold lines between some columns in datagridview Pin
OriginalGriff10-Jun-19 23:43
mveOriginalGriff10-Jun-19 23:43 
Don't use CellPainting - use RowPostPaint:
private void DataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
    {
    DataGridView dgv = sender as DataGridView;
    if (dgv != null)
        {
        Rectangle rect = dgv.GetRowDisplayRectangle(e.RowIndex, false);

        int leftRow = dgv.Columns["Col_B"].Index;
        int rightRow = dgv.Columns["Col_D"].Index;
        int leftX = dgv.GetCellDisplayRectangle(leftRow, e.RowIndex, true).X;
        int rightX = dgv.GetCellDisplayRectangle(rightRow, e.RowIndex, true).X
                      + dgv.GetCellDisplayRectangle(rightRow, e.RowIndex, true).Width;

        e.Graphics.DrawLine(Pens.Red, new Point(leftX, rect.Top), new Point(leftX, rect.Bottom));
        e.Graphics.DrawLine(Pens.Red, new Point(rightX, rect.Top), new Point(rightX, rect.Bottom));
        }
    }

Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

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.