private void btnAutoMoveToMemoPosition_Click(object sender, EventArgs e) { this.Enabled = false; // let's automatically move to memo-position 2 if (Handset.AutoMoveToMemoryPosition(VirtualHandset.MemoNumber.Memo2) < 0) { MessageBox.Show("Could not automatically move to memo-position!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); } this.Enabled = true; }