Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
GeneralRe: DrawString / label transparency Pin
Lord ChaosMan5-Dec-06 8:11
Lord ChaosMan5-Dec-06 8:11 
AnswerRe: DrawString / label transparency Pin
Lord ChaosMan5-Dec-06 8:13
Lord ChaosMan5-Dec-06 8:13 
Questionhow to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 1:06
quiteSmart4-Dec-06 1:06 
AnswerRe: how to know if "ENTER" key is pressed Pin
Stefan Troschuetz4-Dec-06 1:16
Stefan Troschuetz4-Dec-06 1:16 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:17
quiteSmart4-Dec-06 2:17 
GeneralRe: how to know if "ENTER" key is pressed Pin
Stefan Troschuetz4-Dec-06 2:23
Stefan Troschuetz4-Dec-06 2:23 
AnswerRe: how to know if "ENTER" key is pressed Pin
Mandaar Kulkarni4-Dec-06 2:13
Mandaar Kulkarni4-Dec-06 2:13 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:23
quiteSmart4-Dec-06 2:23 
GeneralRe: how to know if "ENTER" key is pressed Pin
Mandaar Kulkarni4-Dec-06 2:35
Mandaar Kulkarni4-Dec-06 2:35 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:41
quiteSmart4-Dec-06 2:41 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:50
quiteSmart4-Dec-06 2:50 
QuestionEvent when an application gets active Pin
Eka4-Dec-06 0:55
Eka4-Dec-06 0:55 
AnswerRe: Event when an application gets active Pin
Anthony Mushrow4-Dec-06 2:28
professionalAnthony Mushrow4-Dec-06 2:28 
AnswerRe: Event when an application gets active Pin
Nader Elshehabi4-Dec-06 3:14
Nader Elshehabi4-Dec-06 3:14 
QuestionDatagridview Issue [modified] Pin
Russell Jones4-Dec-06 0:09
Russell Jones4-Dec-06 0:09 
AnswerRe: Datagridview Issue Pin
Russell Jones4-Dec-06 0:36
Russell Jones4-Dec-06 0:36 
QuestionHelp - Understanding System.Windows.Forms Hide() Pin
Andrew Mercer3-Dec-06 23:37
Andrew Mercer3-Dec-06 23:37 
AnswerRe: Help - Understanding System.Windows.Forms Hide() Pin
Nader Elshehabi4-Dec-06 1:01
Nader Elshehabi4-Dec-06 1:01 
QuestionIShellExtInt & IContextMenu Pin
Ovelisax3-Dec-06 23:35
Ovelisax3-Dec-06 23:35 
QuestionGame of life Pin
mark pannini3-Dec-06 23:29
mark pannini3-Dec-06 23:29 
AnswerRe: Game of life Pin
Guffa3-Dec-06 23:46
Guffa3-Dec-06 23:46 
GeneralRe: Game of life Pin
mark pannini4-Dec-06 0:43
mark pannini4-Dec-06 0:43 
QuestionShare varible across the classes Pin
Maddie from Dartford3-Dec-06 22:15
Maddie from Dartford3-Dec-06 22:15 
AnswerRe: Share varible across the classes Pin
WillemM3-Dec-06 22:19
WillemM3-Dec-06 22:19 
AnswerRe: Share varible across the classes Pin
Christian Graus3-Dec-06 22:30
protectorChristian Graus3-Dec-06 22:30 
The most common equivelant to the application class in MFC would be to create a class full of public, static properties. As there's only one application class in MFC, so too, static variables can be seen from anywhere.

A better approach is to consider when the second class needs to see inside the first one, and set up delegates to provide this communication.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

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.