KeePass.Util.AutoTypeCtx.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : AutoTypeCtx
return AutoTypeCtx
        public AutoTypeCtx Clone()
        {
            return (AutoTypeCtx)this.MemberwiseClone();
        }

Usage Example

Ejemplo n.º 1
0
        private static bool PerformInternal(AutoTypeCtx ctx, string strWindow)
        {
            if (ctx == null)
            {
                Debug.Assert(false); return(false);
            }

            AutoTypeCtx ctxNew = ctx.Clone();

            if (Program.Config.Integration.AutoTypePrependInitSequenceForIE &&
                WinUtil.IsInternetExplorer7Window(strWindow))
            {
                ctxNew.Sequence = @"{DELAY 50}1{DELAY 50}{BACKSPACE}" +
                                  ctxNew.Sequence;
            }

            return(AutoType.Execute(ctxNew));
        }
All Usage Examples Of KeePass.Util.AutoTypeCtx::Clone