private void Redraw() { oglView.Kran1.Draw(); oglView.Refresh(); oglView.Focus(); Update_positions(); }
private void Movement(interfaces.IMovement b) { //while (buttonDown) //{ oglView.Kran1.setMovement(b); oglView.Kran1.move(); oglView.Kran1.Draw(); oglView.Refresh(); oglView.Focus(); Update_positions(); Thread.Sleep(50); Application.DoEvents(); //} }