|
-
December 26th, 2008, 07:15 PM
#11
Re: Splash Form Timer.Tick - not Working
 Originally Posted by funnyusername
. No Errors are showing up for this, so the debugger is not helping. I've walked through the code line by line myself numerous times.. 
Have you set a breakpoint at both of the methods MainForm_Load, timer1_Tick?
Have you stepped into " SplashForm.Opacity = SplashForm.Opacity - .4" when the SplashForm HAS already been closed? [ie anytine after a breakpoint on SplashForm.Close(); is called?
The debugger is NOT about "errors showing up...
Consider the following code:
Code:
decimal price = 1.95M;
decimal quantity = 3M;
decimal total = price*quantity;
Console.WriteLine(total);
In the right context, this will compile and run. NO Errors.
But if the problem statement is: "What is the price of 5 items when each one costs $1.87?", stepping through it with the debugger will immediately revela two bugs.....
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|