private async void ListsCheckedListBox_ItemCheck(object sender, ItemCheckEventArgs e)
{
// 他のイベント等で操作中の場合は無視する
if (!this.Enabled)
return;
using (ControlTransaction.Disabled(this))
{
var list = (ListElement)this.ListsCheckedListBox.Items[e.Index];
if (e.CurrentValue == CheckState.Unchecked)
await this.AddToList(list);
else
await this.RemoveFromList(list);
}
}