ZForge.Controls.TreeViewAdv.Tree.TreeViewAdv.ChangeInput C# (CSharp) Method

ChangeInput() private method

private ChangeInput ( ) : void
return void
        internal void ChangeInput()
        {
            if ((ModifierKeys & Keys.Shift) == Keys.Shift)
            {
                if (!(Input is InputWithShift))
                    Input = new InputWithShift(this);
            }
            else if ((ModifierKeys & Keys.Control) == Keys.Control)
            {
                if (!(Input is InputWithControl))
                    Input = new InputWithControl(this);
            }
            else
            {
                if (!(Input.GetType() == typeof(NormalInputState)))
                    Input = new NormalInputState(this);
            }
        }
TreeViewAdv