Click here to Skip to main content
15,888,330 members
Home / Discussions / C#
   

C#

 
GeneralRe: howto show form1 if form2 closed ? help please... Pin
Stefan Troschuetz18-May-06 0:48
Stefan Troschuetz18-May-06 0:48 
AnswerRe: howto show form1 if form2 closed ? help please... Pin
stancrm18-May-06 3:28
stancrm18-May-06 3:28 
AnswerRe: howto show form1 if form2 closed ? help please... Pin
stancrm18-May-06 20:00
stancrm18-May-06 20:00 
QuestionSoap Exception Class in web service Pin
H he el el oooo17-May-06 21:47
H he el el oooo17-May-06 21:47 
AnswerRe: Soap Exception Class in web service Pin
Guffa17-May-06 22:35
Guffa17-May-06 22:35 
GeneralRe: Soap Exception Class in web service Pin
H he el el oooo17-May-06 23:25
H he el el oooo17-May-06 23:25 
QuestionNeed to use a String as a command. Pin
PyroManiak17-May-06 20:57
PyroManiak17-May-06 20:57 
AnswerRe: Need to use a String as a command. Pin
Stefan Troschuetz17-May-06 22:25
Stefan Troschuetz17-May-06 22:25 
Reflection is your friend:
for (int count = 0;count < thing.Length; count++)
{
FieldInfo info = this.GetType().GetField(thing[count], BindingFlags.NonPublic);
info.SetValue(this, input.readline());
}

Note that with BindingFlags.NonPublic I assume that both variables are declared private. If not, take a look at the help for the GetField method and the BindingFlags enumeration and you should be able to figure out what needs to be changed.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de
QuestionAuto tune channels in DirectX.Capture Pin
ranandbe17-May-06 19:27
ranandbe17-May-06 19:27 
AnswerRe: Auto tune channels in DirectX.Capture Pin
leppie17-May-06 19:33
leppie17-May-06 19:33 
Question Problem in opening model dialog window from worker thread Pin
Krrish17-May-06 19:13
Krrish17-May-06 19:13 
AnswerRe: Problem in opening model dialog window from worker thread Pin
leppie17-May-06 19:31
leppie17-May-06 19:31 
AnswerRe: Problem in opening model dialog window from worker thread Pin
S. Senthil Kumar17-May-06 19:42
S. Senthil Kumar17-May-06 19:42 
AnswerRe: Pin
stancrm18-May-06 3:35
stancrm18-May-06 3:35 
GeneralRe: Pin
Krrish22-May-06 0:24
Krrish22-May-06 0:24 
GeneralRe: Pin
stancrm22-May-06 0:51
stancrm22-May-06 0:51 
Questionform Authenication with users in databse Pin
saud_a_k17-May-06 18:44
saud_a_k17-May-06 18:44 
AnswerRe: form Authenication with users in databse Pin
Kakuji17-May-06 18:52
Kakuji17-May-06 18:52 
GeneralRe: form Authenication with users in databse Pin
saud_a_k17-May-06 19:01
saud_a_k17-May-06 19:01 
GeneralRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:42
Colin Angus Mackay17-May-06 23:42 
GeneralRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:42
Colin Angus Mackay17-May-06 23:42 
AnswerRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:45
Colin Angus Mackay17-May-06 23:45 
GeneralRe: form Authenication with users in databse Pin
saud_a_k18-May-06 0:17
saud_a_k18-May-06 0:17 
QuestionDotNetNuke Skin Pin
Kakuji17-May-06 18:41
Kakuji17-May-06 18:41 
AnswerRe: DotNetNuke Skin Pin
leppie17-May-06 19:10
leppie17-May-06 19:10 

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.