Click here to Skip to main content
15,921,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create 3 forms.
Looks simple, but it is hard for me to crate coding.

I want to use array to handle textbox content
Any help will be apprciated.



1st form
user input to textbox1
textbox2

button -> textbox1 and textbox2 to array

2nd form
User input to textbox3 (multi line)
button -> textbox3 to array

(Can they show real input data total at the bottom of 2nd form ? )


3rd form
Display 6 items
textbox1 (from 1st Form1)
textbox2 (from 1st Form1)
total line (from 2nd Form)
edit 2nd form
save to file
quit
Posted

1 solution

Open Visual Studio. Create a new Windows Forms application. Right click on the project on the right in the solution explorer and create a new Windows Form. Give it some name. When it opens, you'll notice a toolbox to the left. Double click any item (buttons, textboxes, etc.) to make it appear on the form. Right click on an item and select "properties" to see the name of that control. You can access the control by that name from the code-behind. You can also create event handlers for various events on different controls (e.g., button click events). That's basically how you make a new form.

If you have any specific questions after trying some of this out and reading tutorials and maybe a book or two, then post them here in Quick Answers as a new question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900