Click here to Skip to main content
15,913,758 members
Home / Discussions / C#
   

C#

 
AnswerRe: سي Pin
sima37-Feb-10 23:55
sima37-Feb-10 23:55 
QuestionMessage Removed Pin
7-Feb-10 23:55
jojoba20107-Feb-10 23:55 
AnswerRe: س Pin
sima38-Feb-10 0:00
sima38-Feb-10 0:00 
AnswerRe: سي Pin
sima37-Feb-10 23:56
sima37-Feb-10 23:56 
Questionshell extension problem on 64 bit pc Pin
Nematjon Raxmanov7-Feb-10 23:03
Nematjon Raxmanov7-Feb-10 23:03 
AnswerRe: shell extension problem on 64 bit pc Pin
Daniel Grunwald8-Feb-10 1:13
Daniel Grunwald8-Feb-10 1:13 
QuestionRe: shell extension problem on 64 bit pc [modified] Pin
Nematjon Rahmanov8-Feb-10 1:35
Nematjon Rahmanov8-Feb-10 1:35 
QuestionAddRectangle Exception Pin
gwithey7-Feb-10 22:55
gwithey7-Feb-10 22:55 
Hi i seem to be getting an argumentException on the indicated line for no reason that i can see.

There is a perameter not valid message however it is, as i create the rectangle and add it straight away.

        // Add two rectangles to graphics path
        Rectangle rectangle = new Rectangle(5, 5, 10, 10);

        // Create two rectangles representing the node and expand box
        Rectangle textBacking = new Rectangle(m_expandBox.Width + (m_gap * 2),
        m_gap - (int)(m_gap * 0.5), Size.Width - m_gap, Size.Height - m_gap);
 
----->  m_gpExpandBox.AddRectangle(rectangle);
        m_gpTextBacking.AddRectangle(textBacking);


Does anyone know why this is happening. I cannot see any information on the net that would reveal the cause of the problem.

Thanx George
AnswerRe: AddRectangle Exception Pin
OriginalGriff7-Feb-10 23:00
mveOriginalGriff7-Feb-10 23:00 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:09
gwithey7-Feb-10 23:09 
GeneralRe: AddRectangle Exception Pin
OriginalGriff7-Feb-10 23:17
mveOriginalGriff7-Feb-10 23:17 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:32
gwithey7-Feb-10 23:32 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:41
gwithey7-Feb-10 23:41 
Questionl Pin
sima37-Feb-10 22:52
sima37-Feb-10 22:52 
AnswerRe: l Pin
OriginalGriff7-Feb-10 23:01
mveOriginalGriff7-Feb-10 23:01 
Questionx Pin
sima37-Feb-10 22:40
sima37-Feb-10 22:40 
AnswerRe: x Pin
Mohammad Dayyan7-Feb-10 23:23
Mohammad Dayyan7-Feb-10 23:23 
GeneralRe: x Pin
Nagy Vilmos8-Feb-10 0:27
professionalNagy Vilmos8-Feb-10 0:27 
Questionم Pin
sima37-Feb-10 22:26
sima37-Feb-10 22:26 
AnswerRe: م Pin
SeMartens7-Feb-10 22:31
SeMartens7-Feb-10 22:31 
AnswerRe: م Pin
J4amieC7-Feb-10 22:35
J4amieC7-Feb-10 22:35 
AnswerRe: م Pin
Pete O'Hanlon7-Feb-10 22:48
mvePete O'Hanlon7-Feb-10 22:48 
GeneralRe: م Pin
Mohammad Dayyan7-Feb-10 22:57
Mohammad Dayyan7-Feb-10 22:57 
Questionچ Pin
sima37-Feb-10 22:22
sima37-Feb-10 22:22 
AnswerRe: چ Pin
SeMartens7-Feb-10 22:27
SeMartens7-Feb-10 22:27 

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.