Click here to Skip to main content
15,885,365 members
Home / Discussions / C#
   

C#

 
GeneralRe: help with code for convert from csv to excell Pin
jschell6-Jan-12 8:36
jschell6-Jan-12 8:36 
GeneralRe: help with code for convert from csv to excell Pin
fjdiewornncalwe4-Jan-12 9:19
professionalfjdiewornncalwe4-Jan-12 9:19 
GeneralRe: help with code for convert from csv to excell Pin
jschell6-Jan-12 8:37
jschell6-Jan-12 8:37 
Questioncalling ShowDialog() Pin
MahaKh4-Jan-12 1:10
MahaKh4-Jan-12 1:10 
AnswerRe: calling ShowDialog() Pin
Pete O'Hanlon4-Jan-12 1:32
mvePete O'Hanlon4-Jan-12 1:32 
GeneralRe: calling ShowDialog() Pin
MahaKh4-Jan-12 2:26
MahaKh4-Jan-12 2:26 
GeneralRe: calling ShowDialog() Pin
Pete O'Hanlon4-Jan-12 3:11
mvePete O'Hanlon4-Jan-12 3:11 
AnswerRe: calling ShowDialog() Pin
OriginalGriff4-Jan-12 1:34
mveOriginalGriff4-Jan-12 1:34 
ShowDialog displays the form and waits for the user to close it with OK or Cancel before it returns. When it does, you can get the changed values from the form instance:
C#
MyForm mf = new myForm();
mf.StringValue = "Hello";
if (mf.ShowDialog() == DialogResult.OK)
   {
   Console.WriteLine(mf.StringValue);
   }
mf.StringValue = "Goodbye";
if (mf.ShowDialog() == DialogResult.OK)
   {
   Console.WriteLine(mf.StringValue);
   }
Works fine for me: What are you doing that is different?
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

QuestionHow to drawing text that can rotate in Tao.OpenGL Pin
derek09193-Jan-12 22:24
derek09193-Jan-12 22:24 
AnswerRe: How to drawing text that can rotate in Tao.OpenGL Pin
Luc Pattyn4-Jan-12 2:07
sitebuilderLuc Pattyn4-Jan-12 2:07 
QuestionGet Windows Icons For Devices Pin
Kevin Marois3-Jan-12 13:05
professionalKevin Marois3-Jan-12 13:05 
AnswerRe: Get Windows Icons For Devices Pin
Richard Andrew x643-Jan-12 16:46
professionalRichard Andrew x643-Jan-12 16:46 
QuestionFill datagridview cell with color Pin
perry593-Jan-12 10:04
perry593-Jan-12 10:04 
AnswerRe: Fill datagridview cell with color Pin
Luc Pattyn3-Jan-12 10:37
sitebuilderLuc Pattyn3-Jan-12 10:37 
GeneralRe: Fill datagridview cell with color Pin
MahaKh4-Jan-12 4:01
MahaKh4-Jan-12 4:01 
AnswerRe: Fill datagridview cell with color Pin
Luc Pattyn4-Jan-12 4:03
sitebuilderLuc Pattyn4-Jan-12 4:03 
AnswerRe: Fill datagridview cell with color Pin
perry594-Jan-12 9:00
perry594-Jan-12 9:00 
QuestionAlternative to using a string as a key? Pin
venomation3-Jan-12 9:11
venomation3-Jan-12 9:11 
AnswerRe: Alternative to using a string as a key? Pin
Luc Pattyn3-Jan-12 9:23
sitebuilderLuc Pattyn3-Jan-12 9:23 
GeneralRe: Alternative to using a string as a key? Pin
venomation3-Jan-12 9:25
venomation3-Jan-12 9:25 
GeneralRe: Alternative to using a string as a key? Pin
SledgeHammer013-Jan-12 9:48
SledgeHammer013-Jan-12 9:48 
AnswerRe: Alternative to using a string as a key? Pin
Luc Pattyn3-Jan-12 10:38
sitebuilderLuc Pattyn3-Jan-12 10:38 
GeneralRe: Alternative to using a string as a key? Pin
SledgeHammer013-Jan-12 12:15
SledgeHammer013-Jan-12 12:15 
AnswerRe: Alternative to using a string as a key? Pin
jschell3-Jan-12 10:40
jschell3-Jan-12 10:40 
GeneralRe: Alternative to using a string as a key? Pin
venomation3-Jan-12 11:01
venomation3-Jan-12 11:01 

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.