我正在尝试使用ObjectListView,但是在应该非常简单的事情上失败了。这是我的代码:
List<Book> books = new List<Book>();
Book book = new Book();
book.name = "book 1";
book.author = "author 1";
books.Add(book);
book = new Book();
book.name = "book 2";
book.author = "author 2";
books.Add(book);
this.objectListView1.SetObjects(books);
看起来很简单,编译好,但没有显示任何内容!