Hi all,
In VB6 it seemed like it was easy to spew out a bunch of numbers into a text box.
I am *beta* testing my C# TWS API program and I want to spew out the data it's sup'd to be collecting. It's easy if you have a console app but I am not sure how to do it with a GUI???
Is there a text box you can put on the form that will take up a lot of space and automatically <CR> the data to the next line as more comes out??
I have this code that came out of the help section in C#.net and it spews the output of an array into the console:
public static void PrintIndexAndValues( IEnumerable myList )
{
int i = 0;
System.Collections.IEnumerator myEnumerator = myList.GetEnumerator();
while ( myEnumerator.MoveNext() )
Console.WriteLine( "\t[{0}]:\t{1}", i++, myEnumerator.Current );
}
What I am looking for is a box (form control) that I can drag onto the form to just show the output (so I can see that it's workin' before I try to do anything with the data) just like the output of the above method is spat out to the console.
Mucho thx in adv,
-b
In VB6 it seemed like it was easy to spew out a bunch of numbers into a text box.
I am *beta* testing my C# TWS API program and I want to spew out the data it's sup'd to be collecting. It's easy if you have a console app but I am not sure how to do it with a GUI???
Is there a text box you can put on the form that will take up a lot of space and automatically <CR> the data to the next line as more comes out??
I have this code that came out of the help section in C#.net and it spews the output of an array into the console:
public static void PrintIndexAndValues( IEnumerable myList )
{
int i = 0;
System.Collections.IEnumerator myEnumerator = myList.GetEnumerator();
while ( myEnumerator.MoveNext() )
Console.WriteLine( "\t[{0}]:\t{1}", i++, myEnumerator.Current );
}
What I am looking for is a box (form control) that I can drag onto the form to just show the output (so I can see that it's workin' before I try to do anything with the data) just like the output of the above method is spat out to the console.
Mucho thx in adv,
-b