How to programmatically rotate items in WinForms Carousel?
You can rotate the items programmatically in WinForms carousel control by setting ActiveItem property.
Code snippet [C#]:
private void buttonAdv1_Click(object sender, EventArgs e) { this.carousel1.ActiveItem = this.carousel1.Items[index]; index++; if (index >= this.carousel1.Items.Count) { index = 0; } }
|
