private void timerGameLoop_Tick(object sender, EventArgs e) { UpdateVar(); this.Refresh(); } private void UpdateVar() { cVarandas.Update( rnd.Next(this.Width - Resources.vhappy.Width, Resources.vhappy.Width ), rnd.Next(this.Height - Resources.vhappy.Height , this.Height) );
this.Width
Resources.vhappy.Width
this.Height
Resources.vhappy.Height
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)