MetroFramework.Animation.DelayedCall.Create C# (CSharp) Method

Create() public static method

public static Create ( Callback cb, int milliseconds ) : DelayedCall
cb Callback
milliseconds int
return DelayedCall
        public static DelayedCall Create(Callback cb, int milliseconds)
        {
            DelayedCall dc = new DelayedCall();
            PrepareDCObject(dc, milliseconds, false);
            dc.callback = cb;
            return dc;
        }

Usage Example

Example #1
0
        // Token: 0x06000040 RID: 64 RVA: 0x00002F50 File Offset: 0x00001150
        public static DelayedCall <T> Start(DelayedCall <T> .Callback cb, T data, int milliseconds)
        {
            DelayedCall <T> delayedCall = DelayedCall <T> .Create(cb, data, milliseconds);

            delayedCall.Start();
            return(delayedCall);
        }
All Usage Examples Of MetroFramework.Animation.DelayedCall::Create