Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmRemoteShell"/> class using the given client.
        /// </summary>
        /// <param name="client">The client used for the remote shell form.</param>
        public FrmRemoteShell(Client client)
        {
            _connectClient     = client;
            RemoteShellHandler = new RemoteShellHandler(client);

            RegisterMessageHandler();
            InitializeComponent();

            txtConsoleOutput.AppendText(">> Type 'exit' to close this session" + Environment.NewLine);
        }