Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: The process cannot access the file because it is being used by another process Pin
Pedram Behroozi3-Oct-08 9:27
Pedram Behroozi3-Oct-08 9:27 
QuestionAdd Project References at runtime Pin
AngusOAP3-Oct-08 5:16
AngusOAP3-Oct-08 5:16 
AnswerRe: Add Project References at runtime Pin
dan!sh 3-Oct-08 5:26
professional dan!sh 3-Oct-08 5:26 
AnswerRe: Add Project References at runtime Pin
led mike3-Oct-08 5:46
led mike3-Oct-08 5:46 
GeneralRe: Add Project References at runtime Pin
AngusOAP4-Oct-08 2:13
AngusOAP4-Oct-08 2:13 
GeneralRe: Add Project References at runtime Pin
led mike6-Oct-08 4:48
led mike6-Oct-08 4:48 
AnswerRe: Add Project References at runtime Pin
Paul Conrad3-Oct-08 6:35
professionalPaul Conrad3-Oct-08 6:35 
QuestionCommunicating with user controls Pin
KabirPatel3-Oct-08 4:38
KabirPatel3-Oct-08 4:38 
Hi,

I have a windows form that contains 2 buttons - a "Next" button and a "Prev" button.

When the form loads, a user control is loaded into the form. After the user presses the "Next" button, the user control is replaced by another user control. If the user presses the "Prev" button they move back to the prevous control. The process continues like this until 5 different user controls are loaded. i.e. I have implemented Wizard like functionaility.

This all works fine.

My problem is that the "Next" and "Prev" buttons are always enabled. I would only like the "Next" button to be enabled if the user has completed working on the User Control that they are currently on.

In other words, once a user has completed the minimum requirements of the control they are in, the "Next" button should become enabled.

An example of this would be a user control with a first name field. When the user fills in this field the "Next" button should be enabled.

Is it possible for the user control to bubble up this information back to its parent form, so that the button is enabled at the proper time?

Thanks,
Kabir
AnswerRe: Communicating with user controls Pin
Pedram Behroozi3-Oct-08 5:00
Pedram Behroozi3-Oct-08 5:00 
QuestionRe: Communicating with user controls Pin
nelsonpaixao3-Oct-08 13:13
nelsonpaixao3-Oct-08 13:13 
Questionexcel cell alignment Pin
michael_jhons3-Oct-08 4:04
michael_jhons3-Oct-08 4:04 
AnswerRe: excel cell alignment Pin
Pedram Behroozi3-Oct-08 4:50
Pedram Behroozi3-Oct-08 4:50 
GeneralRe: excel cell alignment Pin
michael_jhons5-Oct-08 21:31
michael_jhons5-Oct-08 21:31 
AnswerRe: excel cell alignment Pin
minhlao21-Mar-09 17:14
minhlao21-Mar-09 17:14 
Questionref and out [modified] Pin
DaveyM693-Oct-08 1:29
professionalDaveyM693-Oct-08 1:29 
AnswerRe: ref and out Pin
Brij3-Oct-08 1:54
mentorBrij3-Oct-08 1:54 
GeneralRe: ref and out Pin
Guffa3-Oct-08 5:46
Guffa3-Oct-08 5:46 
AnswerRe: ref and out Pin
Ennis Ray Lynch, Jr.3-Oct-08 4:17
Ennis Ray Lynch, Jr.3-Oct-08 4:17 
GeneralRe: ref and out Pin
led mike3-Oct-08 4:32
led mike3-Oct-08 4:32 
GeneralRe: ref and out Pin
Ennis Ray Lynch, Jr.3-Oct-08 4:33
Ennis Ray Lynch, Jr.3-Oct-08 4:33 
GeneralRe: ref and out Pin
DaveyM693-Oct-08 5:14
professionalDaveyM693-Oct-08 5:14 
QuestionRe: ref and out Pin
led mike3-Oct-08 5:39
led mike3-Oct-08 5:39 
AnswerRe: ref and out Pin
DaveyM693-Oct-08 6:50
professionalDaveyM693-Oct-08 6:50 
GeneralRe: ref and out Pin
Mark Salsbery3-Oct-08 5:57
Mark Salsbery3-Oct-08 5:57 
GeneralRe: ref and out Pin
DaveyM693-Oct-08 5:01
professionalDaveyM693-Oct-08 5:01 

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.