Click here to Skip to main content
15,916,398 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Various Frameworks Installed Pin
mikailcetinkaya9-Jan-06 3:08
mikailcetinkaya9-Jan-06 3:08 
QuestionpictureBox refresh Pin
sergestusxx5-Jan-06 16:21
sergestusxx5-Jan-06 16:21 
Questionplaying two sound files at the same time Pin
pmt5-Jan-06 15:07
pmt5-Jan-06 15:07 
GeneralRe: playing two sound files at the same time Pin
HakunaMatada6-Jan-06 1:02
HakunaMatada6-Jan-06 1:02 
Questionquestion about application icons Pin
brdavid5-Jan-06 11:49
brdavid5-Jan-06 11:49 
QuestionWhere is the 'theApp' object in a C++ Windows Form application? Pin
epenciso5-Jan-06 5:59
epenciso5-Jan-06 5:59 
AnswerRe: Where is the 'theApp' object in a C++ Windows Form application? Pin
Nish Nishant5-Jan-06 6:25
sitebuilderNish Nishant5-Jan-06 6:25 
AnswerRe: Where is the 'theApp' object in a C++ Windows Form application? Pin
TheGreatAndPowerfulOz5-Jan-06 15:03
TheGreatAndPowerfulOz5-Jan-06 15:03 
if your project or application is named "Foo" then the main form object is the Foo. Just add a static Foo^ class variable to your Foo class and initialize it in the constructor.

for example:
public ref class Foo: public System::Windows::Forms::Form
{
  public:
    static Foo^ myFoo;
    Foo(void)
    {
      InitializeComponent();
      myFoo = this;
      ...
    }
...
};


Then, elsewhere in your code you can refer to your "main" form class as Foo::myFoo

hope this helps
QuestionChange UserStrings in code Pin
cecildt5-Jan-06 1:19
cecildt5-Jan-06 1:19 
AnswerRe: Change UserStrings in code Pin
TheGreatAndPowerfulOz5-Jan-06 15:04
TheGreatAndPowerfulOz5-Jan-06 15:04 
GeneralRe: Change UserStrings in code Pin
cecildt5-Jan-06 18:41
cecildt5-Jan-06 18:41 
GeneralRe: Change UserStrings in code Pin
TheGreatAndPowerfulOz5-Jan-06 19:59
TheGreatAndPowerfulOz5-Jan-06 19:59 
GeneralRe: Change UserStrings in code Pin
cecildt6-Jan-06 1:55
cecildt6-Jan-06 1:55 
QuestionQueued Timers Pin
LiamD5-Jan-06 0:30
LiamD5-Jan-06 0:30 
AnswerRe: Queued Timers Pin
Dave Kreskowiak5-Jan-06 4:23
mveDave Kreskowiak5-Jan-06 4:23 
QuestionChanging the appearance of controls Pin
engsrini5-Jan-06 0:22
engsrini5-Jan-06 0:22 
QuestionOnBeforeUnInstall Method in windows installer Pin
hiraljv4-Jan-06 22:28
hiraljv4-Jan-06 22:28 
QuestionDrawing in a PictureBox Pin
sergestusxx4-Jan-06 14:00
sergestusxx4-Jan-06 14:00 
AnswerRe: Drawing in a PictureBox Pin
Christian Graus4-Jan-06 14:41
protectorChristian Graus4-Jan-06 14:41 
QuestionCan't use web service Pin
sergestusxx4-Jan-06 6:46
sergestusxx4-Jan-06 6:46 
AnswerRe: Can't use web service Pin
VenkataRamana.Gali4-Jan-06 7:57
VenkataRamana.Gali4-Jan-06 7:57 
QuestionFree Visual Basic.NET videos Pin
DickInYaMum4-Jan-06 6:39
DickInYaMum4-Jan-06 6:39 
QuestionGiving Permissions to assembly Pin
TheDen4-Jan-06 1:01
TheDen4-Jan-06 1:01 
QuestionConvertStringToBSTR problem Pin
LiYS3-Jan-06 23:20
LiYS3-Jan-06 23:20 
QuestionStop IIS on remote system (Different machine) Pin
Vishal Modi3-Jan-06 20:03
Vishal Modi3-Jan-06 20:03 

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.