Beispiel #1
0
        private void connService_ChannelOpened(object sender, ChannelEventArgs e)
        {
            var terminalChannel = e.Channel as SshWinConsoleChannel;

            terminalChannel.TerminalVisible = showAllTerminalsCheckBox.Checked;
        }
 private void connService_ChannelUpdated(object sender, ChannelEventArgs e)
 {
     // Check if channel is terminal channel.
     if (e.Channel is SshWinConsoleChannel)
     {
         // Raise event.
         if (TerminalChannelListChanged != null) TerminalChannelListChanged(this,
             new ChannelListChangedEventArgs(e.Channel, ChannelListAction.ChannelUpdated));
     }
 }