I am working with C# graphics .I am drawing with elips.
and I have timer that updates the cordinate of scanning line in every 27 milli second.when I start the timer the line starts sweeping the cirlce but at the same time the panal is also vibrating or flickering , which i don't want to do that.
the obove cod is timer func
and I have timer that updates the cordinate of scanning line in every 27 milli second.when I start the timer the line starts sweeping the cirlce but at the same time the panal is also vibrating or flickering , which i don't want to do that.
Code:
void t_Tick(object sender, EventArgs e)
{
if (conobjcets.START == true)
{
label5.Text = conobjcets.elapsedTime;
splitContainer2.Panel2.Invalidate();
}
Comment