Click here to Skip to main content
15,926,274 members
Home / Discussions / C#
   

C#

 
GeneralRe: Piece of PictureBox Pin
Amr Abdel-Mohsen23-Apr-07 4:20
Amr Abdel-Mohsen23-Apr-07 4:20 
Questionc++ code in c#.... Pin
lavy288323-Apr-07 1:14
lavy288323-Apr-07 1:14 
AnswerRe: c++ code in c#.... Pin
Christian Graus23-Apr-07 1:29
protectorChristian Graus23-Apr-07 1:29 
GeneralRe: c++ code in c#.... Pin
lavy288323-Apr-07 1:35
lavy288323-Apr-07 1:35 
GeneralRe: c++ code in c#.... Pin
Christian Graus23-Apr-07 1:40
protectorChristian Graus23-Apr-07 1:40 
GeneralRe: c++ code in c#.... Pin
lavy288323-Apr-07 1:53
lavy288323-Apr-07 1:53 
GeneralRe: c++ code in c#.... Pin
lavy288323-Apr-07 1:54
lavy288323-Apr-07 1:54 
GeneralRe: c++ code in c#.... Pin
Vikram A Punathambekar23-Apr-07 1:57
Vikram A Punathambekar23-Apr-07 1:57 
GeneralRe: c++ code in c#.... Pin
lavy288323-Apr-07 2:02
lavy288323-Apr-07 2:02 
QuestionCreating deployment Pin
waddie123-Apr-07 1:00
waddie123-Apr-07 1:00 
AnswerRe: Creating deployment Pin
kubben23-Apr-07 2:36
kubben23-Apr-07 2:36 
AnswerRe: Creating deployment Pin
Jax_qqq23-Apr-07 4:39
Jax_qqq23-Apr-07 4:39 
QuestionHow to read image file ? Pin
trungpt_hut23-Apr-07 0:45
trungpt_hut23-Apr-07 0:45 
AnswerRe: How to read image file ? Pin
Christian Graus23-Apr-07 0:59
protectorChristian Graus23-Apr-07 0:59 
QuestionMFC serialization Pin
Keshav V. Kamat23-Apr-07 0:28
Keshav V. Kamat23-Apr-07 0:28 
AnswerRe: MFC serialization Pin
Colin Angus Mackay23-Apr-07 0:41
Colin Angus Mackay23-Apr-07 0:41 
QuestionDriveInfo's IsReady problem Pin
Eduard Keilholz23-Apr-07 0:27
Eduard Keilholz23-Apr-07 0:27 
Questionusing instance of a class ? Pin
Software_Specialist23-Apr-07 0:12
Software_Specialist23-Apr-07 0:12 
Is it possible to create an instance of a class under one button and use it in another button.
Well basically what i am trying to do is
I am writing an application which control the execution of command over local and remote machine.
So i want to use 3 buttons i.e. Register , Submit and Unregister.
Now under Register button i simply want to create an instance of a class which in turns goes to register function with in that class.
handle han = new handle("MyProgram"); // here my program gets registered.

Now i want to use han object over another button i.e submit button, somethin like that/
han.submit(...);

So is there any way to do so. I dont think its a good idea to create instance of a class globally because whole thing is that i want to make use of register button n so on.

Thanks
SS
AnswerRe: using instance of a class ? Pin
Colin Angus Mackay23-Apr-07 0:23
Colin Angus Mackay23-Apr-07 0:23 
GeneralRe: using instance of a class ? Pin
Software_Specialist23-Apr-07 0:27
Software_Specialist23-Apr-07 0:27 
GeneralRe: using instance of a class ? Pin
Colin Angus Mackay23-Apr-07 0:47
Colin Angus Mackay23-Apr-07 0:47 
AnswerRe: using instance of a class ? Pin
Eduard Keilholz23-Apr-07 0:47
Eduard Keilholz23-Apr-07 0:47 
GeneralRe: using instance of a class ? Pin
Christian Graus23-Apr-07 0:58
protectorChristian Graus23-Apr-07 0:58 
GeneralRe: using instance of a class ? Pin
Software_Specialist23-Apr-07 1:41
Software_Specialist23-Apr-07 1:41 
QuestionGetter and Setter functions Pin
Dewald23-Apr-07 0:06
Dewald23-Apr-07 0:06 

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.