From 3c77858a7860924e094c55ce153a921f2eb1687f Mon Sep 17 00:00:00 2001 From: Robin Rodricks Date: Tue, 25 Jun 2019 13:23:35 +0530 Subject: [PATCH] improve sample code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 127d5ae..4251ab4 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ form.Controls.Add(list); // set basic visual properties -list.Size = new System.Drawing.Size(800, 200); +list.Size = new Size(800, 200); list.Theme = OLVTheme.VistaExplorer; -list.ItemFont = new System.Drawing.Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point, 0); +list.ItemFont = new Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point, 0); // display the the file name as the list item label