/// <summary> /// Initialize the graphics buffer (should be called in the forms load event). /// </summary> public void Initialize(IStorageAdapter storage) { this.storage = storage; var info = storage.GetStorageInfo(0); rows = info.RowCount; columns = info.ColumnCount; zoom = new Zoom(); zoom.Initialize(this.ClientRectangle, rows, columns); InitializeBuffer(); this.Invalidate(); }