有没有办法使用速记来做这样的事情?
If Not txtBookTitle.Text = String.Empty Then objBook.DisplayName = txtBookTitle.Text End If
objBook.DisplayName = If(Not (txtBookTitle.Text = String.Empty),txtBookTitle.Text,objBook.DisplayName)