Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
AnswerRe: Session Class Pin
Ennis Ray Lynch, Jr.9-Feb-09 9:19
Ennis Ray Lynch, Jr.9-Feb-09 9:19 
AnswerRe: Session Class Pin
Christian Graus9-Feb-09 9:37
protectorChristian Graus9-Feb-09 9:37 
GeneralAdvantages of standardizing development tools and environment Pin
Mokai9-Feb-09 8:32
Mokai9-Feb-09 8:32 
GeneralRe: Advantages of standardizing development tools and environment Pin
Pete O'Hanlon9-Feb-09 8:41
mvePete O'Hanlon9-Feb-09 8:41 
GeneralRe: Advantages of standardizing development tools and environment Pin
Ennis Ray Lynch, Jr.9-Feb-09 9:56
Ennis Ray Lynch, Jr.9-Feb-09 9:56 
GeneralRe: Advantages of standardizing development tools and environment Pin
Mokai9-Feb-09 9:59
Mokai9-Feb-09 9:59 
GeneralRe: Advantages of standardizing development tools and environment Pin
Ennis Ray Lynch, Jr.9-Feb-09 10:01
Ennis Ray Lynch, Jr.9-Feb-09 10:01 
QuestionProblem with creating login application Pin
enigma1719849-Feb-09 8:08
enigma1719849-Feb-09 8:08 
Hello,
I am new to this forum and I am a student.My problem is that, I created a MDI Parent application which is suppose to be accessed through login form,I used following code for login to the mdi parent
if (usertxtbox.Text.Equals("admin") && passtxtbox.Text.Equals("admin"))
            {
                MDIForm1 f1 = new MDIForm1();
                f1.Show();
                this.Close();
            }
            else
            {
                MessageBox.Show("Login Failed");
            }

but when I run the application it and insert the correct info the application closes.
After that I thought of hiding the login form instead of closing it by changing
this.Close() to this.Hide() and it worked .
But I had problem when I tried to close the MDI Form using the close button[X] of the form on the top,the form closed but the application was still running in background.
What can I do to solve the problem?
I think I am suppose to implement Threads but how i don't know .
Sorry if I am unable to explain properly,Since its my first time.
Please! Can anyone like to help me.
AnswerRe: Problem with creating login application Pin
Wendelius9-Feb-09 8:14
mentorWendelius9-Feb-09 8:14 
AnswerRe: Problem with creating login application Pin
Pete O'Hanlon9-Feb-09 8:45
mvePete O'Hanlon9-Feb-09 8:45 
QuestionHelp with my project Pin
cdpace9-Feb-09 8:04
cdpace9-Feb-09 8:04 
AnswerRe: Help with my project Pin
akidan9-Feb-09 9:59
akidan9-Feb-09 9:59 
GeneralRe: Help with my project Pin
cdpace10-Feb-09 2:51
cdpace10-Feb-09 2:51 
GeneralRe: Help with my project Pin
akidan10-Feb-09 5:24
akidan10-Feb-09 5:24 
GeneralRe: Help with my project Pin
cdpace11-Feb-09 10:17
cdpace11-Feb-09 10:17 
AnswerRe: Help with my project Pin
Ennis Ray Lynch, Jr.9-Feb-09 9:59
Ennis Ray Lynch, Jr.9-Feb-09 9:59 
QuestionDeploy apllication with password protected database Pin
chatravin9-Feb-09 6:59
chatravin9-Feb-09 6:59 
AnswerRe: Deploy apllication with password protected database Pin
EliottA9-Feb-09 7:28
EliottA9-Feb-09 7:28 
Questionhow to add Radio button list instead of checkboxes in listview Pin
netJP12L9-Feb-09 6:10
netJP12L9-Feb-09 6:10 
AnswerRe: how to add Radio button list instead of checkboxes in listview Pin
musefan9-Feb-09 6:39
musefan9-Feb-09 6:39 
AnswerRe: how to add Radio button list instead of checkboxes in listview Pin
howlettt9-Feb-09 8:31
howlettt9-Feb-09 8:31 
QuestionConnecting to database Pin
kibromg9-Feb-09 5:54
kibromg9-Feb-09 5:54 
AnswerRe: Connecting to database Pin
Rob Philpott9-Feb-09 6:03
Rob Philpott9-Feb-09 6:03 
GeneralRe: Connecting to database [modified] Pin
kibromg9-Feb-09 6:16
kibromg9-Feb-09 6:16 
GeneralRe: Connecting to database Pin
Rob Philpott9-Feb-09 6:27
Rob Philpott9-Feb-09 6:27 

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.