G
Guest
I have been designing an application in Visual Studio 2005, and just about
everything is working, except all of my events run twice. They run through
correctly, but then they randomly run through a second time. For example, if
I click cancel on the main form, it properly triggers the event, but it does
so twice. The main program is program.cs, and it calls the others. Here is
the source code, its too long to list here, so here are some links:
http://www.joshkelahan.com/slu/AutoLogout/Program.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_main.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_cncl.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/autologout_about.cs.pdf
And here are the Designer files created by Visual Studio
http://www.joshkelahan.com/slu/AutoLogout/frm_cncl.Designer.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_main.Designer.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/autologout_about.Designer.cs.pdf
Any help you can provide on how I can get these events to trigger only once
would be greatly appreciated.
Thanks!
everything is working, except all of my events run twice. They run through
correctly, but then they randomly run through a second time. For example, if
I click cancel on the main form, it properly triggers the event, but it does
so twice. The main program is program.cs, and it calls the others. Here is
the source code, its too long to list here, so here are some links:
http://www.joshkelahan.com/slu/AutoLogout/Program.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_main.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_cncl.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/autologout_about.cs.pdf
And here are the Designer files created by Visual Studio
http://www.joshkelahan.com/slu/AutoLogout/frm_cncl.Designer.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/frm_main.Designer.cs.pdf
http://www.joshkelahan.com/slu/AutoLogout/autologout_about.Designer.cs.pdf
Any help you can provide on how I can get these events to trigger only once
would be greatly appreciated.
Thanks!