Esempio n. 1
0
 public void SetKey(int index, TextBox textBox)
 {
     if (Keys [index] == null)
     {
         Keys [index] = new L2KeyEmulating(window, textBox);
     }
 }
Esempio n. 2
0
        public void ProcessKeys()
        {
            if (KeysQueue.Count == 0)
            {
                return;
            }
            TimeSpan dt = DateTime.Now - lastKeyPressTime;

            if (dt.TotalMilliseconds < 300)
            {
                return;
            }

            L2KeyEmulating key = KeysQueue.Dequeue();

            key.Emulate();
            lastKeyPressTime = DateTime.Now;
        }
Esempio n. 3
0
 public void SetKey(int index, TextBox textBox)
 {
     if (Keys [index] == null)
     {
         Keys [index] = new L2KeyEmulating (window, textBox);
     }
 }
Esempio n. 4
0
        private void button3_Click(object sender, EventArgs e)
        {
            L2KeyEmulating ke = ProgressBindings.Progresses[(int)L2ObjectStateType.TargetHp].Bindings[0].Keys[0];

            ke.Emulate();
        }