Hi , i want to use the arrow buttons for swaping from top to bottom or bottom to top
just like the one we have in properties of dropdown list items collections when we click on collections it will pop up that swap window i want to develop that same window can any one... ???? help me
Bechir BejaouiPosted Dec 11, 2008, 10:27 AM
open a new windows project
add a label and a button then this code
int x;
int y;
private void Form1_Load(object sender, EventArgs e)
{
x = 10;
y = 10;
label1.Location = new Point(x, y);
}
private void button1_Click(object sender, EventArgs e)
{
x += 10; y += 10;
label1.Location = new Point(x, y);
}
run the project and observe
Is like that? or something else