Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to check the valid username and password from database? Pin
Manas Bhardwaj25-Jun-07 19:06
professionalManas Bhardwaj25-Jun-07 19:06 
QuestionRe: how to check the valid username and password from database? Pin
Vikram A Punathambekar25-Jun-07 19:53
Vikram A Punathambekar25-Jun-07 19:53 
AnswerRe: how to check the valid username and password from database? Pin
Manas Bhardwaj25-Jun-07 20:24
professionalManas Bhardwaj25-Jun-07 20:24 
GeneralRe: how to check the valid username and password from database? Pin
Brady Kelly25-Jun-07 21:06
Brady Kelly25-Jun-07 21:06 
GeneralRe: how to check the valid username and password from database? Pin
Vasudevan Deepak Kumar25-Jun-07 21:50
Vasudevan Deepak Kumar25-Jun-07 21:50 
GeneralRe: how to check the valid username and password from database? Pin
help as an alias25-Jun-07 21:00
help as an alias25-Jun-07 21:00 
QuestionUsing Delegates To Communicate Pin
DavidNelson25-Jun-07 17:58
DavidNelson25-Jun-07 17:58 
AnswerRe: Using Delegates To Communicate Pin
Leslie Sanford25-Jun-07 18:47
Leslie Sanford25-Jun-07 18:47 
DavidNelson wrote:
This is great except I have the issue where once another completely seperate form is created, some information is inputted by the user and then it closes. When this window closes I want to alert the first (main form) that this has happened so it can do some of its own calculations.


You can register a delegate with the Form.Closed[^] event. When the second form closes, it will raise this event. Alternatively, you can add an event to the second form. The event can be accompanied by a custom EventArgs derived class you create. This custom event class will carry additional information necessary for the first main form to make its calculations. In the second form, override the OnClosed method. Raise your custom event there. Register a delegate with the event in order to respond to it.

You can skip using events all together if the main form has access to the second form. In the second form, add properties representing the user entered information. The main form can access those properties after the second form is closed.
AnswerRe: Using Delegates To Communicate Pin
mav.northwind25-Jun-07 18:47
mav.northwind25-Jun-07 18:47 
Question.ReadInt32() is different to java's .readInt()? Pin
kripzz25-Jun-07 16:47
kripzz25-Jun-07 16:47 
AnswerRe: .ReadInt32() is different to java's .readInt()? Pin
Paul Conrad25-Jun-07 17:02
professionalPaul Conrad25-Jun-07 17:02 
GeneralRe: .ReadInt32() is different to java's .readInt()? [modified] Pin
kripzz25-Jun-07 18:10
kripzz25-Jun-07 18:10 
AnswerRe: .ReadInt32() is different to java's .readInt()? Pin
Guffa25-Jun-07 18:40
Guffa25-Jun-07 18:40 
GeneralRe: .ReadInt32() is different to java's .readInt()? Pin
Paul Conrad25-Jun-07 18:46
professionalPaul Conrad25-Jun-07 18:46 
GeneralRe: .ReadInt32() is different to java's .readInt()? [modified] Pin
kripzz25-Jun-07 19:23
kripzz25-Jun-07 19:23 
QuestionLate bound (I think?) when using SJPhonoe API Pin
Gene Arnold25-Jun-07 16:43
Gene Arnold25-Jun-07 16:43 
AnswerRe: Late bound (I think?) when using SJPhonoe API Pin
Paul Conrad25-Jun-07 17:25
professionalPaul Conrad25-Jun-07 17:25 
GeneralRe: Late bound (I think?) when using SJPhonoe API Pin
Gene Arnold25-Jun-07 23:34
Gene Arnold25-Jun-07 23:34 
QuestionC# Com Object: exported class doesn't show up Pin
lechium12125-Jun-07 15:09
lechium12125-Jun-07 15:09 
QuestionRemoving a container from project Pin
Mark F.25-Jun-07 14:07
Mark F.25-Jun-07 14:07 
AnswerRe: Removing a container from project Pin
Christian Graus25-Jun-07 14:19
protectorChristian Graus25-Jun-07 14:19 
GeneralRe: Removing a container from project Pin
Mark F.25-Jun-07 14:34
Mark F.25-Jun-07 14:34 
Questioncompression Pin
mkl_0725-Jun-07 11:48
mkl_0725-Jun-07 11:48 
AnswerRe: compression Pin
User 665825-Jun-07 11:51
User 665825-Jun-07 11:51 
AnswerRe: compression Pin
Dave Kreskowiak25-Jun-07 14:07
mveDave Kreskowiak25-Jun-07 14:07 

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.