public Client(Listener listener, TcpClient client) { Listener = listener; _client = client; _stream = client.GetStream(); }
public TextEditorClient(Listener listener, TcpClient client) : base(listener, client) { _backend = Backend.Get; _compilerPath = Path.GetDirectoryName(Application.ExecutablePath); _compilerPath += "/IdeBridgeCompiler.exe"; _compilerPath = _compilerPath.Replace("\\", "/"); Logger.Info( "compilerPath: " + _compilerPath); //_backend.MonitorActivation(); }
public MainPanel() { InitializeComponent(); outputBox.Focus(); StartPosition = FormStartPosition.CenterScreen; Logger.Output = outputBox; Get = this; configurationGrid.SelectedObject = _config; _listener = new Listener(); _listener.OnClientListChange += RefreshClients; Start(); outputBox.Focus(); }