コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Hover"/> class.
 /// </summary>
 /// <param name="x">The x.</param>
 /// <param name="y">The y.</param>
 /// <param name="movement">The movement.</param>
 /// <param name="instruction">The instruction.</param>
 public Hover(Instruction instruction, DecimalTuple x = null, DecimalTuple y = null, MovementType?movement = null)
     : this(x, y, movement, instruction.Delay(), instruction.Repetitions, instruction.Speed(), instruction.Shift, instruction.Ctrl, instruction.Alt)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Click"/> class.
 /// </summary>
 /// <param name="x">The x.</param>
 /// <param name="y">The y.</param>
 /// <param name="button">The button.</param>
 /// <param name="movement">The movement.</param>
 /// <param name="instruction">The instruction.</param>
 public Click(Instruction instruction, DecimalTuple x = null, DecimalTuple y = null, ButtonType button = ButtonType.LEFT, MovementType?movement = null
              ) : this(x, y, button, movement, instruction.Delay(), instruction.Repetitions, instruction.Speed(), instruction.Shift, instruction.Ctrl, instruction.Alt)
 {
 }
コード例 #3
0
ファイル: Text.cs プロジェクト: Brucknem/AutoClicker
 /// <summary>
 /// Initializes a new instance of the <see cref="Text"/> class.
 /// </summary>
 /// <param name="input">The input.</param>
 /// <param name="instruction">The instruction.</param>
 public Text(string input, AutoClicker.Instructions.Instruction instruction = null
             ) : this(input, instruction.Delay(), instruction.Repetitions, instruction.Speed(), instruction.Ctrl, instruction.Alt)
 {
 }
コード例 #4
0
ファイル: Keystroke.cs プロジェクト: Brucknem/AutoClicker
 /// <summary>
 /// Initializes a new instance of the <see cref="Keystroke"/> class.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="instruction">The instruction.</param>
 public Keystroke(VirtualKeyCode key, Instruction instruction = null
     ) : this(key, instruction.Delay(), instruction.Repetitions, instruction.Speed(), instruction.Shift, instruction.Ctrl, instruction.Alt)
 { }