Click here to Skip to main content
15,912,665 members
Home / Discussions / C#
   

C#

 
GeneralRe: Check to see if table exists Pin
Stathread20-Jul-06 16:07
Stathread20-Jul-06 16:07 
QuestionRestoring control's default properties Pin
xkx3219-Jul-06 15:58
xkx3219-Jul-06 15:58 
AnswerRe: Restoring control's default properties Pin
Super Lloyd19-Jul-06 17:15
Super Lloyd19-Jul-06 17:15 
QuestionGetting HTML source displaying [modified] Pin
James Dufty19-Jul-06 15:38
James Dufty19-Jul-06 15:38 
AnswerRe: Getting HTML source displaying Pin
Stefan Troschuetz19-Jul-06 21:30
Stefan Troschuetz19-Jul-06 21:30 
AnswerRe: Getting HTML source displaying [modified] Pin
Gavin Roberts20-Jul-06 0:23
Gavin Roberts20-Jul-06 0:23 
GeneralRe: Getting HTML source displaying Pin
James Dufty20-Jul-06 15:35
James Dufty20-Jul-06 15:35 
Questionpassing data to a textbox on a form using a method in a class Pin
haz1319-Jul-06 13:32
haz1319-Jul-06 13:32 
AnswerROTFLMAO Pin
Ennis Ray Lynch, Jr.19-Jul-06 13:57
Ennis Ray Lynch, Jr.19-Jul-06 13:57 
QuestionRe: ROTFLMAO Pin
haz1319-Jul-06 14:28
haz1319-Jul-06 14:28 
AnswerRe: ROTFLMAO Pin
Ennis Ray Lynch, Jr.19-Jul-06 14:40
Ennis Ray Lynch, Jr.19-Jul-06 14:40 
AnswerRe: passing data to a textbox on a form using a method in a class Pin
Christian Graus19-Jul-06 19:16
protectorChristian Graus19-Jul-06 19:16 
GeneralRe: passing data to a textbox on a form using a method in a class Pin
AB777119-Jul-06 19:36
AB777119-Jul-06 19:36 
Yes the use of delegates can do that,
Declare a delegate event handler, implement that event handler
in the Form1 class and invoke that event from the other class where you are trying to set the textbox value and pass the value as a parameter to the delegate.

e.g
public delegate void TextChangeEventHandler(string text);

public delegate void ChangeText;

Then implement this method :
You can just write
this.ChangeText += new TextChangeEventHandler(ChangeText);

then the method
Public void ChangeText(string Text)
{
textbox1.text = Text;
}

and in Your class u can just raise the event
Form1.TextChangeEvent obj = new ...
and obj.Invoke();

Hope that works for you

Regards,
Pramod
QuestionRe: passing data to a textbox on a form using a method in a class Pin
haz1322-Jul-06 3:05
haz1322-Jul-06 3:05 
GeneralRe: passing data to a textbox on a form using a method in a class Pin
haz1322-Jul-06 5:27
haz1322-Jul-06 5:27 
GeneralRe: passing data to a textbox on a form using a method in a class Pin
Christian Graus22-Jul-06 12:06
protectorChristian Graus22-Jul-06 12:06 
QuestionCopying files with long path names Pin
GazzaJ19-Jul-06 11:50
GazzaJ19-Jul-06 11:50 
AnswerRe: Copying files with long path names Pin
RizwanSharp19-Jul-06 12:08
RizwanSharp19-Jul-06 12:08 
GeneralRe: Copying files with long path names Pin
GazzaJ19-Jul-06 22:10
GazzaJ19-Jul-06 22:10 
AnswerRe: Copying files with long path names Pin
Gavin Roberts20-Jul-06 0:25
Gavin Roberts20-Jul-06 0:25 
GeneralRe: Copying files with long path names Pin
GazzaJ20-Jul-06 0:48
GazzaJ20-Jul-06 0:48 
Questionabout writing some thing into the input stream of any running process Pin
hardikvaishnav19-Jul-06 11:15
hardikvaishnav19-Jul-06 11:15 
AnswerRe: about writing some thing into the input stream of any running process Pin
led mike19-Jul-06 11:42
led mike19-Jul-06 11:42 
QuestionShow small TM sign on title bar title text Pin
Saamir19-Jul-06 9:31
Saamir19-Jul-06 9:31 
AnswerRe: Show small TM sign on title bar title text Pin
Paul Brower19-Jul-06 9:36
Paul Brower19-Jul-06 9:36 

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.