Application.Idle
and me found that, almost all sample are render/update their game
with in the Application.Idle call
Application.Idle += new EventHandler(OnApplicationIdle);
Applicatiob.Run();
private void OnApplicationIdle(object sender, EventArgs e) {
while (AppStillIdle) {
// Render a frame during idle time (no messages are waiting)
}
}
what benefit of this techniq used?
and what difference with
static void Main() {
while(myWin.Created){
// which myWin are Windows.Forms
// Update and Render
}
}

