Click here to Skip to main content
15,789,952 members
Home / Discussions / C#
   

C#

 
GeneralRe: Refreshing data on a parent form at child close Pin
Uranium-23523-Apr-20 0:27
Uranium-23523-Apr-20 0:27 
GeneralRe: Refreshing data on a parent form at child close Pin
OriginalGriff23-Apr-20 1:09
mvaOriginalGriff23-Apr-20 1:09 
GeneralRe: Refreshing data on a parent form at child close Pin
Uranium-23523-Apr-20 11:46
Uranium-23523-Apr-20 11:46 
GeneralRe: Refreshing data on a parent form at child close Pin
OriginalGriff23-Apr-20 12:06
mvaOriginalGriff23-Apr-20 12:06 
GeneralRe: Refreshing data on a parent form at child close Pin
Uranium-23524-Apr-20 18:53
Uranium-23524-Apr-20 18:53 
GeneralRe: Refreshing data on a parent form at child close Pin
OriginalGriff24-Apr-20 21:08
mvaOriginalGriff24-Apr-20 21:08 
GeneralRe: Refreshing data on a parent form at child close Pin
Uranium-23525-Apr-20 20:42
Uranium-23525-Apr-20 20:42 
AnswerRe: Refreshing data on a parent form at child close Pin
#realJSOP22-Apr-20 8:15
mve#realJSOP22-Apr-20 8:15 
The easiest way to do what you want is to create a static Globals class, and create the object in question in that class. At that point, it exists everywhere in the app, and you can read/modify the class' properties from any form.

It may not be "the best way", but it's probably the easiest way.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

QuestionMaintain the Runing balance in Datagridview Pin
Mukhtar Ashiq21-Apr-20 10:04
Mukhtar Ashiq21-Apr-20 10:04 
SuggestionRe: Maintain the Runing balance in Datagridview Pin
Richard MacCutchan21-Apr-20 10:15
mveRichard MacCutchan21-Apr-20 10:15 
AnswerRe: Maintain the Runing balance in Datagridview Pin
ZurdoDev21-Apr-20 10:51
professionalZurdoDev21-Apr-20 10:51 
Questionextending an Enum with a function that returns a generic value ? Pin
BillWoodruff20-Apr-20 9:58
professionalBillWoodruff20-Apr-20 9:58 
AnswerRe: extending an Enum with a function that returns a generic value ? Pin
Richard Deeming20-Apr-20 10:34
mveRichard Deeming20-Apr-20 10:34 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff20-Apr-20 12:56
professionalBillWoodruff20-Apr-20 12:56 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff20-Apr-20 23:10
professionalBillWoodruff20-Apr-20 23:10 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
Richard Deeming21-Apr-20 1:01
mveRichard Deeming21-Apr-20 1:01 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff21-Apr-20 5:30
professionalBillWoodruff21-Apr-20 5:30 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
Richard Deeming21-Apr-20 6:17
mveRichard Deeming21-Apr-20 6:17 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff21-Apr-20 9:29
professionalBillWoodruff21-Apr-20 9:29 
AnswerRe: extending an Enum with a function that returns a generic value ? Pin
Matthew Dennis21-Apr-20 6:36
sysadminMatthew Dennis21-Apr-20 6:36 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff21-Apr-20 9:27
professionalBillWoodruff21-Apr-20 9:27 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
Richard Deeming21-Apr-20 9:37
mveRichard Deeming21-Apr-20 9:37 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff21-Apr-20 9:59
professionalBillWoodruff21-Apr-20 9:59 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
Matthew Dennis21-Apr-20 10:16
sysadminMatthew Dennis21-Apr-20 10:16 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff21-Apr-20 21:57
professionalBillWoodruff21-Apr-20 21:57 

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.