Hello community, I'm trying to create a form with the sort methods
(Bubblesort and shell). The Sort algorithms work fine but my problem is
that I want to specify the length of the array and add the values. For
this I have 2 textbox and a button (insert), the first one is for the
length and the second textbox is where you type the value. When you
push the insert button the value in textbox2 will be inserted in the
array. I can insert values into an array but where I'm having trouble is
in the button. How can I call the button1_Click function in another
function(void insert) and put in in a for?
Thank you.