Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can`t set focus to the form that i show. . . . . Pin
Yanshof2-Oct-07 4:08
Yanshof2-Oct-07 4:08 
QuestionSchema.ini & file names Pin
digsy_2-Oct-07 2:45
digsy_2-Oct-07 2:45 
AnswerRe: Schema.ini & file names Pin
Dave Kreskowiak2-Oct-07 8:48
mveDave Kreskowiak2-Oct-07 8:48 
Questionhow can I change the properties of controls in/from another class [modified] Pin
pramarathe2-Oct-07 2:29
pramarathe2-Oct-07 2:29 
AnswerRe: how can I change the properties of controls on another class Pin
Justin Perez2-Oct-07 2:40
Justin Perez2-Oct-07 2:40 
AnswerRe: how can I change the properties of controls on another class Pin
Pete O'Hanlon2-Oct-07 2:49
mvePete O'Hanlon2-Oct-07 2:49 
AnswerRe: how can I change the properties of controls on another class Pin
Andrei Ungureanu2-Oct-07 2:51
Andrei Ungureanu2-Oct-07 2:51 
AnswerRe: how can I change the properties of controls on another class Pin
pramarathe2-Oct-07 4:37
pramarathe2-Oct-07 4:37 
guess solved the problem ... d singleton thing ...

let me know my approch is right or wrong ...
things i did ..
0.1 ) private static form1 oForm = null; //global variable 0.1 is coz i m lazy enf to change 1 to 2 n etc etc :P
1 ) created a instance method
public static form1 instance()

{
if (oForm1 == null)
{ oForm1=new form1();
}
return oForm1;
}
2 ) in form1 consturctor assigned oForm1 = this; // so i have the instance of current form

3 ) a exposed property which gets sets statusbarpaneltext
4) in my staic class created private variable f
FORM f= form1.instance() // its FORM and form1 resp .. no typo here .. Smile | :)

5) where ever i want to update statusbar now i write
f.statusbarpaneltext= dirInfo.fullpath.tostring(); //for eg ..

thats abt it ... if m missing some systax i can update it ... its working for me .. now only(?) thing is impliment a thread to see this Wink | ;)

now m wating for comments on how m wrong n where ...plz ....






i talk to myself.....
QuestionSpace Key problem Pin
mihksoft2-Oct-07 1:59
mihksoft2-Oct-07 1:59 
AnswerRe: Space Key problem Pin
Justin Perez2-Oct-07 2:35
Justin Perez2-Oct-07 2:35 
GeneralRe: Space Key problem Pin
mihksoft2-Oct-07 2:37
mihksoft2-Oct-07 2:37 
GeneralRe: Space Key problem Pin
Pete O'Hanlon2-Oct-07 2:39
mvePete O'Hanlon2-Oct-07 2:39 
GeneralRe: Space Key problem Pin
Justin Perez2-Oct-07 2:41
Justin Perez2-Oct-07 2:41 
GeneralRe: Space Key problem Pin
mihksoft2-Oct-07 2:45
mihksoft2-Oct-07 2:45 
GeneralRe: Space Key problem Pin
Justin Perez2-Oct-07 2:49
Justin Perez2-Oct-07 2:49 
GeneralRe: Space Key problem Pin
leppie2-Oct-07 4:50
leppie2-Oct-07 4:50 
QuestionHow to expose std::vector in C Sharp Pin
Dhanesh Nair2-Oct-07 0:35
Dhanesh Nair2-Oct-07 0:35 
AnswerRe: How to expose std::vector in C Sharp Pin
Judah Gabriel Himango2-Oct-07 4:21
sponsorJudah Gabriel Himango2-Oct-07 4:21 
QuestionClass with symbol [modified] Pin
N a v a n e e t h2-Oct-07 0:24
N a v a n e e t h2-Oct-07 0:24 
AnswerRe: Class with symbol Pin
Christian Graus2-Oct-07 0:32
protectorChristian Graus2-Oct-07 0:32 
GeneralRe: Class with symbol Pin
Jens Meyer2-Oct-07 0:42
Jens Meyer2-Oct-07 0:42 
GeneralRe: Class with symbol Pin
J4amieC2-Oct-07 0:47
J4amieC2-Oct-07 0:47 
GeneralRe: Class with symbol Pin
N a v a n e e t h2-Oct-07 0:48
N a v a n e e t h2-Oct-07 0:48 
GeneralRe: Class with symbol Pin
Pete O'Hanlon2-Oct-07 0:56
mvePete O'Hanlon2-Oct-07 0:56 
GeneralRe: Class with symbol Pin
N a v a n e e t h2-Oct-07 0:59
N a v a n e e t h2-Oct-07 0:59 

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.