Memory usage always increas,why?

  • Thread starter Thread starter gqg
  • Start date Start date
G

gqg

hi
I write a simple VC# program in Win CE.It only do just one task:


private void timer1_Tick(object sender, System.EventArgs e)
{ f=!f;
if (f)
{
pictureBox1.Image=imageList1.Images[2];
}
else
{
pictureBox1.Image=imageList1.Images[1];
}
}
But the Memory usage always increase,later Win CE Pop up a dialog box
,tell me "OUT Memory".Why?Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top