示例#1
0
        protected void StartEndGameTimer(TimeSpan delay)
        {
            if (_EndGameTimer != null)
            {
                _EndGameTimer.Stop();

                _EndGameTimer = null;
            }

            _EndGameTimer = new EndGameTimer(this, delay);
            _EndGameTimer.Start();
        }
        protected void StartEndGameTimer(TimeSpan delay)
        {
            //Console.WriteLine( "Starting Endgame timer" );
            if (_EndGameTimer != null)
            {
                _EndGameTimer.Stop();

                _EndGameTimer = null;
            }

            _EndGameTimer = new EndGameTimer(this, delay);
            _EndGameTimer.Start();
        }
		protected void StartEndGameTimer( TimeSpan delay )
		{
			//Console.WriteLine( "Starting Endgame timer" );
			if( _EndGameTimer != null )
			{
				_EndGameTimer.Stop();
				
				_EndGameTimer = null;
			}
			
			_EndGameTimer = new EndGameTimer( this, delay );
			_EndGameTimer.Start();
		}
        protected void StartEndGameTimer( TimeSpan delay )
        {
            if( _EndGameTimer != null )
            {
                _EndGameTimer.Stop();

                _EndGameTimer = null;
            }

            _EndGameTimer = new EndGameTimer( this, delay );
            _EndGameTimer.Start();
        }