Click here to Skip to main content
15,897,371 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Implementing a Read-Only 'File Open' or 'File Save' Common Dialog Pin
easy games28-Jul-09 20:57
easy games28-Jul-09 20:57 
GeneralRe: Implementing a Read-Only 'File Open' or 'File Save' Common Dialog Pin
Mike Ellison29-Jul-09 5:42
Mike Ellison29-Jul-09 5:42 
QuestionAttractive programs that use Windows Forms to build their GUI Pin
copec25-Jul-09 18:48
copec25-Jul-09 18:48 
QuestionMake Dialer Pin
Any_India25-Jul-09 2:01
Any_India25-Jul-09 2:01 
Questioncan dragdrop in a listview? Pin
neodeaths24-Jul-09 19:10
neodeaths24-Jul-09 19:10 
AnswerRe: can dragdrop in a listview? Pin
Mike Ellison27-Jul-09 2:28
Mike Ellison27-Jul-09 2:28 
QuestionEvent Driven Form Pin
teknozwizard24-Jul-09 16:43
teknozwizard24-Jul-09 16:43 
AnswerRe: Event Driven Form Pin
Mycroft Holmes24-Jul-09 17:56
professionalMycroft Holmes24-Jul-09 17:56 
So you are trying to build a wizard type application.

Presumably you have the main form appear when you run the program. Some things you will need.

A list of questions
A list of expected responses/validation rules (eg ask name and get back numbers)
Somewhere to store these usually a database or an XML file
Some mechanism that tells you where you are in the list (index will do)
A container for responses, List<string> will do.

Flow
Form opens
Populate the question list
Set the current index to 0
-----------repeat here
display the text in a label for the question in list[0]
when the user clicks NEXT button validate the text in the textbox
store the response in the response List
increment the current index and repeat until all questions are responded to.

deal with the list of responses, store the info in your preferred device.
You then need to address the back operation as well (then the index is decreased clear all responses above the current one)

Never underestimate the power of human stupidity
RAH

AnswerRe: Event Driven Form [modified] Pin
BillWoodruff24-Jul-09 22:13
professionalBillWoodruff24-Jul-09 22:13 
JokeRe: Event Driven Form Pin
Mycroft Holmes24-Jul-09 23:36
professionalMycroft Holmes24-Jul-09 23:36 
GeneralRe: Event Driven Form Pin
BillWoodruff24-Jul-09 23:55
professionalBillWoodruff24-Jul-09 23:55 
GeneralRe: Event Driven Form Pin
Mycroft Holmes25-Jul-09 0:06
professionalMycroft Holmes25-Jul-09 0:06 
GeneralRe: Event Driven Form Pin
BillWoodruff25-Jul-09 0:42
professionalBillWoodruff25-Jul-09 0:42 
QuestionAero glass extened on an mdi parent Pin
see_seA24-Jul-09 1:42
see_seA24-Jul-09 1:42 
AnswerRe: Aero glass extened on an mdi parent Pin
see_seA25-Jul-09 0:55
see_seA25-Jul-09 0:55 
QuestionDatagridview example Pin
mistryshailesh22-Jul-09 16:52
mistryshailesh22-Jul-09 16:52 
AnswerRe: Datagridview example Pin
Eddy Vluggen22-Jul-09 22:04
professionalEddy Vluggen22-Jul-09 22:04 
NewsWindows 7 RTM Dates Announced; Free Resources to Help Get Ready Pin
brucedkyle22-Jul-09 13:09
brucedkyle22-Jul-09 13:09 
Questionchanging the background color of single word in textbox Pin
Member 232448322-Jul-09 11:46
Member 232448322-Jul-09 11:46 
AnswerRe: changing the background color of single word in textbox Pin
Luc Pattyn22-Jul-09 12:04
sitebuilderLuc Pattyn22-Jul-09 12:04 
GeneralRe: changing the background color of single word in textbox [modified] Pin
Member 232448322-Jul-09 12:13
Member 232448322-Jul-09 12:13 
GeneralRe: changing the background color of single word in textbox Pin
Luc Pattyn22-Jul-09 12:25
sitebuilderLuc Pattyn22-Jul-09 12:25 
GeneralRe: changing the background color of single word in textbox Pin
Member 232448322-Jul-09 13:33
Member 232448322-Jul-09 13:33 
GeneralRe: changing the background color of single word in textbox Pin
Luc Pattyn22-Jul-09 13:41
sitebuilderLuc Pattyn22-Jul-09 13:41 
GeneralRe: changing the background color of single word in textbox Pin
Member 232448322-Jul-09 15:22
Member 232448322-Jul-09 15:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.