protected override void OnClosed(EventArgs e) { base.OnClosed(e); output.Dispose(); input.Dispose(); }