private void getCursorPos_Click(object sender, System.EventArgs e) { int p; EhllapiWrapper.GetCursorPos(out p); this.txtCursorPos.Text = p.ToString(); }
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; }
private void Wait_Click(object sender, System.EventArgs e) { MessageBox.Show(EhllapiWrapper.Wait().ToString()); }
private void SetCursorPos_Click(object sender, System.EventArgs e) { EhllapiWrapper.SetCursorPos(Convert.ToInt32(this.txtCursorPos.Text)); }
private void sendStr_Click(object sender, System.EventArgs e) { EhllapiWrapper.SendStr(this.txtString.Text); }
private void button2_Click(object sender, System.EventArgs e) { MessageBox.Show(EhllapiWrapper.Disconnect(txtSessione.Text).ToString()); }