void StartCastingTimer(int time, object list) { if (Timer.Casting != null) Timer.Casting.Dispose(); Timer.Casting = new Timer(new TimerCallback(Player_Casting_CallBack), list, time, 0); }