Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Basic Question On Constructor Stuff Pin
PozzaVecia3-Jun-11 11:10
PozzaVecia3-Jun-11 11:10 
AnswerRe: Basic Question On Constructor Stuff Pin
BobJanova3-Jun-11 4:34
BobJanova3-Jun-11 4:34 
QuestionGrid rendering problem in windows forms Pin
venomation2-Jun-11 5:38
venomation2-Jun-11 5:38 
GeneralRe: Grid rendering problem in windows forms Pin
thatraja2-Jun-11 8:21
professionalthatraja2-Jun-11 8:21 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 8:47
sitebuilderLuc Pattyn2-Jun-11 8:47 
GeneralRe: Grid rendering problem in windows forms Pin
venomation2-Jun-11 9:28
venomation2-Jun-11 9:28 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 9:36
sitebuilderLuc Pattyn2-Jun-11 9:36 
GeneralRe: Grid rendering problem in windows forms Pin
venomation2-Jun-11 9:57
venomation2-Jun-11 9:57 
The event handling is terrible I know, only there for a quick hack as I wanted to fix the old issue...
The cells need to be "cell by cell" instead of lines as the user will change them (tile map style).

I don't know if your suggestion would help for that, I made a slight improvement in the loop by calculating the difference before:

  for (int x = dbPanel1.HorizontalScroll.Value%size; x < width*size; x+= size)
{
    for (int y = dbPanel1.VerticalScroll.Value % size; y < height * size; y += size)
    {
        e.Graphics.DrawRectangle(_p, x , y , size, size);
    }
}

AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 10:02
sitebuilderLuc Pattyn2-Jun-11 10:02 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 10:54
sitebuilderLuc Pattyn2-Jun-11 10:54 
QuestionNot Working RegistryKey.openSubKey in windows 7 Pin
vishnukamath2-Jun-11 3:32
vishnukamath2-Jun-11 3:32 
AnswerRe: Not Working RegistryKey.openSubKey in windows 7 Pin
Wayne Gaylard2-Jun-11 4:00
professionalWayne Gaylard2-Jun-11 4:00 
AnswerRe: Not Working RegistryKey.openSubKey in windows 7 Pin
Luc Pattyn2-Jun-11 4:14
sitebuilderLuc Pattyn2-Jun-11 4:14 
GeneralRe: Not Working RegistryKey.openSubKey in windows 7 Pin
GenJerDan2-Jun-11 4:28
GenJerDan2-Jun-11 4:28 
Questionis there any way to make Silent installation to my C# program - on Visual-Studio Pin
goldsoft2-Jun-11 1:41
goldsoft2-Jun-11 1:41 
AnswerRe: is there any way to make Silent installation to my C# program - on Visual-Studio Pin
Luc Pattyn2-Jun-11 2:41
sitebuilderLuc Pattyn2-Jun-11 2:41 
AnswerRe: is there any way to make Silent installation to my C# program - on Visual-Studio Pin
Dave Kreskowiak2-Jun-11 4:15
mveDave Kreskowiak2-Jun-11 4:15 
Questionread excel file with OleDbCommand Pin
MrKBA2-Jun-11 1:19
MrKBA2-Jun-11 1:19 
AnswerRe: read excel file with OleDbCommand Pin
PIEBALDconsult2-Jun-11 3:06
mvePIEBALDconsult2-Jun-11 3:06 
GeneralRe: read excel file with OleDbCommand Pin
MrKBA2-Jun-11 3:24
MrKBA2-Jun-11 3:24 
GeneralRe: read excel file with OleDbCommand Pin
Wayne Gaylard2-Jun-11 4:03
professionalWayne Gaylard2-Jun-11 4:03 
QuestionMicrosoft Report on Network c# 2010 ? [modified] Pin
Paramu19732-Jun-11 1:09
Paramu19732-Jun-11 1:09 
QuestionHow to Systematic Development and Programming Pin
Anubhava Dimri1-Jun-11 22:56
Anubhava Dimri1-Jun-11 22:56 
AnswerRe: How to Systematic Development and Programming Pin
Pete O'Hanlon1-Jun-11 23:18
mvePete O'Hanlon1-Jun-11 23:18 
AnswerRe: How to Systematic Development and Programming Pin
PIEBALDconsult2-Jun-11 3:09
mvePIEBALDconsult2-Jun-11 3:09 

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.