Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
AnswerRe: passing mainform instance Pin
Martin#21-Feb-07 21:41
Martin#21-Feb-07 21:41 
GeneralRe: passing mainform instance Pin
motojojo21-Feb-07 21:50
motojojo21-Feb-07 21:50 
GeneralRe: passing mainform instance Pin
Martin#21-Feb-07 21:56
Martin#21-Feb-07 21:56 
GeneralRe: passing mainform instance Pin
motojojo21-Feb-07 22:05
motojojo21-Feb-07 22:05 
GeneralRe: passing mainform instance Pin
motojojo21-Feb-07 22:07
motojojo21-Feb-07 22:07 
GeneralRe: passing mainform instance Pin
Martin#21-Feb-07 22:29
Martin#21-Feb-07 22:29 
GeneralRe: passing mainform instance Pin
Stefan Troschuetz21-Feb-07 22:13
Stefan Troschuetz21-Feb-07 22:13 
GeneralRe: passing mainform instance Pin
Christian Graus21-Feb-07 21:47
protectorChristian Graus21-Feb-07 21:47 
Perhaps you need to do better at asking questions. If you're inside your mainform, and not inside a static function, this will work. There Application object also has a collection of open forms, which you can also iterate through and look for your mainform. But, when someone tells you how to do something,

motojojo wrote:
This does NOT work


is useless. Tell us WHY it won't work, what the error is, and then we can perhaps tell you what's going on, without having to guess. Odds are high it's in a static function, and if you bothered to read the error message, you'd understand why it's not working.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionCursor Background [modified] Pin
hiremath7121-Feb-07 20:11
hiremath7121-Feb-07 20:11 
AnswerRe: Cursor Background Pin
mike montagne23-Feb-07 12:40
mike montagne23-Feb-07 12:40 
GeneralRe: Cursor Background Pin
hiremath7125-Feb-07 18:44
hiremath7125-Feb-07 18:44 
GeneralRe: Cursor Background Pin
mike montagne26-Feb-07 13:17
mike montagne26-Feb-07 13:17 
GeneralRe: Cursor Background Pin
hiremath7126-Feb-07 22:31
hiremath7126-Feb-07 22:31 
GeneralRe: Cursor Background Pin
mike montagne27-Feb-07 9:10
mike montagne27-Feb-07 9:10 
QuestionHave some buttons clicks automatically! Pin
mrkeivan21-Feb-07 19:57
mrkeivan21-Feb-07 19:57 
AnswerRe: Have some buttons clicks automatically! Pin
mike montagne23-Feb-07 12:42
mike montagne23-Feb-07 12:42 
QuestionMAP DESIGN TIME HELP REQUESTS TO ONLINE HTML NAME ANCHORS? Pin
mike montagne21-Feb-07 19:40
mike montagne21-Feb-07 19:40 
Questionhow To add exe in system try using Pin
Ankush Komarwar21-Feb-07 18:28
Ankush Komarwar21-Feb-07 18:28 
AnswerRe: how To add exe in system try using Pin
Shajeel21-Feb-07 18:36
Shajeel21-Feb-07 18:36 
QuestionCopy method Pin
hiremath7121-Feb-07 18:26
hiremath7121-Feb-07 18:26 
AnswerRe: Copy method Pin
Christian Graus21-Feb-07 18:30
protectorChristian Graus21-Feb-07 18:30 
Questionconvert raw image to bmp or jpeg Pin
gskumar11121-Feb-07 18:21
gskumar11121-Feb-07 18:21 
AnswerRe: convert raw image to bmp or jpeg Pin
Christian Graus21-Feb-07 18:27
protectorChristian Graus21-Feb-07 18:27 
GeneralRe: convert raw image to bmp or jpeg Pin
gskumar11121-Feb-07 18:40
gskumar11121-Feb-07 18:40 
GeneralRe: convert raw image to bmp or jpeg Pin
Christian Graus21-Feb-07 18:55
protectorChristian Graus21-Feb-07 18:55 

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.