Пример #1
0
        private void getCursorPos_Click(object sender, System.EventArgs e)
        {
            int p;

            EhllapiWrapper.GetCursorPos(out p);
            this.txtCursorPos.Text = p.ToString();
        }
Пример #2
0
        private void ReadStr_Click(object sender, System.EventArgs e)
        {
            string s;

            EhllapiWrapper.ReadScreen(Convert.ToInt32(this.txtReadPos.Text), Convert.ToInt32(this.txtReadLen.Text), out s);
            this.lblReadOut.Text = s;
        }
Пример #3
0
 private void Wait_Click(object sender, System.EventArgs e)
 {
     MessageBox.Show(EhllapiWrapper.Wait().ToString());
 }
Пример #4
0
 private void SetCursorPos_Click(object sender, System.EventArgs e)
 {
     EhllapiWrapper.SetCursorPos(Convert.ToInt32(this.txtCursorPos.Text));
 }
Пример #5
0
 private void sendStr_Click(object sender, System.EventArgs e)
 {
     EhllapiWrapper.SendStr(this.txtString.Text);
 }
Пример #6
0
 private void button2_Click(object sender, System.EventArgs e)
 {
     MessageBox.Show(EhllapiWrapper.Disconnect(txtSessione.Text).ToString());
 }