Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionWhy Control.FromHandle(IntPtr) returns null in one hooked process and returns valid object of “Form”? in another hooked process? Pin
glitteringsound29-Jun-11 3:13
glitteringsound29-Jun-11 3:13 
QuestionDot Net Remoting [modified] Pin
Aneesh M29-Jun-11 1:14
Aneesh M29-Jun-11 1:14 
AnswerRe: Dot Net Remoting Pin
Mario Majčica29-Jun-11 1:49
professionalMario Majčica29-Jun-11 1:49 
GeneralRe: Dot Net Remoting Pin
Aneesh M1-Jul-11 0:29
Aneesh M1-Jul-11 0:29 
AnswerRe: Dot Net Remoting Pin
Corinna John29-Jun-11 5:04
Corinna John29-Jun-11 5:04 
QuestionActivator.CreateInstance Pin
scotlandc28-Jun-11 4:12
scotlandc28-Jun-11 4:12 
AnswerRe: Activator.CreateInstance Pin
BobJanova28-Jun-11 4:17
BobJanova28-Jun-11 4:17 
AnswerRe: Activator.CreateInstance Pin
PIEBALDconsult28-Jun-11 14:29
mvePIEBALDconsult28-Jun-11 14:29 
GeneralRe: Activator.CreateInstance Pin
scotlandc28-Jun-11 21:16
scotlandc28-Jun-11 21:16 
GeneralRe: Activator.CreateInstance Pin
BobJanova28-Jun-11 22:29
BobJanova28-Jun-11 22:29 
GeneralRe: Activator.CreateInstance Pin
scotlandc28-Jun-11 23:28
scotlandc28-Jun-11 23:28 
Questionhow can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
aspkiddy28-Jun-11 2:42
aspkiddy28-Jun-11 2:42 
AnswerRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
Not Active28-Jun-11 2:49
mentorNot Active28-Jun-11 2:49 
GeneralRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
marszheng28-Jun-11 15:03
marszheng28-Jun-11 15:03 
GeneralRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
Not Active28-Jun-11 15:45
mentorNot Active28-Jun-11 15:45 
AnswerRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
BobJanova28-Jun-11 22:33
BobJanova28-Jun-11 22:33 
QuestionProblem with reteriving xml data from sql data base. Pin
prasadbuddhika28-Jun-11 0:23
prasadbuddhika28-Jun-11 0:23 
AnswerRe: Problem with reteriving xml data from sql data base. Pin
abhinish28-Jun-11 0:35
abhinish28-Jun-11 0:35 
QuestionProblem with Process.HasExited Pin
Nigel Mackay27-Jun-11 23:52
Nigel Mackay27-Jun-11 23:52 
AnswerRe: Problem with Process.HasExited PinPopular
BobJanova27-Jun-11 23:55
BobJanova27-Jun-11 23:55 
GeneralRe: Problem with Process.HasExited Pin
Nigel Mackay28-Jun-11 0:08
Nigel Mackay28-Jun-11 0:08 
QuestionCode style [modified] Pin
Lutosław27-Jun-11 23:43
Lutosław27-Jun-11 23:43 
AnswerRe: Code style Pin
V.27-Jun-11 23:50
professionalV.27-Jun-11 23:50 
AnswerRe: Code style [modified] Pin
Pete O'Hanlon28-Jun-11 0:00
mvePete O'Hanlon28-Jun-11 0:00 
GeneralRe: Code style Pin
BobJanova28-Jun-11 0:06
BobJanova28-Jun-11 0:06 
Sniped!

I think you actually don't want to dispose the pen in this case, though, because it's being read out of a global variable which is presumably caching it.

(Also, the brush is different for the two cases, like the pen.)

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.