C # Paste command line in locked form

I watched how you can embed a command line window in WinForm.

I have work from many examples that use pinvoke , but I want to be able to lock the command window in a strict position in a form that end_user cannot move.

Is it possible?

The reason for this is that we use remote tools on a large network, and you can immediately open many of these tools in your session. I want to try to bring them all to one place where this is possible.

thanks

+6
source share
1 answer

If all you need is a clean interface, you can use a couple of text fields in the form instead. In one of them, the user enters commands. Then you pass these commands to the shell. The second text box is multi-line, in which you add what the shell echoes in response to the commands given. Thus, you have more control over the graphic layout.

0
source

All Articles