Click here to Skip to main content
15,917,862 members
Home / Discussions / C#
   

C#

 
Questiongetting xml data from previous form Pin
laziale8-Jun-08 21:16
laziale8-Jun-08 21:16 
AnswerRe: getting xml data from previous form Pin
Ajay.k_Singh8-Jun-08 23:19
Ajay.k_Singh8-Jun-08 23:19 
You should create a Static class with static variables in it, and then create a method to load data from xml file to variables available in this static class let call it MyLoad() function.

Call this MyLoad function from the first form and load xml file in this static class. Now you may access and share data from both of the forms using this static class.

You may directly access variables of this class without any object such as-

MyStaticClass.Variable1=”Some Value”;

I hope this helps Smile | :) .

-Ajay.

-------------------------
www.componentone.com
-------------------------

Questionbit parameter problem Pin
Mr.Kode8-Jun-08 20:52
Mr.Kode8-Jun-08 20:52 
QuestionRe: bit parameter problem Pin
Vasudevan Deepak Kumar8-Jun-08 21:15
Vasudevan Deepak Kumar8-Jun-08 21:15 
AnswerRe: bit parameter problem Pin
Mr.Kode8-Jun-08 21:19
Mr.Kode8-Jun-08 21:19 
AnswerRe: bit parameter problem Pin
telha9-Jun-08 0:23
telha9-Jun-08 0:23 
AnswerRe: bit parameter problem Pin
Eslam Afifi9-Jun-08 2:07
Eslam Afifi9-Jun-08 2:07 
Questionhyperlink help Pin
csp8-Jun-08 19:52
csp8-Jun-08 19:52 
AnswerRe: hyperlink help Pin
Vasudevan Deepak Kumar8-Jun-08 20:43
Vasudevan Deepak Kumar8-Jun-08 20:43 
GeneralRe: hyperlink help Pin
csp8-Jun-08 21:53
csp8-Jun-08 21:53 
GeneralRe: hyperlink help Pin
csp8-Jun-08 23:53
csp8-Jun-08 23:53 
Questionrenaming .dll file gives error message Pin
pavya_Cool8-Jun-08 19:38
pavya_Cool8-Jun-08 19:38 
AnswerRe: renaming .dll file gives error message Pin
Vasudevan Deepak Kumar8-Jun-08 20:44
Vasudevan Deepak Kumar8-Jun-08 20:44 
GeneralRe: renaming .dll file gives error message Pin
pavya_Cool8-Jun-08 22:12
pavya_Cool8-Jun-08 22:12 
AnswerRe: renaming .dll file gives error message Pin
Vikram A Punathambekar8-Jun-08 22:46
Vikram A Punathambekar8-Jun-08 22:46 
GeneralRe: renaming .dll file gives error message Pin
pavya_Cool8-Jun-08 23:01
pavya_Cool8-Jun-08 23:01 
AnswerRe: renaming .dll file gives error message Pin
0x3c09-Jun-08 0:43
0x3c09-Jun-08 0:43 
GeneralRe: renaming .dll file gives error message Pin
pavya_Cool9-Jun-08 1:11
pavya_Cool9-Jun-08 1:11 
GeneralRe: renaming .dll file gives error message Pin
0x3c09-Jun-08 2:56
0x3c09-Jun-08 2:56 
QuestionUpdating a Progress Form Pin
danielk_8-Jun-08 17:18
danielk_8-Jun-08 17:18 
AnswerRe: Updating a Progress Form Pin
mav.northwind8-Jun-08 19:08
mav.northwind8-Jun-08 19:08 
QuestionWeb cam streaming Pin
SHINOJK8-Jun-08 12:13
SHINOJK8-Jun-08 12:13 
QuestionHow to insert item into ListView control that have 2 column ? Pin
Yanshof8-Jun-08 12:03
Yanshof8-Jun-08 12:03 
AnswerRe: How to insert item into ListView control that have 2 column ? Pin
teejayem8-Jun-08 12:07
teejayem8-Jun-08 12:07 
Questionusing a click event of a picture box Pin
robig28-Jun-08 11:14
robig28-Jun-08 11:14 

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.