using System; using System.ComponentModel; using System.Globalization; using System.Runtime; using System.Runtime.InteropServices; using System.Threading; namespace System.Windows.Forms { [DefaultEvent("Tick"), DefaultProperty("Interval&quo…
/** * @param fn: {Function} // function which to execute * @param timer: {number} // gap time between handle * @param count: {number} // count of execute * **/ function Interval(fn, timer, count) { var interval = function() { if (typeof count === 'un…