回答編集履歴

1

if文の条件が逆でした。

2016/03/06 02:57

投稿

退会済みユーザー
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  {
12
12
 
13
- if (string.IsNullOrEmpty(b.Name)) buttonlist.AppendLine(b.Name);
13
+ if (!string.IsNullOrEmpty(b.Name)) buttonlist.AppendLine(b.Name);
14
14
 
15
15
  }
16
16