public Form1() { InitializeComponent(); blockReceivedHandler = new EventHandler <BlockReceivedEventArgs>(currentSession_BlockReceived); sessionStatusHandler = new EventHandler <SessionStatusChangeEventArgs>(currentSession_SessionStatusChanged); _connectionSettings.ConnectionSettingsUpdated += new EventHandler(_connectionSettings_ConnectionSettingsUpdated); terminalBuffer = new TerminalEmulator(); ShowTerminalBufferDelegate = new VoidDelegate(this.ShowTerminalBuffer); sbOutputBuffer = new StringBuilder(_maxBufferSize); }
public Form1() { InitializeComponent(); blockReceivedHandler = new EventHandler<BlockReceivedEventArgs>(currentSession_BlockReceived); sessionStatusHandler = new EventHandler<SessionStatusChangeEventArgs>(currentSession_SessionStatusChanged); _connectionSettings.ConnectionSettingsUpdated+=new EventHandler(_connectionSettings_ConnectionSettingsUpdated); terminalBuffer = new TerminalEmulator(); ShowTerminalBufferDelegate = new VoidDelegate(this.ShowTerminalBuffer); sbOutputBuffer = new StringBuilder(_maxBufferSize); }