-
June 12th, 2013, 10:05 PM
#1
c# windows for application-PLEASE HELLLLLPPPP!!!
I need help on making a windows form application with a numericupdown and listbox button on it. when I enter 2 in numericupdown button, it should write
1,2
2,1
in listbox.
or when I enter 3 in numericupdown, it should create
1,2,3
1,3,2
2,1,3
2,3,1
3,1,2
3,2,1
it is like a binary tree, creating all possible options. please help!!!
-
June 13th, 2013, 01:16 PM
#2
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
What help are you looking for? Do you know how to create a new windows forms project in Visual Studio? Do you know how to add listbox and up/down controls to the form? Do you know how to wire up the up/down control change events? Are you having trouble with calculating the display values from the selected value?
-
June 13th, 2013, 01:32 PM
#3
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
Yes, I know how to create a windows form application and add buttons or numericupdown on it. I need help on when I click go button on the windows form it should take the number from numericupdown and calculate the values and add to listbox. for example, if I have 3 in numericupdown and if I click the go button it should create
1
1,2
1,2,3
1,3,2
2
2,1
2,1,3
2,3,1
3
3,1
3,1,2
3,2,1
-
June 14th, 2013, 01:21 PM
#4
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
What specifically do you need help with?
-
June 14th, 2013, 04:18 PM
#5
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
I have a windows form application and a "numericupdown", a "listbox", and a "go" button on it.
When I have any number in numericupdown button and click go button, program should create all possible permutations of the number that I have in numericupdown button and show them in listbox.
For instance, if I have 2 in numericupdown, I should have 1,2 and 2,1 in listbox, or if I have 3 in numericupdown, I should have
1,2,3
1,3,2
2,1,3
2,3,1
3,1,2
3,2,1
in listbox. I need to write this program using RECURSION METHOD.
-
June 14th, 2013, 08:54 PM
#6
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
Yeah, I understand the problem from your first post, but you aren't saying what you need help with. Do you need help with the recursive method?
-
June 15th, 2013, 01:09 PM
#7
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
my issue is how can I write this program using recursive method???
-
June 15th, 2013, 03:11 PM
#8
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
Originally Posted by musademirtas
my issue is how can I write this program using recursive method???
Let's start with... do you understand recursion? Do you know how to write a recursive method?
-
June 15th, 2013, 03:12 PM
#9
Re: c# windows for application-PLEASE HELLLLLPPPP!!!
Post the code you have so far in the recursive method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|