private void thumbnailBar_ItemClick(object sender, ImageListView.ItemClickEventArgs e) { GlobalSetting.CurrentIndex = e.Item.Index; NextPic(0); }