Click here to Skip to main content
15,902,634 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: File I/O Pin
Kuroro Rucilful20-Mar-06 14:48
Kuroro Rucilful20-Mar-06 14:48 
GeneralRe: File I/O Pin
Kuroro Rucilful20-Mar-06 14:50
Kuroro Rucilful20-Mar-06 14:50 
QuestionHelp With Change Pin
klutez12319-Mar-06 11:06
klutez12319-Mar-06 11:06 
AnswerRe: Help With Change Pin
Douglas Dean24-Mar-06 4:27
Douglas Dean24-Mar-06 4:27 
Questionmemcpy() and Structs in MC++ Pin
ScottLeff18-Mar-06 21:42
ScottLeff18-Mar-06 21:42 
AnswerRe: memcpy() and Structs in MC++ Pin
2bee 30-Mar-06 19:56
2bee 30-Mar-06 19:56 
QuestionBest Practice for Unmanaged C++ Callbacks to C# Pin
Halloko17-Mar-06 22:14
Halloko17-Mar-06 22:14 
Questionfor each Pin
John L. DeVito17-Mar-06 11:21
professionalJohn L. DeVito17-Mar-06 11:21 
Heyas all,

So let's say that my windows form has approx 20 different textbox controls on it. I'm wanted to do something like this:

<br />
for each(System::Windows::Forms::Textbox txt in MainForm)<br />
{<br />
if (txt.Text.Length > 0) <br />
DoSomething();<br />
else if (txt.Text.Length == 0)<br />
DoSomethingElse();<br />
}<br />
<br />
Obviously this is semipseudocode and doesn't work, would anyone be willing to show me this code in working order?<br />
<br />
I'd really appreciate it.<br />
 <br />
<br />
Thanks,<br />
John

AnswerRe: for each Pin
George L. Jackson17-Mar-06 11:43
George L. Jackson17-Mar-06 11:43 
GeneralRe: for each Pin
John L. DeVito21-Mar-06 6:39
professionalJohn L. DeVito21-Mar-06 6:39 
GeneralRe: for each Pin
George L. Jackson21-Mar-06 11:49
George L. Jackson21-Mar-06 11:49 
QuestionRetrieving the CheckBox status from another application Pin
Virtek17-Mar-06 7:25
Virtek17-Mar-06 7:25 
AnswerRe: Retrieving the CheckBox status from another application Pin
Karim Mribti17-Mar-06 7:47
Karim Mribti17-Mar-06 7:47 
QuestionDifference Pin
HakunaMatada17-Mar-06 0:34
HakunaMatada17-Mar-06 0:34 
AnswerRe: Difference Pin
2bee 17-Mar-06 1:22
2bee 17-Mar-06 1:22 
QuestionAbstract class Object Creation Pin
Ramu Marriboina16-Mar-06 22:10
Ramu Marriboina16-Mar-06 22:10 
AnswerRe: Abstract class Object Creation Pin
2bee 16-Mar-06 23:07
2bee 16-Mar-06 23:07 
AnswerRe: Abstract class Object Creation Pin
toxcct17-Mar-06 0:30
toxcct17-Mar-06 0:30 
QuestionRetrieve unmanaged pointer from C++/CLI lib Pin
Jared McIntyre16-Mar-06 11:49
Jared McIntyre16-Mar-06 11:49 
AnswerRe: Retrieve unmanaged pointer from C++/CLI lib Pin
George L. Jackson16-Mar-06 14:56
George L. Jackson16-Mar-06 14:56 
AnswerRe: Parallel Port Programming Question Pin
George L. Jackson15-Mar-06 10:50
George L. Jackson15-Mar-06 10:50 
QuestionType check wont work properly Pin
Polity4h15-Mar-06 10:48
Polity4h15-Mar-06 10:48 
QuestionRe: Type check wont work properly Pin
2bee 16-Mar-06 10:28
2bee 16-Mar-06 10:28 
AnswerRe: Type check wont work properly Pin
Polity4h16-Mar-06 12:02
Polity4h16-Mar-06 12:02 
Questionmax characters of the type String Pin
Trankil15-Mar-06 5:51
Trankil15-Mar-06 5:51 

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.