using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace CG_LEARN.working { public partial class applicationofcg : UserControl { private int indice; public applicationofcg() { InitializeComponent(); indice = 0; } private void button2_Click(object sender, EventArgs e) { indice++; if (indice > 7) indice = 0; label9.ImageIndex = indice; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)