S
ScottH
Curious how you could embed a console in a Windows form.. any ideas ?
Curious how you could embed a console in a Windows form.. any ideas ?
ScottH said:Yeah I got the console to show up that way. It comes up as a separate
window from my forms. I wanted to embed it in a form, any idea how to
do that?
I made a tool that could either be pure command line or be windowedScottH said:Curious how you could embed a console in a Windows form.. any ideas ?
ScottH said:Curious how you could embed a console in a Windows form.. any ideas ?
I made a tool that could either be pure command line or be windowed
depending on the arguments. If no arguments was supplied it was a
windowed interface. It also displayed a console. I just made a console
application and added windows to it like following.
[STAThread]
static void Main(string[] args)
{
if (args.Length == 0)
{
interactive = new Form1();
Application.Run(interactive);
}
else
DoCommandLine(args);
}
Hope this helps
Leon Lambert