I need to do an excercise with windows form but I'm beginner programer on c#, and I want help..
First... I need to list this numbers on a windows Form: -20, 45, -10, 20, 1 but I dont know if I only need to use label of toolbox and change value to do that.
Second... I need to create button, that when I clic, It just disappear negative values (-20,-10)
Three... I need another button that order numbers in LIFO
Can any one help me uploading example or program please? I don't have any idea how to do that
This might be a solution. Please copy the following code to your form :
you should design your form like this :
I used a listbox for showing the numbers and a list in background to keep them all. EDIT : add this button to solve the problem
Design the form and assign the appropriate events. I hope this helps.