private void CloseBuffer(IBuffer buffer) { bufferManager.CloseBuffer(buffer); var next = bufferManager.EnumerateBuffers().FirstOrDefault(); if (next == null) { next = bufferManager.CreateBuffer(); } OpenBuffer(next); }
private void CloseBuffer(IBuffer buffer) { bufferManager.CloseBuffer(buffer); var next = bufferManager.EnumerateBuffers().FirstOrDefault(); if (next == null) { next = bufferManager.CreateBuffer(); } OpenBuffer(next); }