Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
QuestionSwitch/Case Question Pin
ffowler26-Aug-08 3:25
ffowler26-Aug-08 3:25 
AnswerRe: Switch/Case Question Pin
J4amieC26-Aug-08 3:29
J4amieC26-Aug-08 3:29 
GeneralRe: Switch/Case Question Pin
ffowler26-Aug-08 3:36
ffowler26-Aug-08 3:36 
GeneralRe: Switch/Case Question Pin
leppie26-Aug-08 3:42
leppie26-Aug-08 3:42 
GeneralRe: Switch/Case Question Pin
ffowler26-Aug-08 3:49
ffowler26-Aug-08 3:49 
GeneralRe: Switch/Case Question Pin
Pete O'Hanlon26-Aug-08 3:56
mvePete O'Hanlon26-Aug-08 3:56 
QuestionPassing data between parent, child and class Pin
ianhunt0126-Aug-08 3:08
ianhunt0126-Aug-08 3:08 
AnswerRe: Passing data between parent, child and class Pin
paas26-Aug-08 6:47
paas26-Aug-08 6:47 
One part of the article you linked talks about passing information between forms using properties, like the example you provided, and towards the end the article provides examples of using delegates and events to pass info between forms. My suggestion is that you use delegates and events, instead of properties, and raise the event in the child form as the child is closing (in the FormClosing event) so that the information gets returned to the parent form at that time, instead of being lost on the close. Or, as an alternative, you could raise the event whenever the text is actually changed, and make the changes to the database each time the text is changed.

If you did try the delegates/events example, and had problems with that, please describe what problem/error you were receiving.
Questionweb service Pin
arkiboys26-Aug-08 2:47
arkiboys26-Aug-08 2:47 
AnswerRe: web service Pin
leppie26-Aug-08 2:53
leppie26-Aug-08 2:53 
GeneralRe: web service Pin
arkiboys26-Aug-08 2:58
arkiboys26-Aug-08 2:58 
GeneralRe: web service Pin
leppie26-Aug-08 3:02
leppie26-Aug-08 3:02 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:08
arkiboys26-Aug-08 3:08 
AnswerRe: web service Pin
Pete O'Hanlon26-Aug-08 3:08
mvePete O'Hanlon26-Aug-08 3:08 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:15
arkiboys26-Aug-08 3:15 
GeneralRe: web service Pin
Pete O'Hanlon26-Aug-08 3:29
mvePete O'Hanlon26-Aug-08 3:29 
GeneralRe: web service Pin
leppie26-Aug-08 3:40
leppie26-Aug-08 3:40 
GeneralRe: web service Pin
arkiboys26-Aug-08 3:52
arkiboys26-Aug-08 3:52 
GeneralRe: web service Pin
arkiboys26-Aug-08 4:21
arkiboys26-Aug-08 4:21 
GeneralRe: web service Pin
Pete O'Hanlon26-Aug-08 4:29
mvePete O'Hanlon26-Aug-08 4:29 
QuestionScanner and TWAIN Pin
Stephen Lintott26-Aug-08 2:25
Stephen Lintott26-Aug-08 2:25 
AnswerRe: Scanner and TWAIN Pin
leppie26-Aug-08 2:45
leppie26-Aug-08 2:45 
GeneralRe: Scanner and TWAIN Pin
Stephen Lintott26-Aug-08 3:12
Stephen Lintott26-Aug-08 3:12 
Questionsocket send Pin
kk.tvm26-Aug-08 2:22
kk.tvm26-Aug-08 2:22 
AnswerRe: socket send Pin
#realJSOP26-Aug-08 2:45
professional#realJSOP26-Aug-08 2:45 

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.