nature_net.user_controls.v_keyboard.virtual_numpad.ShowIt C# (CSharp) Method

ShowIt() private method

private ShowIt ( IVirtualKeyboardInjectable targetWindow ) : void
targetWindow IVirtualKeyboardInjectable
return void
        private void ShowIt(IVirtualKeyboardInjectable targetWindow)
        {
            this.target_window = targetWindow;
            if (target_window != null)
                target_window.ControlToInjectInto.Focus();
        }

Usage Example

        public static void ShowKeyboard(IVirtualKeyboardInjectable targetWindow, ref virtual_numpad myPointerToIt)
        {
            if (myPointerToIt != null)
            {

            }
            else
            {
                myPointerToIt = new virtual_numpad();
                myPointerToIt.ShowIt(targetWindow);
            }
        }